Repository navigation
Refactor events controllers - #20533
kamil-tekiela wants to merge 15 commits into
Conversation
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## master #20533 +/- ##
============================================
+ Coverage 64.30% 64.39% +0.08%
+ Complexity 16093 16085 -8
============================================
Files 679 679
Lines 57826 57759 -67
============================================
+ Hits 37184 37192 +8
+ Misses 20642 20567 -75
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Routines, Triggers and Events used to share the same "namespace" (RTE) and were handled by the same script. That's why they look so similar. See: https://github.com/phpmyadmin/phpmyadmin/tree/QA_4_7/libraries/rte |
Yes, I figured it out. There is some code that was very clearly copied from Routines. There is a lot of code debt and your other refactoring was very helpful. |
Fixes some bugs and simplifies the controller. I need to do the same thing in the other two controllers but as they are slightly different, I've decided to handle it separately.
This PR needs to be squashed before commit, but to make it somewhat easier to review, I didn't squash it yet.