| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| php-cs-fixer.phar | < 13 hours ago | 3.5 MB | |
| php-cs-fixer.phar.asc | < 13 hours ago | 566 Bytes | |
| README.md | < 13 hours ago | 4.5 kB | |
| v3.92.0 Exceptional Exception source code.tar.gz | < 13 hours ago | 514.0 kB | |
| v3.92.0 Exceptional Exception source code.zip | < 13 hours ago | 1.1 MB | |
| Totals: 5 Items | 5.1 MB | 0 | |
We will take you for a little journey to the past... It's October 4th, 2017. Fixer v2.7.1 (🤯) was released 2 days ago. Suddenly, @mlocati requests path-aware rule sets... not knowing he will eventually implement this only 8 years later 😅.
Back to the present, Fixer now can dynamically change its configured behaviour either by using @php-cs-fixer-ignore, or by implementing RuleCustomisationPolicyInterface and using it via ->setRuleCustomisationPolicy() in config file 💥!
You can read more about it here, but please keep in mind that this feature at this point is considered experimental, and as such it is not covered by the backward compatibility promise. Feel free to experiment with this feature, though, and let us know what you think!
What's Changed
- feat: exception for rules via
@php-cs-fixer-ignoreannotation by @keradus in https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/9280 - feat: exception for rules via
Rule Customisation Policyby @mlocati in https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/9107 - feat:
PhpUnitTestCaseStaticMethodCallsFixer- add handling ofgetStubBuilderby @keradus in https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/9276 - feat:
PhpUnitTestCaseStaticMethodCallsFixer- addtargetoption by @kubawerlos in https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/8498 - chore:
.php-cs-fixer.dist.php- remove no longer needed rule, 'expectedDeprecation' annotation does not exist for long time by @keradus in https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/9266 - chore:
Config::getFinder()- fix typehinting by @keradus in https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/9288 - chore: fix
arguments.counterror from PHPStan by @kubawerlos in https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/9258 - chore: fix
generator.valueTypeerror from PHPStan by @kubawerlos in https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/9259 - chore: fix
plus.*NonNumericerrors from PHPStan by @kubawerlos in https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/9260 - chore:
Runner- better input types handling by @keradus in https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/9286 - chore: watch out for non-final classes by @keradus in https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/9262
- deps: bump alpine from 3.22 to 3.23 by @dependabot[bot] in https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/9269
- deps: bump phpcompatibility/php-compatibility from 10.0.0-alpha1 to 10.0.0-alpha2 in /dev-tools by @dependabot[bot] in https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/9271
- deps: bump the phpstan group in /dev-tools with 3 updates by @dependabot[bot] in https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/9270
- deps: dev-tools - upgrade deep deps by @keradus in https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/9272
- docs: exception for rules in dedicated doc files, for easier discoverability by @keradus in https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/9281
- docs: upgrade docs to not use legacy set by @keradus in https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/9282
- DX: make all
testFix*methods have first parameter$expectedby @kubawerlos in https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/9289 - refactor:
ProjectCodeTest- refactortestExpectedInputOrdertest by @keradus in https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/9290 - refactor: fix violation of 'no_useless_concat_operator' by @keradus in https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/9267
- Revert (partially) "feat: Finder to find dot-files by default in v4/future-mode (#9187)" by @keradus in https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/9287
- test: RuleSetTest - check against non-deprecated variant of PHPUnit sets by @keradus in https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/9265
- UX: exception for rules via
Rule Customisation Policy- better error message for wrong customisers by @keradus in https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/9279 - UX: exception for rules via
Rule Customisation Policy- prevent policy without version by @keradus in https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/9278
Full Changelog: https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/compare/v3.91.3...v3.92.0