-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
feat: allow friendsofphp/php-cs-fixer >= 3.10 #2626
feat: allow friendsofphp/php-cs-fixer >= 3.10 #2626
Conversation
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.
I'm fine allowing higher versions of friendsofphp/php-cs-fixer
as long the considerations mentioned at #2507 regarding the phpdoc_order
rule are covered.
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #2626 +/- ##
==========================================
+ Coverage 79.36% 79.39% +0.02%
==========================================
Files 162 162
Lines 8457 8454 -3
==========================================
Hits 6712 6712
+ Misses 1745 1742 -3
☔ View full report in Codecov by Sentry. |
Ok i see a lot of default rules changed. I had the same problem at another repo. Can you please decide how you want this configs to be set. I have added I run it locally on php 8.2. Looks like the default is correct followed
|
Now I see this, I think we can use for
About the order, we have now ['param', 'throws', 'return'] which was the default order, I think @phansys meant to keep it |
6ff91f1
to
3a2d911
Compare
Anything todo for me here? |
No @Chris53897, thank you. |
f9f7fb0
to
40bd537
Compare
40bd537
to
84eced7
Compare
Thanks @Chris53897! and @phansys for reviewing! |
* feat: allow friendsofphp/php-cs-fixer >= 3.10, bump "rector/rector" to 0.17 * feat: allow friendsofphp/php-cs-fixer >= 3.10, bump "rector/rector" to 0.17 * Configure "phpdoc_order" and "phpdoc_separation" CS rules * Apply CS * Apply PHP-CS-fixer --------- Co-authored-by: Christopher Georg <christopher.georg@sr-travel.de> Co-authored-by: Fran Moreno <franmomu@gmail.com>
bump "rector/rector" to 0.17
is the upper constraint for friendsofphp/php-cs-fixer still in need?
On local development, this blocks doctrine/annotations v2.
The CI removes it before running the tests.
/~https://github.com/doctrine-extensions/DoctrineExtensions/blob/main/.github/workflows/continuous-integration.yml#L65