restyled-io / restylers

Language-specific restylers
https://docs.restyled.io/restylers
GNU Affero General Public License v3.0
23 stars 28 forks source link

feat(php-cs-fixer): update dependency friendsofphp/php-cs-fixer to v3.65.0 #842

Closed renovate[bot] closed 16 hours ago

renovate[bot] commented 16 hours ago

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
friendsofphp/php-cs-fixer 3.64.0 -> 3.65.0 age adoption passing confidence

Release Notes

PHP-CS-Fixer/PHP-CS-Fixer (friendsofphp/php-cs-fixer) ### [`v3.65.0`](https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/HEAD/CHANGELOG.md#Changelog-for-v3650) [Compare Source](https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/compare/v3.64.0...v3.65.0) - feat: Ability to set upper limit when using CPU auto-detection ([#​8280](https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8280)) - feat: create `@PHP82Migration:risky` ruleset ([#​8277](https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8277)) - feat: Impl. TypeExpression::mapTypes() ([#​8077](https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8077)) - feat: Parse array/generic/nullable type into inner expression ([#​8106](https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8106)) - feat: phpdoc_to_property_type - handle virtual types and null initialization, enable in php-highest CI job ([#​8283](https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8283)) - feat: Store PHPDoc offset in `DataProviderAnalysis` ([#​8226](https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8226)) - feat: Support for complex PHPDoc types in `fully_qualified_strict_types` ([#​8085](https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8085)) - fix: check for priority tests correctly ([#​8221](https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8221)) - fix: Do not mark with `@coversNothing` if `CoversMethod`/`CoversFunction` attribute is used ([#​8268](https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8268)) - fix: enum-case mistaken for const invocation ([#​8190](https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8190)) - fix: fix typing of few properties wrongly typed as non-nullable ([#​8285](https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8285)) - fix: fix typing property wrongly typed as non-nullable ([#​8290](https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8290)) - fix: MethodChainingIndentationFixer does not fix indentation of last chained property ([#​8080](https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8080)) - fix: NoSuperfluousPhpdocTagsFixer - Remove superfluous phpdoc of parameter with attribute ([#​8237](https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8237)) - fix: parsing mixed `&` and `|` in `TypeExpression` ([#​8210](https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8210)) - fix: proper base class used for AbstractDoctrineAnnotationFixer templates generation ([#​8291](https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8291)) - fix: Properly recognise constants in foreach loops ([#​8203](https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8203)) - fix: Tokens::overrideRange() block cache pruning ([#​8240](https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8240)) - fix: `BlankLineAfterOpeningTagFixer` - add blank line in file starting with multi-line comment ([#​8256](https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8256)) - fix: `MultilineWhitespaceBeforeSemicolonsFixer` - do not produce syntax error when there is a meaningful token after semicolon ([#​8230](https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8230)) - fix: `NullableTypeDeclarationFixer` - do not break syntax when there is no space before `?` ([#​8224](https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8224)) - fix: `PhpUnitDataProvider(.+)Fixer` - do not omit when there is an attribute between PHPDoc and test method ([#​8185](https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8185)) - fix: `PhpUnitDataProviderNameFixer` - for an attribute between PHPDoc and test method ([#​8217](https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8217)) - chore: add todo for PHP v8 ([#​8274](https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8274)) - chore: auto-fallback to sequential runner if single CPU would handle it ([#​8154](https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8154)) - chore: block changing tokens collection size using `PhpCsFixer\Tokenizer\Tokens::setSize` ([#​8257](https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8257)) - chore: bump dev-tools ([#​8286](https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8286)) - chore: bump PHPStan ([#​8245](https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8245)) - chore: Cheaper file check first ([#​8252](https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8252)) - chore: ConfigInterface - better types ([#​8244](https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8244)) - chore: do not call `Tokens::setSize` in `GroupImportFixer` ([#​8253](https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8253)) - chore: do not use `Reflection*::setAccessible` ([#​8264](https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8264)) - chore: fix priority tests ([#​8223](https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8223)) - chore: Fix typos in AbstractFixerTestCase ([#​8247](https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8247)) - chore: GithubClient - make URL injectable ([#​8272](https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8272)) - chore: Implement PHPStan `Preg::match()` extensions ([#​8103](https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8103)) - chore: mark remaining Analysis as `@internal` ([#​8284](https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8284)) - chore: PHPStan - upgrade to v2 ([#​8288](https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8288)) - chore: reduce amount of class mutable properties ([#​8281](https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8281)) - chore: remove from priority tests exceptions tests that are not actually exceptions ([#​8222](https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8222)) - chore: remove incorrect priority tests ([#​8231](https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8231)) - chore: remove not needed PHP version requirements in descriptions ([#​8265](https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8265)) - chore: remove unnecessary methods ([#​8200](https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8200)) - chore: tests/Tokenizer/Transformer - better typehinting ([#​8243](https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8243)) - chore: Token - remove 'changed' property ([#​8273](https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8273)) - chore: Token::getContent() phpdoc return type ([#​8236](https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8236)) - chore: update dev dependencies in root ([#​8289](https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8289)) - chore: update PHPStan to 1.12.9 ([#​8271](https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8271)) - chore: update `checkbashisms` to 2.24.1 ([#​8258](https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8258)) - chore: use null coalescing assignment operator where possible ([#​8219](https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8219)) - CI: allow macos to fail ([#​8194](https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8194)) - CI: build phar on PHP 8.3 ([#​8195](https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8195)) - CI: drop matrix for single-matrix-entry jobs of SCA and Deployment checks ([#​8193](https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8193)) - CI: Ensure php-cs-fixer PHP compatibility /part ([#​8241](https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8241)) - CI: Ensure `php-cs-fixer` PHP compatibility ([#​8235](https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8235)) - CI: generate and execute code in `assert` ([#​8207](https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8207)) - CI: update PHPStan to 1.12.2 ([#​8198](https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8198)) - CI: update PHPStan to 1.12.3 ([#​8204](https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8204)) - CI: use phpstan-symfony ([#​8287](https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8287)) - depr: ConfigInterface::getPhpExecutable() and ConfigInterface::setPhpExecutable() ([#​8192](https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8192)) - deps: add `composer-smaller-lock` ([#​8263](https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8263)) - deps: Update PHPStan to 1.12.4 ([#​8215](https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8215)) - deps: Update PHPStan to 1.12.5 ([#​8218](https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8218)) - deps: update PHPStan to 1.12.7 ([#​8255](https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8255)) - docs: fix unconsistency in config doc ([#​8269](https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8269)) - docs: mention github action example instead of travis-ci ([#​8250](https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8250)) - DX: Cover `php-cs-fixer` file with static analysis ([#​8229](https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8229)) - DX: Make `TypeExpression` API more explicit about composite types ([#​8214](https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8214)) - refactor: change `_AttributeItems` to `non-empty-list<_AttributeItem>` to allow using single attribute item ([#​8199](https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8199)) - refactor: Rename newly introduced option ([#​8293](https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8293)) - refactor: Runner - Enhance eventing system ([#​8276](https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8276)) - refactor: Runner - make 4.0 TODOs easier to understand ([#​8196](https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8196)) - refactor: use arrow functions in more places ([#​8294](https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8294)) - test: `@PHP82Migration:risky` - add integration tests ([#​8278](https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8278))

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 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.