A PHP tool built to generate a changelog from a project's commit messages and metadata following the conventionalcommits.org and automate versioning with semver.org.
GNU General Public License v3.0
230
stars
32
forks
source link
chore(deps): update dependency friendsofphp/php-cs-fixer to v3.18.0 #66
PHP-CS-Fixer/PHP-CS-Fixer
### [`v3.18.0`](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/HEAD/CHANGELOG.md#Changelog-for-v3180)
[Compare Source](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/compare/v3.17.0...v3.18.0)
- bug: Fix tokenizing of type hints ([#7054](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7054))
- bug: CompactNullableTypehintFixer - fix for whitespace between `?` and `static` ([#6993](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6993))
- bug: consider function modifiers for `statement_indentation` ([#6978](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6978))
- bug: Exclude `$this` from `TernaryToNullCoalescingFixer` ([#7052](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7052))
- bug: False positive on used imports when docblock includes it with mismatching case ([#6909](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6909))
- bug: Fix chained calls semicolon indent in switch case ([#7045](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7045))
- bug: Fix multiline_whitespace_before_semicolons for echo tags ([#7019](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7019))
- bug: Fix phpDoc align when there is inconsistent spacing after comment star ([#7012](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7012))
- bug: Fix phpDoc parsing without PCRE JIT ([#7031](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7031))
- bug: Fix PhpdocVarWithoutNameFixer with Closure with $this ([#6979](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6979))
- bug: Fix `return_assignment` not formatting when variables are used in `catch` and `finally` ([#6960](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6960))
- bug: Fix `TypeExpression::allowsNull()` with nullable ([#7000](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7000))
- bug: Improve definition of conflicting fixers ([#7066](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7066))
- bug: LambdaNotUsedImportFixer - fix for anonymous class with a string argument ([#6972](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6972))
- bug: ListFilesCommand - fix computing of relative path ([#7028](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7028))
- bug: make `php_unit_namespaced` less greedy ([#6952](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6952))
- bug: PhpdocToCommentFixer - fix for PHPDoc before fn ([#6973](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6973))
- bug: Restructure PER-CS rule sets ([#6707](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6707))
- bug: SelfStaticAccessor - fix static access inside enums ([#7024](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7024))
- bug: SingleSpaceAroundConstructFixer - fix more cases involving `static` ([#6995](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6995))
- bug: `FullyQualifiedStrictTypesFixer` - fix shortening when namespace is not empty and import exists ([#7027](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7027))
- bug: `NoUnneededControlParenthesesFixer` PHP8.0 null-safe operator ([#7056](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7056))
- bug: `PhpdocToCommentFixer` support for enum cases ([#7040](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7040))
- DX: add more tests to CommentsAnalyzer ([#7041](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7041))
- DX: Cleanup duplicate files in finder ([#7042](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7042))
- DX: ControlCaseStructuresAnalyzerTest - cleanup ([#6874](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6874))
- DX: Fix warning when running test on PHP<8 ([#7008](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7008))
- DX: handle `@` in PR title ([#6982](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6982))
- DX: officially deprecate internal Utils anti-pattern class ([#7039](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7039))
- DX: Remove Fabbot.io conditional configuration ([#7038](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7038))
- DX: rename data providers ([#7058](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7058))
- DX: Use `actions/stale` to handle stale issues and pull requests ([#5085](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/5085))
- DX: Use `Utils::naturalLanguageJoin()` in implode calls ([#7032](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7032))
- feature: Add support for custom method placement in `ordered_class_elements` ([#6360](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6360))
- feature: Allow case sensitive order for OrderedClassElementsFixer ([#7020](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7020))
- feature: PHP8.3 - Add CT and block type for `Dynamic class constant fetch` ([#7004](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7004))
- feature: Support attributes in `FinalClassFixer` ([#6893](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6893))
- minor: "Callback" must not be fixed to "callback" by default ([#7011](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7011))
- minor: Add `Util::naturalLanguageJoin()` ([#7022](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7022))
- minor: ClassDefinitionFixer - handle attributes and `readonly` in anonymous class definitions ([#7014](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7014))
- minor: FixerFactory::getFixersConflicts - better type hinting ([#7044](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7044))
- minor: PHP8.3 - Fix TokensAnalyzer::isAnonymousClass support for `readonly` ([#7013](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7013))
- minor: PHP8.3 - Typed class constants - handle nullable by transformer ([#7009](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7009))
- minor: Reduce phpDoc type parser complexity from O(n^2) to O(nlog(n)) ([#6988](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6988))
- minor: ReturnAssignmentFixer - Better handling of anonymous classes ([#7015](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7015))
- minor: Transfer `HelpCommand::toString()` to `Utils` ([#7034](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7034))
- minor: Unify "blank lines before namespace" fixers ([#7053](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7053))
- minor: `SelfStaticAccessorFixer` improvements for enums ([#7026](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7026))
- minor: `SingleSpaceAroundConstructFixer` - support space before `as` ([#7029](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7029))
- minor: `UseArrowFunctionsFixer` - run before `FunctionDeclarationFixer` ([#7065](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7065))
### [`v3.17.0`](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/HEAD/CHANGELOG.md#Changelog-for-v3170)
[Compare Source](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/compare/v3.16.0...v3.17.0)
- bug: Allow string quote to be escaped within phpdoc constant ([#6798](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6798))
- bug: ConfigurationResolver - fix running without cache ([#6915](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6915))
- bug: Fix array/object shape phpdoc type parse ([#6962](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6962))
- bug: Fix FullyQualifiedStrictTypesFixer common prefix bug ([#6898](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6898))
- bug: Fix non-parenthesized callable return type parse ([#6961](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6961))
- bug: Fix parsing of edge cases phpdoc types ([#6977](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6977))
- bug: FullyQualifiedStrictTypesFixer - fix for FQCN type with class with the same name being imported ([#6923](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6923))
- bug: GroupImportFixer - support for aliased imports ([#6951](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6951))
- bug: MultilineWhitespaceBeforeSemicolonsFixer - fix chained calls ([#6926](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6926))
- bug: MultilineWhitespaceBeforeSemicolonsFixer - fix for discovering multi line calls ([#6938](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6938))
- bug: NoBreakCommentFixer - fix for nested match ([#6899](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6899))
- bug: NoExtraBlankLinesFixer - fix for attribute in abstract function ([#6920](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6920))
- bug: PhpdocTypesFixer - handle types with no space between type and variable ([#6922](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6922))
- bug: PhpUnitMockShortWillReturnFixer - fix for trailing commas ([#6900](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6900))
- bug: StatementIndentationFixer - fix comments at the end of if/elseif/else blocks ([#6918](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6918))
- bug: StatementIndentationFixer - fix for multiline arguments starting with "new" keyword ([#6913](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6913))
- bug: StatementIndentationFixer - fix for multiline arguments starting with "new" keyword preceded by class instantiation ([#6914](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6914))
- bug: VoidReturnFixer - fix for intervening attributes ([#6863](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6863))
- docs: improve code samples for MultilineWhitespaceBeforeSemicolonsFixer ([#6919](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6919))
- docs: improve cookbook ([#6880](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6880))
- DX: add cache related tests ([#6916](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6916))
- DX: Apply `self_static_accessor` fixer to the project (again) ([#6927](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6927))
- DX: cancel running builds on subsequent pushes in CI ([#6940](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6940))
- DX: convert more `static` to `self` assert calls ([#6931](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6931))
- DX: fix GitHub Actions errors and warnings ([#6917](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6917))
- DX: fix Unsafe call to private method errors reported by PHPStan ([#6879](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6879))
- DX: Improve performance of FunctionsAnalyzer ([#6939](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6939))
- DX: improve test method names to avoid confusion ([#6974](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6974))
- DX: Include self_static_accessor fixer in PhpCsFixer set ([#6882](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6882))
- DX: make data providers static with straight-forward changes ([#6907](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6907))
- DX: Mark Tokens::getNamespaceDeclarations as [@internal](https://togithub.com/internal) ([#6949](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6949))
- DX: PHPStan improvements ([#6868](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6868))
- DX: refactor PhpdocAlignFixerTest ([#6925](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6925))
- DX: Remove [@inheritdoc](https://togithub.com/inheritdoc) PHPDoc ([#6955](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6955))
- DX: Run AutoReview tests only once ([#6889](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6889))
- DX: simplify EncodingFixer ([#6956](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6956))
- DX: update Symfony rule set ([#6958](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6958))
- DX: Use $tokens->getNamespaceDeclarations() to improve performance ([#6942](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6942))
- DX: use force option for php_unit_data_provider_static in PHPUnit 10.0 migration set ([#6908](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6908))
- DX: use only PHP modules that are required ([#6954](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6954))
- DX: use PHPUnit's "requires" instead of "if" condition ([#6975](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6975))
- feature: Add align_multiline_comment rule to [@Symfony](https://togithub.com/Symfony) ([#6875](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6875))
- feature: Add no_null_property_initialization rule to [@Symfony](https://togithub.com/Symfony) ([#6876](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6876))
- feature: Add operator_linebreak rule to [@Symfony](https://togithub.com/Symfony) ([#6877](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6877))
- feature: add SingleLineEmptyBodyFixer ([#6933](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6933))
- feature: DescribeCommand - allow describing custom fixers ([#6957](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6957))
- feature: Introduce `OrderedTypesFixer` ([#6571](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6571))
- feature: Order of PHPDoc [@param](https://togithub.com/param) annotations ([#3909](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/3909))
- feature: Parse parenthesized & conditional phpdoc type ([#6796](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6796))
- feature: PhpUnitInternalClassFixer - add empty line before PHPDoc ([#6924](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6924))
- feature: \[PhpdocAlignFixer] Add support for every tag ([#6564](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6564))
- minor: align NoSuperfluousPhpdocTagsFixer with actual Symfony configuration ([#6953](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6953))
- minor: do not add empty line in PHPDoc when adding annotation in PHPUnit class ([#6928](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6928))
- minor: PhpdocAlignFixer - support cases with type and variable separated with no space ([#6921](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6921))
- minor: PhpdocSeparationFixer - add integration tests ([#6929](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6929))
- minor: update PHPStan (to fix CI on master branch) ([#6901](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6901))
- minor: Use single Dockerfile with multiple build targets ([#6840](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6840))
### [`v3.16.0`](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/HEAD/CHANGELOG.md#Changelog-for-v3160)
[Compare Source](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/compare/v3.15.1...v3.16.0)
- bug: ControlStructureBracesFixer - handle closing tag ([#6873](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6873))
- bug: CurlyBracesPositionFixer - fix for callable return type ([#6855](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6855))
- bug: CurlyBracesPositionFixer - fix for DNF types ([#6859](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6859))
- bug: Fix MultilineWhitespaceBeforeSemicolonsFixer ([#5126](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/5126))
- docs: Fix rule description ([#6844](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6844))
- DX: fix checkbashisms installation ([#6843](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6843))
- DX: make data providers static for fixer's tests ([#6860](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6860))
- DX: refactor PHPUnit fixers adding class-level annotation to use shared code ([#6756](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6756))
- DX: unify option's descriptions ([#6856](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6856))
- feature: AbstractPhpUnitFixer - support attribute detection in docblock insertion ([#6858](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6858))
- feature: add "force" option to PhpUnitDataProviderStaticFixer ([#6757](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6757))
- feature: introduce single_space_around_construct, deprecate single_space_after_construct ([#6857](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6857))
- feature: PhpUnitTestClassRequiresCoversFixer - support single-line PHPDocs ([#6847](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6847))
- minor: Deprecate BracesFixer ([#4885](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/4885))
- minor: Fix autocompletion for `Tokens::offsetGet()` ([#6838](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6838))
- minor: PHP8.2 Docker runtime ([#6833](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6833))
- minor: Use Composer binary-only images instead of installer script ([#6834](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6834))
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.
[ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
3.15.1
->3.18.0
Release Notes
PHP-CS-Fixer/PHP-CS-Fixer
### [`v3.18.0`](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/HEAD/CHANGELOG.md#Changelog-for-v3180) [Compare Source](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/compare/v3.17.0...v3.18.0) - bug: Fix tokenizing of type hints ([#7054](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7054)) - bug: CompactNullableTypehintFixer - fix for whitespace between `?` and `static` ([#6993](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6993)) - bug: consider function modifiers for `statement_indentation` ([#6978](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6978)) - bug: Exclude `$this` from `TernaryToNullCoalescingFixer` ([#7052](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7052)) - bug: False positive on used imports when docblock includes it with mismatching case ([#6909](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6909)) - bug: Fix chained calls semicolon indent in switch case ([#7045](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7045)) - bug: Fix multiline_whitespace_before_semicolons for echo tags ([#7019](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7019)) - bug: Fix phpDoc align when there is inconsistent spacing after comment star ([#7012](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7012)) - bug: Fix phpDoc parsing without PCRE JIT ([#7031](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7031)) - bug: Fix PhpdocVarWithoutNameFixer with Closure with $this ([#6979](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6979)) - bug: Fix `return_assignment` not formatting when variables are used in `catch` and `finally` ([#6960](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6960)) - bug: Fix `TypeExpression::allowsNull()` with nullable ([#7000](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7000)) - bug: Improve definition of conflicting fixers ([#7066](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7066)) - bug: LambdaNotUsedImportFixer - fix for anonymous class with a string argument ([#6972](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6972)) - bug: ListFilesCommand - fix computing of relative path ([#7028](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7028)) - bug: make `php_unit_namespaced` less greedy ([#6952](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6952)) - bug: PhpdocToCommentFixer - fix for PHPDoc before fn ([#6973](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6973)) - bug: Restructure PER-CS rule sets ([#6707](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6707)) - bug: SelfStaticAccessor - fix static access inside enums ([#7024](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7024)) - bug: SingleSpaceAroundConstructFixer - fix more cases involving `static` ([#6995](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6995)) - bug: `FullyQualifiedStrictTypesFixer` - fix shortening when namespace is not empty and import exists ([#7027](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7027)) - bug: `NoUnneededControlParenthesesFixer` PHP8.0 null-safe operator ([#7056](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7056)) - bug: `PhpdocToCommentFixer` support for enum cases ([#7040](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7040)) - DX: add more tests to CommentsAnalyzer ([#7041](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7041)) - DX: Cleanup duplicate files in finder ([#7042](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7042)) - DX: ControlCaseStructuresAnalyzerTest - cleanup ([#6874](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6874)) - DX: Fix warning when running test on PHP<8 ([#7008](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7008)) - DX: handle `@` in PR title ([#6982](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6982)) - DX: officially deprecate internal Utils anti-pattern class ([#7039](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7039)) - DX: Remove Fabbot.io conditional configuration ([#7038](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7038)) - DX: rename data providers ([#7058](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7058)) - DX: Use `actions/stale` to handle stale issues and pull requests ([#5085](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/5085)) - DX: Use `Utils::naturalLanguageJoin()` in implode calls ([#7032](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7032)) - feature: Add support for custom method placement in `ordered_class_elements` ([#6360](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6360)) - feature: Allow case sensitive order for OrderedClassElementsFixer ([#7020](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7020)) - feature: PHP8.3 - Add CT and block type for `Dynamic class constant fetch` ([#7004](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7004)) - feature: Support attributes in `FinalClassFixer` ([#6893](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6893)) - minor: "Callback" must not be fixed to "callback" by default ([#7011](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7011)) - minor: Add `Util::naturalLanguageJoin()` ([#7022](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7022)) - minor: ClassDefinitionFixer - handle attributes and `readonly` in anonymous class definitions ([#7014](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7014)) - minor: FixerFactory::getFixersConflicts - better type hinting ([#7044](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7044)) - minor: PHP8.3 - Fix TokensAnalyzer::isAnonymousClass support for `readonly` ([#7013](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7013)) - minor: PHP8.3 - Typed class constants - handle nullable by transformer ([#7009](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7009)) - minor: Reduce phpDoc type parser complexity from O(n^2) to O(nlog(n)) ([#6988](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6988)) - minor: ReturnAssignmentFixer - Better handling of anonymous classes ([#7015](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7015)) - minor: Transfer `HelpCommand::toString()` to `Utils` ([#7034](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7034)) - minor: Unify "blank lines before namespace" fixers ([#7053](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7053)) - minor: `SelfStaticAccessorFixer` improvements for enums ([#7026](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7026)) - minor: `SingleSpaceAroundConstructFixer` - support space before `as` ([#7029](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7029)) - minor: `UseArrowFunctionsFixer` - run before `FunctionDeclarationFixer` ([#7065](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7065)) ### [`v3.17.0`](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/HEAD/CHANGELOG.md#Changelog-for-v3170) [Compare Source](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/compare/v3.16.0...v3.17.0) - bug: Allow string quote to be escaped within phpdoc constant ([#6798](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6798)) - bug: ConfigurationResolver - fix running without cache ([#6915](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6915)) - bug: Fix array/object shape phpdoc type parse ([#6962](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6962)) - bug: Fix FullyQualifiedStrictTypesFixer common prefix bug ([#6898](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6898)) - bug: Fix non-parenthesized callable return type parse ([#6961](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6961)) - bug: Fix parsing of edge cases phpdoc types ([#6977](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6977)) - bug: FullyQualifiedStrictTypesFixer - fix for FQCN type with class with the same name being imported ([#6923](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6923)) - bug: GroupImportFixer - support for aliased imports ([#6951](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6951)) - bug: MultilineWhitespaceBeforeSemicolonsFixer - fix chained calls ([#6926](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6926)) - bug: MultilineWhitespaceBeforeSemicolonsFixer - fix for discovering multi line calls ([#6938](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6938)) - bug: NoBreakCommentFixer - fix for nested match ([#6899](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6899)) - bug: NoExtraBlankLinesFixer - fix for attribute in abstract function ([#6920](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6920)) - bug: PhpdocTypesFixer - handle types with no space between type and variable ([#6922](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6922)) - bug: PhpUnitMockShortWillReturnFixer - fix for trailing commas ([#6900](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6900)) - bug: StatementIndentationFixer - fix comments at the end of if/elseif/else blocks ([#6918](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6918)) - bug: StatementIndentationFixer - fix for multiline arguments starting with "new" keyword ([#6913](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6913)) - bug: StatementIndentationFixer - fix for multiline arguments starting with "new" keyword preceded by class instantiation ([#6914](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6914)) - bug: VoidReturnFixer - fix for intervening attributes ([#6863](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6863)) - docs: improve code samples for MultilineWhitespaceBeforeSemicolonsFixer ([#6919](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6919)) - docs: improve cookbook ([#6880](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6880)) - DX: add cache related tests ([#6916](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6916)) - DX: Apply `self_static_accessor` fixer to the project (again) ([#6927](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6927)) - DX: cancel running builds on subsequent pushes in CI ([#6940](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6940)) - DX: convert more `static` to `self` assert calls ([#6931](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6931)) - DX: fix GitHub Actions errors and warnings ([#6917](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6917)) - DX: fix Unsafe call to private method errors reported by PHPStan ([#6879](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6879)) - DX: Improve performance of FunctionsAnalyzer ([#6939](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6939)) - DX: improve test method names to avoid confusion ([#6974](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6974)) - DX: Include self_static_accessor fixer in PhpCsFixer set ([#6882](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6882)) - DX: make data providers static with straight-forward changes ([#6907](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6907)) - DX: Mark Tokens::getNamespaceDeclarations as [@internal](https://togithub.com/internal) ([#6949](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6949)) - DX: PHPStan improvements ([#6868](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6868)) - DX: refactor PhpdocAlignFixerTest ([#6925](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6925)) - DX: Remove [@inheritdoc](https://togithub.com/inheritdoc) PHPDoc ([#6955](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6955)) - DX: Run AutoReview tests only once ([#6889](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6889)) - DX: simplify EncodingFixer ([#6956](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6956)) - DX: update Symfony rule set ([#6958](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6958)) - DX: Use $tokens->getNamespaceDeclarations() to improve performance ([#6942](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6942)) - DX: use force option for php_unit_data_provider_static in PHPUnit 10.0 migration set ([#6908](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6908)) - DX: use only PHP modules that are required ([#6954](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6954)) - DX: use PHPUnit's "requires" instead of "if" condition ([#6975](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6975)) - feature: Add align_multiline_comment rule to [@Symfony](https://togithub.com/Symfony) ([#6875](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6875)) - feature: Add no_null_property_initialization rule to [@Symfony](https://togithub.com/Symfony) ([#6876](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6876)) - feature: Add operator_linebreak rule to [@Symfony](https://togithub.com/Symfony) ([#6877](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6877)) - feature: add SingleLineEmptyBodyFixer ([#6933](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6933)) - feature: DescribeCommand - allow describing custom fixers ([#6957](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6957)) - feature: Introduce `OrderedTypesFixer` ([#6571](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6571)) - feature: Order of PHPDoc [@param](https://togithub.com/param) annotations ([#3909](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/3909)) - feature: Parse parenthesized & conditional phpdoc type ([#6796](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6796)) - feature: PhpUnitInternalClassFixer - add empty line before PHPDoc ([#6924](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6924)) - feature: \[PhpdocAlignFixer] Add support for every tag ([#6564](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6564)) - minor: align NoSuperfluousPhpdocTagsFixer with actual Symfony configuration ([#6953](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6953)) - minor: do not add empty line in PHPDoc when adding annotation in PHPUnit class ([#6928](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6928)) - minor: PhpdocAlignFixer - support cases with type and variable separated with no space ([#6921](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6921)) - minor: PhpdocSeparationFixer - add integration tests ([#6929](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6929)) - minor: update PHPStan (to fix CI on master branch) ([#6901](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6901)) - minor: Use single Dockerfile with multiple build targets ([#6840](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6840)) ### [`v3.16.0`](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/HEAD/CHANGELOG.md#Changelog-for-v3160) [Compare Source](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/compare/v3.15.1...v3.16.0) - bug: ControlStructureBracesFixer - handle closing tag ([#6873](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6873)) - bug: CurlyBracesPositionFixer - fix for callable return type ([#6855](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6855)) - bug: CurlyBracesPositionFixer - fix for DNF types ([#6859](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6859)) - bug: Fix MultilineWhitespaceBeforeSemicolonsFixer ([#5126](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/5126)) - docs: Fix rule description ([#6844](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6844)) - DX: fix checkbashisms installation ([#6843](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6843)) - DX: make data providers static for fixer's tests ([#6860](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6860)) - DX: refactor PHPUnit fixers adding class-level annotation to use shared code ([#6756](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6756)) - DX: unify option's descriptions ([#6856](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6856)) - feature: AbstractPhpUnitFixer - support attribute detection in docblock insertion ([#6858](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6858)) - feature: add "force" option to PhpUnitDataProviderStaticFixer ([#6757](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6757)) - feature: introduce single_space_around_construct, deprecate single_space_after_construct ([#6857](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6857)) - feature: PhpUnitTestClassRequiresCoversFixer - support single-line PHPDocs ([#6847](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6847)) - minor: Deprecate BracesFixer ([#4885](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/4885)) - minor: Fix autocompletion for `Tokens::offsetGet()` ([#6838](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6838)) - minor: PHP8.2 Docker runtime ([#6833](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6833)) - minor: Use Composer binary-only images instead of installer script ([#6834](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6834))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 Mend Renovate. View repository job log here.