-
-
Notifications
You must be signed in to change notification settings - Fork 24
New syntax #225
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
New syntax #225
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #225 +/- ##
============================================
+ Coverage 95.54% 96.35% +0.80%
- Complexity 174 234 +60
============================================
Files 14 16 +2
Lines 561 685 +124
============================================
+ Hits 536 660 +124
Misses 25 25
☔ View full report in Codecov by Sentry. |
PR SummaryThis pull request introduces numerous updates aimed at better organizing and streamlining how routes are handled in the system:
These changes all contribute to a more robust and efficient route handling system within the software, aligning the codebase with modern best practices in PHP coding. |
vjik
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can mention it in docs or drop the current syntax.
Yes, doesn't fix directly. Since there is no exception, there is no need for it. |
But what goal of syntax change? |
vjik
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we make Route and Group constructors public and keep BC?
I think, GroupBuilder and RouteBuilder are not needed.
Did you mean builders? Route and Group constructors are public in this PR.
Will we abandon the current syntax? |
No, I mean
Mark as deprecated, then remove in major version. |
Let's abandon right away since the PR has major changes. |
…ray_is_list, and apply readonly properties
What major changes are needed? |
Current syntax