Update dependency friendsofphp/php-cs-fixer to v3 #7
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.12->~3.0Release Notes
PHP-CS-Fixer/PHP-CS-Fixer (friendsofphp/php-cs-fixer)
v3.89.1Compare Source
cookbook_fixers.rst(#9162)phpcompatibility/*to alpha of next MAJOR instead of using dev branch, plus other minor upgrades (#9163)v3.89.0Compare Source
NoUnneededBracesFixer- remove unneeded braces from imports (#9118)FullyQualifiedStrictTypesFixer- replacing the real FQCN with a non-existent one (#8962)PhpdocToCommentFixeron property hooks (#9123)PhpUnitMethodCasingFixerto not cause a duplicate method declaration (#9124)StaticLambdaFixer- do not make function static when it contains anonymous class having$thisin the constructor (#9088)UseArrowFunctionsFixer- do not produce two consecutive whitespace tokens (#9151)assertcalls (#9144)shipmonk/composer-dependency-analyserinstead oficanhazstring/composer-unusedandmaglnet/composer-require-checker(#9106)@autoPHPUnitMigration:riskyset (#9147)NoTrailingWhitespace*fixers (#9117)--expandand@(#9119)composer qascript (#9138)--option value=>--option=value(#9131)RunnerTestfor MacOS (#9139)v3.88.2Compare Source
v3.88.1Compare Source
@auto:risky(#9102)yamllintlocally (#9093)v3.88.0Compare Source
@auto,@auto:riskysets (#9090)@autoPHPMigration,@autoPHPMigration:risky,@autoPHPUnitMigration:riskysets (#9068)MAJORMINORandMAJOR.MINORintoMAJORxMINOR(#9005)symfonyruleset: Add@consttophpdoc_no_alias_tag(#9016)BlankLinesBeforeNamespaceFixer- handle namespace without newline before (#9059)array_values()(#9054).php-cs-fixer.well-defined-arrays.php(#8987)argument.typeerrors (#9056)internalusage errors (#9063)class-stringusages (#8968)getcwd()- ignorefalsereturn value (#9057)ReporterFactory- useclass-stringtype (#9055)CHANGELOG.md(#9052)pushevent only for master branch (#9046)pushevent only for master branch (#9050)RuleSetDescriptionInterfaceintoRuleSetDefinitionInterface(#9094)v3.87.2Compare Source
phpdoc_to_param_type,phpdoc_to_return_type,phpdoc_to_property_type- handle type aliasing before handling PHP version (#9031)--sequentialwhen facing fixing error (#9023)DocumentationCommandTest::testGeneratingDocumentation()as large test (#9028)v3.87.1Compare Source
AbstractProxyFixer- require non-empty list of proxy fixers (#9010)v3.87.0Compare Source
PhpdocTagNoNamedArgumentsFixer(#8906)@PHP85Migrationset (#8941)@PhpCsFixerset towards new defaults of selected rules (#8981)PhpdocOrderFixer- do not allow duplicated tags in configuration (#8945)PhpdocOrderFixerwhenphpstan-/psalm-order is specified (#8853)README.mdandCONTRIBUTING.md(#8974)JSON_THROW_ON_ERROR(#8993)multiline_string_to_heredoc(#9002)Annotation::getTagsWithTypesin favor ofTAGS_WITH_TYPESconstant (#8977)token_get_all(#8963)_PhpTokenArrayusages (#8947)ci-integration.sh(#8989).gitignore(#8982)FAST_LINT_TEST_CASESintoPHP_CS_FIXER_FAST_LINT_TEST_CASES(#8992)get_debug_typeand::classin exception messages (#9006)non-empty-listwhere appropriate (#8972)AbstractPhpdocTypesFixer- remove$tagsproperty (#8980)CheckCommand- use regex instead ofexplode&substr(#8936)ClassAttributesSeparationFixer- improve code (#8950)EregToPregFixer- use constant instead of static property (#8978)FullyQualifiedStrictTypesFixer- ensure matching number of opening/closing braces (#9009)OrderedClassElementsFixer- use private method instead of anonymous function (#8931)PhpdocParamOrderFixer- improve/simplify code (#9012)PhpUnitDedicateAssertFixer- improve code for phpstan (#9011)Tokens::offsetSet- explicit validation of input (#9004)Tokens- override nullability ofSplFixedArray(#9001)DocBlockAnnotationtrait (#8953)PhpdocOrderFixer- calculate order only once (#8944)vendor/bin/phpunit --check-php-configuration(#8934)NoUnneededControlParenthesesFixer- add tests for "clone with" (#8937)PhpdocNoAliasTagFixerTest- add test for@constto@var(#8998)php-cs-fixer/accessible-object(#8948)v3.86.0Compare Source
PER-CS3.0rulsets (#8841)@Symfonyand@PhpCsFixersets (#8930)NoSuperfluousPhpdocTagsFixer- support multiline array shapes (#8903)Reflection*::setAccessible()in PHP >= 8.1 (#8907)@todoannotation casing (#8921)@phpstan-ignorefor php version check (#8920)PhpUnitTestAnnotationFixer- useforeachinstead offor(#8911)v3.85.1Compare Source
v3.85.0Compare Source
ArrayIndentationFixer- handle closures inside attributes (#8888)NullableTypeDeclarationFixer- support final promoted properties (#8885)OperatorLinebreakFixer- support pipe operator (#8891)PhpdocTypesFixer- support multiline array shapes (#8893)BracesPositionFixer- handle property hooks correctly (#8886)NullableTypeDeclarationFixer- handle abstract and final properties (#8876)PhpdocLineSpanFixer- handle promoted properties (#8897)PhpUnitDataProviderNameFixer- fix for multiple providers defined by attributes for one test method (#8849)TernaryOperatorSpacesFixer- handleinstanceof static(#8879)TypeDeclarationSpacesFixer- handle asymmetric visibility and final properties (#8900)PhpdocTypesFixerfor multiline array shapes (#8894)PhpCsFixer\DocBlock\Annotation(#8892)booleanNot.exprNotBooleanerrors (#8869)shipmonk/phpstan-baseline-per-identifier(#8844)@varannotations (#8867)ClassDefinitionFixer(#8868)Preg::match(#8872)ErrorsManager(#8863)OrderedInterfacesFixer- make code more PHPStan friendly (#8866)Token- add@phpstan-assert-if-true(#8865)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)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 was generated by Mend Renovate. View the repository job log.