Update dependency friendsofphp/php-cs-fixer to v3 #27
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:
^2.4->^3.0Release Notes
PHP-CS-Fixer/PHP-CS-Fixer (friendsofphp/php-cs-fixer)
v3.84.0Compare Source
NoUselessPrintfFixer(#8820)CastSpacesFixer- support(void)cast (#8851)NewExpressionParenthesesFixer- add toPHP84MigrationSet(#8788)VisibilityRequiredFixer- support final promoted properties (#8835)PhpdocToParamTypeFixer- do not convert types fromphpstan-type,phpstan-import-type,psalm-typeandpsalm-import-type(#8842)PhpdocToPropertyTypeFixer- do not convert types fromphpstan-type,phpstan-import-type,psalm-typeandpsalm-import-type(#8847)PhpdocToReturnTypeFixer- do not convert types fromphpstan-type,phpstan-import-type,psalm-typeandpsalm-import-type(#8846)isGivenKind/equals/equalsAllcalls (#8843)v3.83.0Compare Source
NoUnreachableDefaultArgumentValueFixer- do not crash on property hook (#8838)FullyQualifiedStrictTypesFixer- reduce function calls (#8834)v3.82.2Compare Source
ClassAttributesSeparationFixer- handle methodgetaliased in trait import (#8822)LowercaseStaticReferenceFixer- do not touch enum's cases (#8824)StatementIndentationFixer- multi constant statement containing array (#8825)VisibilityRequiredFixer- handle promoted property with visibility and reference, but without type (#8823)v3.82.1Compare Source
OrderedClassElementsFixer- handle property hooks (#8817)SingleClassElementPerStatementFixer- fix for property hooks (#8816)v3.82.0Compare Source
FCTTest(#8808)MagicConstantCasingFixer- support__PROPERTY__(#8809)PhpUnitDataProviderNameFixer- support data providers defined by both annotation and attribute for the same test (#8811)PhpdocToParamTypeFixer- always handle reference in PHPDoc (#8813)v3.81.0Compare Source
VisibilityRequiredFixer- handle more than only the first promoted property (#8801)BracesPositionFixer- do not crash when variable is terminated by PHP close tag (#8804)PhpUnitDataProviderMethodOrderFixer- handle data provider defined by both annotation and attribute (#8805)PhpUnitInternalClassFixer- skip adding@internalon instantiation of anonymous classes (#8807)VisibilityRequiredFixer- handle promoted parameter passed by reference (#8799)testsfailed (#8792)v3.80.0Compare Source
v3.79.0Compare Source
VisibilityRequiredFixerTest- run tests in correct PHP version (#8790)BracesPositionFixer- do not touch one-line properties with hooks (#8785)PhpUnitDataProvider(.+)Fixer- support attributes (#8197)v3.78.1Compare Source
VisibilityRequiredFixer- do not addpublicincorrectly (#8787)v3.78.0Compare Source
VisibilityRequiredFixer- document behaviour for asymmetric visibility with only set-visibility (#8783)BracesPositionFixer- support property hooks (#8782)VisibilityRequiredFixer- support promoted property without visibility (#8773)NativeFunctionInvocationFixer- fix global functionsetcalled in array key (#8568)NoBreakCommentFixer- handle function having return type (#8767)StatementIndentationFixer- handle functionssetandget(like property hooks, but not) (#8576)StaticPrivateMethodFixer- handle nested calls (#8768)v3.77.0Compare Source
TestCasein PHPUnit fixers (#8707)CommentToPhpdocFixerandPhpdocToCommentFixer- support asymmetric visibility (#8774)NoEmptyStatementFixer- support abstract property hooks (#8766)NullableTypeDeclarationForDefaultNullValueFixer- support asymmetric visibility in the constructor (#8604)ProtectedToPrivateFixer- add support for promoted properties (#8608)PhpUnitAttributesFixer- correctly remove annotations when configured['keep_annotations' => false](#8577)ProtectedToPrivateFixer- fix asymmetric visibility with only set visibility (#8763)v3.76.0Compare Source
BracesPositionFixerandMultilinePromotedPropertiesFixer(#8596)AlignMultilineCommentFixerTest(#8688)BinaryOperatorSpacesFixerTest(#8687)BlankLineBeforeStatementFixerTest(#8685)ClassDefinitionFixerTest(#8684)ClassDefinitionFixer(#8580)ConcatSpaceFixerTest(#8683)DoctrineAnnotationArrayAssignmentFixerTest(#8621)DoctrineAnnotationBracesFixerTest(#8623)DoctrineAnnotationIndentationFixerTest(#8620)DoctrineAnnotationSpacesFixerTest(#8624)EchoTagSyntaxFixerTest(#8681)file_get_contentsreturn types (#8735)FunctionDeclarationFixerTest(#8680)FunctionToConstantFixerTest(#8618)GeneralPhpdocTagRenameFixerTest(#8627)GlobalNamespaceImportFixerTest(#8679)HeaderCommentFixerTest(#8677)HeaderCommentFixerTest(restore@requiresfor PHP 8.1) (#8678)IncrementStyleFixerTest(#8676)IndentationTypeFixerTest(#8675)ListSyntaxFixerTest(#8674)MethodArgumentSpaceFixerTest(#8673)MultilineWhitespaceBeforeSemicolonsFixerTest(#8614)NativeConstantInvocationFixerTest(#8672)NewWithParenthesesFixerTest(#8592)NoBlankLinesAfterPhpdocFixerTest(#8671)NoBreakCommentFixerTest(#8670)NoClosingTagFixerTest(#8669)NoEmptyStatementFixerTest(#8667)NoSpacesAroundOffsetFixerTest(#8666)NoUnneededControlParenthesesFixerTest(#8665)NoUselessElseFixerTest(#8664)PhpdocAddMissingParamAnnotationFixerTest(#8663)PhpdocNoEmptyReturnFixerTest(#8662)PhpdocNoPackageFixerTest(#8626)PhpdocOrderByValueFixerTest(#8661)PhpdocOrderFixerTest(#8660)PhpdocParamOrderFixerTest(#8659)PhpdocReturnSelfReferenceFixerTest(#8658)PhpdocSeparationFixerTest(#8657)PhpdocSummaryFixerTest(#8654)PhpdocTrimFixerTest(#8653)PhpdocTypesOrderFixerTest(#8652)PhpdocVarWithoutNameFixerTest(#8617)PhpUnitConstructFixerTest(#8651)PhpUnitDedicateAssertFixerTest(#8650)PhpUnitTestCaseStaticMethodCallsFixerTest(#8649)Pregissues (#8720)ReturnAssignmentFixerTest(#8648)ReturnTypeDeclarationFixerTest(#8647)SingleImportPerStatementFixerTest(#8645)SingleLineCommentStyleFixerTest(#8644)SingleSpaceAroundConstructFixerTest(#8642)SpaceAfterSemicolonFixerTest(#8625)SpacesInsideParenthesesFixerTest(#8641)StatementIndentationFixerTest(#8640)YodaStyleFixerTest(#8638)JSON_INVALID_UTF8_IGNOREis defined because it always is (since PHP 7.2) (#8709)Token::equalsAny(#8743)UnusedLocalVariableforforeach(#8637)AliasedFixerOptionTest(#8739)definedcalls from tests (#8708)checkbashismsto 2.25.12 (#8694)checkbashismsto 2.25.14 (#8731)foreachvalues (#8636)Pregclass everywhere (#8689)VisibilityRequiredFixer- update docs (#8563)symfony/polyfill-php84(#8555)checkbashismspackage (#8732)preg_functions in tests (#8571)BlankLinesBeforeNamespaceFixerTest(#8573)NativeFunctionInvocationFixerTest(#8567)NoUselessConcatOperatorFixerTest(#8572)SemicolonAfterInstructionFixerTest(#8570)FCTclass for tokens not present in the lowest supported PHP version (#8706)symfony/polyfill-php84to dev deps (#8559)WhitespacesAwareFixerInterfaceonly when needed (#8541)NewExpressionParenthesesFixer(#8246)MultilinePromotedPropertiesFixer(#8595)StaticPrivateMethodFixer(#4557)BracesPositionFixer- support property hooks in promoted properties (#8613)ClassAttributesSeparationFixer- add support for property hooks (#8610)GlobalNamespaceImportFixer- analyze and fix more annotations with types (#8593)LowercaseKeywordsFixer- support asymmetric visibility (#8607)NoExtraBlankLinesFixer- add comma to supported tokens (#8655)NoSuperfluousPhpdocTagsFixer- support asymmetric visibility (#8700)NullableTypeDeclarationFixer- support asymmetric visibility (#8697)OrderedClassElementsFixer- add support for property hooks for abstract properties (#8574)OrderedTypesFixer- add support for asymmetric visibility (#8552)OrderedTypesFixer- support asymmetric visibility in promoted property (#8602)PhpdocAddMissingParamAnnotationFixer- support asymmetric visibility (#8701)PhpdocLineSpanFixer- support asymmetric visibility (#8702)PhpdocVarWithoutNameFixer- support asymmetric visibility (#8704)ProtectedToPrivateFixer- add support for asymmetric visibility (#8569)SingleClassElementPerStatementFixer- support asymmetric visibility (#8696)SingleSpaceAroundConstructFixer- add support for asymmetric visibility (#8699)StaticLambdaFixer- support functions having classy elements with$this(#8728)VisibilityRequiredFixer- support ordering set-visibility modifier (#8606)ConstantCaseFixer- do not touch namespaces starting withNull\(#8752)LowercaseStaticReferenceFixer- do not change global constants (#8727)MultilineWhitespaceBeforeSemicolonsFixer- do not touch multiline constants definitions (#8615)NewWithParenthesesFixer- fixnewwithout parentheses on PHP 8.4 syntax (#8588)NoMultipleStatementsPerLineFixer- handlesetandgetin different casing in property hooks (#8558)NoUnusedImportsFixer- handle imported class name with underscore before or after it in PHPDoc (#8598)PhpUnitDedicateAssertFixer- fix forassertFalsewithinstanceof(#8597)PhpUnitNamespacedFixermust rune beforeNoUnneededImportAliasFixer(#8579)PhpUnitTestClassRequiresCoversFixer- do not add@coversNothingannotation whenCoversTraitattribute is used (#8734)VisibilityRequiredFixer- add support for asymmetric visibility (#8586)PhpUnitMethodCasingFixerTest(#8551)$token" (#8603)v3.75.0Compare Source
ClassAttributesSeparationFixer- add support for asymmetric visibility (#8518)NativeFunctionInvocationFixer- fix for property hooks (#8540)intif all the keys are strings (#8550)stringif all the keys are strings (#8545)FunctionsAnalyzerTestcleanup (#8539)v3.74.0Compare Source
--format=@​auto(#8513)BracesPositionFixer- do not create two consecutive whitespace tokens (#8496)MbStrFunctionsFixer- fix imports with leading backslash (#8507)NoUnreachableDefaultArgumentValueFixer- do not crash on property hook (#8512)OrderedImportsFixer- do not take the braces part in grouped imports into account (#8459)OrderedImportsFixer- fix syntax error with grouped use statement and multiple use with comma (#8483)PhpUnitAttributesFixer- handle parentheses after data provider method name (#8510)PhpUnitMethodCasingFixer- do not touch anonymous class (#8463)FixerOptionInterface::getAllowedValues(#8530)Preg- improve types (#8527)PHPStan/*(#8524)v3.73.1Compare Source
OrderedClassElementsFixer- do not crash on property hook (#8517)v3.73.0Compare Source
GeneralPhpdocTagRenameFixer- do not rename keys in array shape definition (#8477)MethodArgumentSpaceFixer- handle when nested in HTML (#8503)checkbashismsto 2.25.5 (#8519)NoExtraBlankLinesFixerTest(#8505)Tokenizerhash metode usingxxHash(#8491)TokensAnalyzerTest- better testisArrayandisArrayMultiLine(#8504)v3.72.0Compare Source
StatementIndentationFixer- handle property hooks (#8492)MbStrFunctionsFixer- fix imports (#8474)TrailingCommaInMultilineFixer- handle empty match body (#8480)VisibilityRequiredFixer- handle property hooks (#8495)v3.71.0Compare Source
BinaryOperatorSpacesFixer- do not break alignment of UTF-8 array keys (#8484)PhpdocAlignFixer- align correctly type with UTF8 characters (#8486)SingleSpaceAroundConstructFixer- handle alternative syntax (#8317)StatementIndentationFixer- return in braceless if (#8479)SingleSpaceAroundConstructFixerTest::provideFixWithElseIfCases(#8481)SingleSpaceAroundConstructFixerTest::provideFixWithIfCases(#8482)PhpdocNoAliasTagFixerTest(#8476)FullyQualifiedNameAnalyzer(#8048)SwitchAnalyzer- improve performance (#8407)v3.70.2Compare Source
MbStrFunctionsFixermust run beforeNativeFunctionInvocationFixer(#8466)MethodArgumentSpaceFixer- fix nested calls forensure_fully_multilineoption (#8469)v3.70.1Compare Source
PhpUnitSizeClassFixermust run beforePhpUnitAttributesFixer(#8457)OrderedImportsFixerTest(#8458)v3.70.0Compare Source
PhpUnitDataProviderMethodOrderFixerfixer (#8225)HeaderCommentFixer- allow validators (#8452)PhpCsFixerruleset: useoperator_linebreakrule for all operators (#8417)PhpUnitMethodCasingFixerto support PHPUnit'sTestattribute (#8451)TypeDeclarationSpacesFixer- Fix whitespace between const type and const name (#8442)CommentsAnalyzer- allow other forms of assignment as valid structural elements for PHPDocs (#8371)PhpUnitTestClassRequiresCoversFixermust run beforePhpUnitAttributesFixer(#8444)CheckCommandTest::testDryRunModeIsUnavailableto correctly check that option--dry-runis unavailable (#8438)v3.69.1Compare Source
PhpUnitAttributesFixer- convert correctly version constraint (#8439)PhpUnitAttributesFixermust run beforeNoEmptyPhpdocFixer(#8443)v3.69.0Compare Source
OrderedClassElementsFixer- sort correctly typed constants (#8408)checkbashismsto 2.25.2 (#8427)v3.68.5Compare Source
NativeTypeDeclarationCasingFixer- do not touch constants named as native types (#8404)v3.68.4Compare Source
v3.68.3Compare Source
NativeTypeDeclarationCasingFixer- fix for enum with "Mixed" case (#8395)v3.68.2Compare Source
NativeTypeDeclarationCasingFixer- fix for promoted properties, enums,falseandmixed(#8386)dev-toolsdependencies are bumped (#8389)Yaml::parseFile()instead of custom method (#8380)v3.68.1Compare Source
AutoReview/CiConfigurationTest- handle failure of reading files (#8375)Docker- check allcomposeservices (#8370)v3.68.0Compare Source
ModernizeStrposFixer- supportstripos(#8019)FullyQualifiedStrictTypesFixer- reduce conditions count (#8368)PhpUnitSetUpTearDownVisibilityFixer- extend test for anonymous classes (#8369)v3.67.1Compare Source
FullyQualifiedStrictTypesFixer- fix return types (#8367)PhpUnitSetUpTearDownVisibilityFixer- do not touch anonymous classes (#8366)PHPStan- upgrade to 2.1 (#8355)v3.67.0Compare Source
end/prevfunctions (#8352)general_attribute_removefixer (#8339)v3.66.2Compare Source
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot. Specmatic specific configuration is managed here.