What's Changed
- chore: add missing priority test for
BracesPositionFixerandMultilinePromotedPropertiesFixerby @kubawerlos in #8596 - chore: add more assertions in tests by @kubawerlos in #8740
- chore: bump dependencies version to maximum for non-newest MAJOR version by @keradus in #8753
- chore: cast types in tests by @kubawerlos in #8742
- chore: cleanup
AlignMultilineCommentFixerTestby @kubawerlos in #8688 - chore: cleanup
BinaryOperatorSpacesFixerTestby @kubawerlos in #8687 - chore: cleanup
BlankLineBeforeStatementFixerTestby @kubawerlos in #8685 - chore: cleanup
ClassDefinitionFixerby @kubawerlos in #8580 - chore: cleanup
ClassDefinitionFixerTestby @kubawerlos in #8684 - chore: cleanup
ConcatSpaceFixerTestby @kubawerlos in #8683 - chore: cleanup
DoctrineAnnotationArrayAssignmentFixerTestby @kubawerlos in #8621 - chore: cleanup
DoctrineAnnotationBracesFixerTestby @kubawerlos in #8623 - chore: cleanup
DoctrineAnnotationIndentationFixerTestby @kubawerlos in #8620 - chore: cleanup
DoctrineAnnotationSpacesFixerTestby @kubawerlos in #8624 - chore: cleanup
EchoTagSyntaxFixerTestby @kubawerlos in #8681 - chore: cleanup
file_get_contentsreturn types by @kubawerlos in #8735 - chore: cleanup
FunctionDeclarationFixerTestby @kubawerlos in #8680 - chore: cleanup
FunctionToConstantFixerTestby @kubawerlos in #8618 - chore: cleanup
GeneralPhpdocTagRenameFixerTestby @kubawerlos in #8627 - chore: cleanup
GlobalNamespaceImportFixerTestby @kubawerlos in #8679 - chore: cleanup
HeaderCommentFixerTest(restore@requiresfor PHP 8.1) by @kubawerlos in #8678 - chore: cleanup
HeaderCommentFixerTestby @kubawerlos in #8677 - chore: cleanup
IncrementStyleFixerTestby @kubawerlos in #8676 - chore: cleanup
IndentationTypeFixerTestby @kubawerlos in #8675 - chore: cleanup
ListSyntaxFixerTestby @kubawerlos in #8674 - chore: cleanup
MethodArgumentSpaceFixerTestby @kubawerlos in #8673 - chore: cleanup
MultilineWhitespaceBeforeSemicolonsFixerTestby @kubawerlos in #8614 - chore: cleanup
NativeConstantInvocationFixerTestby @kubawerlos in #8672 - chore: cleanup
NewWithParenthesesFixerTestby @kubawerlos in #8592 - chore: cleanup
NoBlankLinesAfterPhpdocFixerTestby @kubawerlos in #8671 - chore: cleanup
NoBreakCommentFixerTestby @kubawerlos in #8670 - chore: cleanup
NoClosingTagFixerTestby @kubawerlos in #8669 - chore: cleanup
NoEmptyStatementFixerTestby @kubawerlos in #8667 - chore: cleanup
NoSpacesAroundOffsetFixerTestby @kubawerlos in #8666 - chore: cleanup
NoUnneededControlParenthesesFixerTestby @kubawerlos in #8665 - chore: cleanup
NoUselessElseFixerTestby @kubawerlos in #8664 - chore: cleanup
PhpdocAddMissingParamAnnotationFixerTestby @kubawerlos in #8663 - chore: cleanup
PhpdocNoEmptyReturnFixerTestby @kubawerlos in #8662 - chore: cleanup
PhpdocNoPackageFixerTestby @kubawerlos in #8626 - chore: cleanup
PhpdocOrderByValueFixerTestby @kubawerlos in #8661 - chore: cleanup
PhpdocOrderFixerTestby @kubawerlos in #8660 - chore: cleanup
PhpdocParamOrderFixerTestby @kubawerlos in #8659 - chore: cleanup
PhpdocReturnSelfReferenceFixerTestby @kubawerlos in #8658 - chore: cleanup
PhpdocSeparationFixerTestby @kubawerlos in #8657 - chore: cleanup
PhpdocSummaryFixerTestby @kubawerlos in #8654 - chore: cleanup
PhpdocTrimFixerTestby @kubawerlos in #8653 - chore: cleanup
PhpdocTypesOrderFixerTestby @kubawerlos in #8652 - chore: cleanup
PhpdocVarWithoutNameFixerTestby @kubawerlos in #8617 - chore: cleanup
PhpUnitConstructFixerTestby @kubawerlos in #8651 - chore: cleanup
PhpUnitDedicateAssertFixerTestby @kubawerlos in #8650 - chore: cleanup
PhpUnitTestCaseStaticMethodCallsFixerTestby @kubawerlos in #8649 - chore: cleanup
Pregissues by @kubawerlos in #8720 - chore: cleanup
ReturnAssignmentFixerTestby @kubawerlos in #8648 - chore: cleanup
ReturnTypeDeclarationFixerTestby @kubawerlos in #8647 - chore: cleanup
SingleImportPerStatementFixerTestby @kubawerlos in #8645 - chore: cleanup
SingleLineCommentStyleFixerTestby @kubawerlos in #8644 - chore: cleanup
SingleSpaceAroundConstructFixerTestby @kubawerlos in #8642 - chore: cleanup
SpaceAfterSemicolonFixerTestby @kubawerlos in #8625 - chore: cleanup
SpacesInsideParenthesesFixerTestby @kubawerlos in #8641 - chore: cleanup
StatementIndentationFixerTestby @kubawerlos in #8640 - chore: cleanup
YodaStyleFixerTestby @kubawerlos in #8638 - chore: cleanup booleans use in tests by @kubawerlos in #8738
- chore: cleanup code in tests by @kubawerlos in #8745
- chore: cleanup PsrAutoloadingFixerTest.php keywords handling, as always defined currently by @keradus in #8730
- chore: do not check if
JSON_INVALID_UTF8_IGNOREis defined because it always is (since PHP 7.2) by @kubawerlos in #8709 - chore: handle saveXML failures explicitly by @keradus in #8755
- chore: ignore remaining PHPStan (false positive) issues by @kubawerlos in #8746
- chore: improve PHPDoc's types in
NoUnsetOnPropertyFixerby @kubawerlos in #8741 - chore: improve PHPDocs in tests by @kubawerlos in #8736
- chore: improve PHPDocs in tests by @kubawerlos in #8744
- chore: improve type of
Token::equalsAnyby @kubawerlos in #8743 - chore: lint yaml files by @gnought in #8622
- chore: MultilinePromotedPropertiesFixer - mark new fixer introduced in #8595 as experimental by @keradus in #8758
- chore: PHPMD - cleanup
UnusedLocalVariableforforeachby @kubawerlos in #8637 - chore: refactor FCT by @keradus in #8714
- chore: remove
definedcalls from tests by @kubawerlos in #8708 - chore: remove unused local variables in src by @kubawerlos in #8600
- chore: remove unused local variables in tests by @kubawerlos in #8599
- chore: remove useless test from
AliasedFixerOptionTestby @kubawerlos in #8739 - chore: restore original type of Token::equalsAny, partially reverts #8743 by @keradus in #8759
- chore: run mutation tests on PHP 8.4 by @kubawerlos in #8594
- chore: solve one of phpstan warnings by @keradus in #8754
- chore: update
checkbashismsto 2.25.12 by @kubawerlos in #8694 - chore: update
checkbashismsto 2.25.14 by @kubawerlos in #8731 - chore: update dev tools by @kubawerlos in #8737
- chore: update PHPUnit config by @kubawerlos in #8721
- chore: use
foreachvalues by @kubawerlos in #8636 - chore: use
Pregclass everywhere by @kubawerlos in #8689 - chore: use PHPStan type in data providers by @kubawerlos in #8605
- chore(release): bump php ci alpine version by @gnought in #8581
- CI: add self-approved label by @keradus in #8757
- CI: run on PHP 8.5 by @kubawerlos in #8713
- deps: bump alpine from 3.21.3 to 3.22.0 by @dependabot in #8724
- deps: bump alpine from 3.21.3 to 3.22.0 by @keradus in #8726
- deps: bump ergebnis/composer-normalize from 2.45.0 to 2.46.0 in /dev-tools by @dependabot in #8578
- deps: bump ergebnis/composer-normalize from 2.46.0 to 2.47.0 in /dev-tools by @dependabot in #8584
- deps: bump phpstan/phpstan from 2.1.11 to 2.1.12 in /dev-tools in the phpstan group by @dependabot in #8583
- deps: bump phpstan/phpstan-symfony from 2.0.3 to 2.0.4 in /dev-tools in the phpstan group by @dependabot in #8557
- deps: bump the phpstan group across 1 directory with 2 updates by @dependabot in #8682
- deps: upgrade docker deps by @keradus in #8566
- docs:
VisibilityRequiredFixer- update docs by @kubawerlos in #8563 - docs: extend and fix links to code by @osavchenko in #8639
- docs: Update SECURITY.md by @keradus in #8716
- docs: VisibilityRequiredFixer - extend docs by @keradus in #8561
- DX: add
symfony/polyfill-php84by @kubawerlos in #8555 - DX: always use the latest stable
checkbashismspackage by @kubawerlos in #8732 - DX: check for
preg_functions in tests by @kubawerlos in #8571 - DX: cleanup
BlankLinesBeforeNamespaceFixerTestby @kubawerlos in #8573 - DX: cleanup
NativeFunctionInvocationFixerTestby @kubawerlos in #8567 - DX: cleanup
NoUselessConcatOperatorFixerTestby @kubawerlos in #8572 - DX: cleanup
SemicolonAfterInstructionFixerTestby @kubawerlos in #8570 - DX: fix data providers by @kubawerlos in #8693
- DX: introduce
FCTclass for tokens not present in the lowest supported PHP version by @kubawerlos in #8706 - DX: move
symfony/polyfill-php84to dev deps by @kubawerlos in #8559 - DX: support PHP 8.4 in local Docker development environment by @keradus in #8564
- DX: trim array/yield keys by @kubawerlos in #8460
- DX: use
WhitespacesAwareFixerInterfaceonly when needed by @kubawerlos in #8541 - feat:
BracesPositionFixer- support property hooks in promoted properties by @kubawerlos in #8613 - feat:
ClassAttributesSeparationFixer- add support for property hooks by @kubawerlos in #8610 - feat:
GlobalNamespaceImportFixer- analyze and fix more annotations with types by @localheinz in #8593 - feat:
LowercaseKeywordsFixer- support asymmetric visibility by @kubawerlos in #8607 - feat:
NoExtraBlankLinesFixer- add comma to supported tokens by @kubawerlos in #8655 - feat:
NoSuperfluousPhpdocTagsFixer- support asymmetric visibility by @kubawerlos in #8700 - feat:
NullableTypeDeclarationFixer- support asymmetric visibility by @kubawerlos in #8697 - feat:
OrderedClassElementsFixer- add support for property hooks for abstract properties by @kubawerlos in #8574 - feat:
OrderedTypesFixer- add support for asymmetric visibility by @kubawerlos in #8552 - feat:
OrderedTypesFixer- support asymmetric visibility in promoted property by @kubawerlos in #8602 - feat:
PhpdocAddMissingParamAnnotationFixer- support asymmetric visibility by @kubawerlos in #8701 - feat:
PhpdocLineSpanFixer- support asymmetric visibility by @kubawerlos in #8702 - feat:
PhpdocVarWithoutNameFixer- support asymmetric visibility by @kubawerlos in #8704 - feat:
ProtectedToPrivateFixer- add support for asymmetric visibility by @kubawerlos in #8569 - feat:
SingleClassElementPerStatementFixer- support asymmetric visibility by @kubawerlos in #8696 - feat:
SingleSpaceAroundConstructFixer- add support for asymmetric visibility by @kubawerlos in #8699 - feat:
StaticLambdaFixer- support functions having classy elements with$thisby @kubawerlos in #8728 - feat:
VisibilityRequiredFixer- support ordering set-visibility modifier by @kubawerlos in #8606 - feat: add
NewExpressionParenthesesFixerby @vudaltsov in #8246 - feat: allowUnsupportedPhpVersion by @dkarlovi in #8733
- feat: introduce
MultilinePromotedPropertiesFixerby @kubawerlos in #8595 - feat: Introduce
StaticPrivateMethodFixerby @Slamdunk in #4557 - fix: "array" type must have no prefix to be fixable to "list" by @mvorisek in #8692
- fix: "min"/"max" in int generics must never be prefixed by backslash by @mvorisek in #8691
- fix:
ConstantCaseFixer- do not touch namespaces starting withNull\by @kubawerlos in #8752 - fix:
LowercaseStaticReferenceFixer- do not change global constants by @kubawerlos in #8727 - fix:
MultilineWhitespaceBeforeSemicolonsFixer- do not touch multiline constants definitions by @kubawerlos in #8615 - fix:
NewWithParenthesesFixer- fix new without parentheses on PHP 8.4 syntax by @julien-boudry in #8588 - fix:
NoMultipleStatementsPerLineFixer- handlesetandgetin different casing in property hooks by @kubawerlos in #8558 - fix:
NoUnusedImportsFixer- handle imported class name with underscore before or after it in PHPDoc by @kubawerlos in #8598 - fix:
PhpUnitDedicateAssertFixer- fix forassertFalsewithinstanceofby @kubawerlos in #8597 - fix:
PhpUnitNamespacedFixermust run beforeNoUnneededImportAliasFixerby @kubawerlos in #8579 - fix:
PhpUnitTestClassRequiresCoversFixer- do not add@coversNothingannotation whenCoversTraitattribute is used by @MoT3rror in #8734 - fix:
VisibilityRequiredFixer- add support for asymmetric visibility by @julien-boudry in #8586 - fix: Allow non-doc comment on opening inline brace line by @mvorisek in #8690
- fix(dependabot): convert time values to string types by @gnought in #8634
- refactor: avoid unused local variables in tests by @kubawerlos in #8609
- test: add more cases to
PhpUnitMethodCasingFixerTestby @kubawerlos in #8551 - test: fix "unused local variables
$token" by @kubawerlos in #8603 - test: More verbose error output for integration test by @keradus in #8565
New Contributors
- @gnought made their first contribution in #8581
- @julien-boudry made their first contribution in #8588
- @osavchenko made their first contribution in #8639
- @MoT3rror made their first contribution in #8734
- @dkarlovi made their first contribution in #8733
Full Changelog: v3.75.0...v3.76.0