chore(deps): update dependency friendsofphp/php-cs-fixer to v3.95.1#265
Merged
Conversation
98551a7 to
680f5fc
Compare
680f5fc to
340a04a
Compare
php-cs-fixer 3.95 changed @symfony:risky's declare_strict_types config to strategy=remove. Override to strategy=enforce so the project keeps its strict types declarations, then apply the static_lambda fixes the new ruleset surfaces. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
3.92.5→3.95.1Release Notes
PHP-CS-Fixer/PHP-CS-Fixer (friendsofphp/php-cs-fixer)
v3.95.1Compare Source
FinalInternalClassFixer(#9547)PhpdocToParamTypeFixer(#9550)MethodArgumentSpaceFixer- Do not collapse nested arguments when usingensure_single_line_for_single_argumentoption foron_multiline(#9552)@paraminPhpdocToParamTypeFixerTest(#9549)v3.95.0Compare Source
remove_existing_declarationtodeclare_strict_typesfixer (#9384)excludeoption tophpdoc_typesrule (#9479)NoWhitespaceInEmptyArrayFixer(#8155)jsonformat whenAI_AGENTenvironment variable is set (#9542)@Symfony:risky- addvoid_return(#9546)GlobalNamespaceImportFixer- support first-class callable syntax (#9484)MethodArgumentSpaceFixer- addensure_single_line_for_single_argumentoption foron_multiline(#9504)MultilinePromotedPropertiesFixer- turn multiline promoted properties into singleline when there are fewer thanminimum_number_of_parameters(#9501)PhpdocLineSpanFixer- addfunctionoption (#9439)ReturnAssignmentFixer- skip variables with the named@vartags with new optionskip_named_var_tags(#9464)ArrayPushFixer- do not stop fixing whenarray_pushwith 1 argument found (#9508)BinaryOperatorSpacesFixer- make it works correctly with multiple match cases (#9470)EchoTagSyntaxFixer- do not break syntax for single line comments (#9506)PhpUnitTestClassRequiresCoversFixer- do not add@coversNothingto anonymous classes (#9481)SimplifiedNullReturnFixer- do not removenullfrom property hook (#9471)SetTypeToCastFixer(#9518)BracesPositionFixer(#9522)PsrAutoloadingFixer(#9541)ClassAttributesSeparationFixer(#9545)GeneralAttributeRemoveFixer(#9520)GlobalNamespaceImportFixerTest(#9482)NoTrailingCommaInSinglelineFixer(#9537)OrderedAttributesFixer(#9521)PhpUnitExpectationFixer(#9505)TypeExpression::REGEX_TYPESdoes not have unnamed capturing group (#9514)AbstractPhpUnitFixer(#9519)ArrayPushFixer(#9515)FunctionsAnalyzer(#9483)MbStrFunctionsFixer- remove the nevertruecondition (#9509)ModernizeStrposFixer- remove the nevertrueconditions (#9510)NoAliasFunctionsFixer- cleanup invalid set handling (#9511)failOnDeprecation="true"to PHPUnit config (#8935)issue_8828_c.teston macOS for now (#9528)PhpdocTypesNoDuplicatesFixertoPhpdocNoDuplicateTypesFixer(#9381)MethodArgumentSpaceFixermust run beforeNoTrailingCommaInSinglelineFixer(#9507)PhpUnitTestCaseStaticMethodCallsFixerTest::testInvalidConfiguration(#9460)v3.94.2Compare Source
AttributeBlockNoSpacesFixer- skipping some attributes when multiple present (#9445)NoUnusedImportsFixer- do not remove constant types (#9442)PhpdocLineSpanFixer- handle unions and intersections in properties (#9438)v3.94.1Compare Source
ArgumentsAnalyzer(#9422)v3.94.0Compare Source
casetophpdoc_line_spanfixer (#9391)VoidReturnFixer- allow to skip lambdas (#9417)VoidReturnFixer- better describe exceptions (#9418)--stop-on-violation(#9393)NoUnreachableDefaultArgumentValueFixer- fix for closures (#9409)UseArrowFunctionsFixer- do not convert closure in attribute (#9416)v3.93.1Compare Source
ErrorOutput- do not show "begin diff"/"end diff" when there is no diff (#9361)UseArrowFunctionsFixer- don't convert lambda withuse($var)clause if it includes another file (#9389)v3.93.0Compare Source
ModernSerializationMethodsFixer(#9108)NoRedundantReadonlyPropertyFixer(#9339)PhpdocTypesNoDuplicatesFixer(#9312)--config=-(#9379)@seetags inFullyQualifiedStrictTypesFixer(#9350)@Symfonyset (#9303)braces_positionrule (#9329)php_unit_test_case_static_method_callsfrom PHPUnit sets (#9341)@PHP7x0MigrationRisky- update configuration ofRandomApiMigrationFixerto match it's newly updated v4 defaults (#9368)@Symfony:risky- extend set withmodern_serialization_methods(#9366)@Symfony:risky- extend set withstatic_lambda(#9365)@Symfony- enableno_unneeded_control_parentheses.statements.negative_instanceof(#9336)@Symfony- extend set withno_useless_else(#9363)@Symfony- extend set withno_useless_return(#9364)RandomApiMigrationFixer- allow to convertmt_getrandmaxandmt_srand(#9367)ModifierKeywordsFixer- closure in attribute (#9358)NoUselessElseFixer- handle conditional symbol declarations (#9347)OrderedClassElementsFixer- closure in attribute (#9357)PhpUnitAttributesFixer- do not add for annotation@testWithwhen attributeTestWithalready present (#9354)@returnannotations toConfig(#9337)assign.propertyTypeerror from PHPStan (#9332)phpstan:baselinecommand (#9346)Configuration
📅 Schedule: (UTC)
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.