Name | Modified | Size | Downloads / Week |
---|---|---|---|
Parent folder | |||
php-cs-fixer.phar | 2025-09-24 | 3.5 MB | |
php-cs-fixer.phar.asc | 2025-09-24 | 566 Bytes | |
README.md | 2025-09-24 | 7.1 kB | |
v3.88.0 Folding Bike source code.tar.gz | 2025-09-24 | 501.2 kB | |
v3.88.0 Folding Bike source code.zip | 2025-09-24 | 1.1 MB | |
Totals: 5 Items | 5.0 MB | 0 |
Fixer Team is more than happy to announce that @gharlan joined us as a maintainer and puts awesome effort when it comes to providing changes, reviewing PRs and other activities 🎉! Can we get a YEAH?
Full list of changes can be found below, but we would really like to emphasise some of them:
- Support for custom rulesets, initially created by @niklam in 2021, revived by @Wirone in 2023 when he became a maintainer, and then improved by the latter to fit @keradus' requirements. It shows both sides of #OSS: it can be challenging and even frustrating, but with proper approach and common effort, it can also end up nicely!
- Introduction of
@auto[:risky]
rulesets that can automatically enable some rulesets depending on your project's setup. - Improved future mode for better future-compatibility (you can prepare your code to be ready for next major version).
- Changed naming convention for version-based rulesets to make them more explicit and readable. Please ensure you're using proper ruleset names in your configs... or switch to
@auto
[:risky]
;) !
What's Changed
- feat: Support custom rulesets by @niklam and @Wirone in https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/6083
- feat: introduce
@auto
,@auto:risky
sets by @keradus in https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/9090 - feat: introduce
@autoPHPMigration
,@autoPHPMigration:risky
,@autoPHPUnitMigration:risky
sets by @keradus in https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/9068 - feat: start using new defaults for rules under future mode by @keradus in https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/9020
- feat:
symfony
ruleset: Add@const
tophpdoc_no_alias_tag
by @mvorisek in https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/9016 - feat: rename rule sets from
MAJORMINOR
andMAJOR.MINOR
intoMAJORxMINOR
by @keradus in https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/9005 - feat: rename
visibility_required
intomodifier_keywords
by @keradus in https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/8995 - fix:
BlankLinesBeforeNamespaceFixer
- handle namespace without newline before by @gharlan in https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/9059 - docs: fix typo by @keradus in https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/9060
- docs: update CONTRIBUTING.md by @keradus in https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/9074
- docs: update README for updated PHP/PHPUnit set names by @keradus in https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/9070
- DX: Allow development on PHP 8.5 by @Wirone in https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/9092
- chore:
getcwd()
- ignorefalse
return value by @gharlan in https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/9057 - chore:
ReporterFactory
- useclass-string
type by @gharlan in https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/9055 - chore: enforce list via
array_values()
by @gharlan in https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/9054 - chore: ErrorOutput - line is optional by @keradus in https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/9047
- chore: fix cs in entry point file by @gharlan in https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/9064
- chore: fix CS, somehow it missed the CI of
.php-cs-fixer.well-defined-arrays.php
by @keradus in https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/8987 - chore: fix some
argument.type
errors by @gharlan in https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/9056 - chore: groom Automatic rulesets code by @keradus in https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/9091
- chore: phpstan - do not ignore all
internal
usage errors by @gharlan in https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/9063 - chore: replace wrong
class-string
usages by @gharlan in https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/8968 - CI:
push
event only for master branch by @gharlan in https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/9046 - CI:
push
event only for master branch by @gharlan in https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/9050 - CI: check for typos by @kubawerlos in https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/9048
- CI: don't prevent the build when remote coverage reporting service is down by @keradus in https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/9095
- CI: fix smoke tests after [#9005] by @keradus in https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/9061
- CI: fix typos in
CHANGELOG.md
by @kubawerlos in https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/9052 - CI: mutation tests - disable github annotations by @gharlan in https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/9062
- CI: Test docs generation only once per CI pipeline by @Wirone in https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/9089
- deps: bump box version by @keradus in https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/9042
- deps: bump
ergebnis/composer-normalize
from 2.48.1 to 2.48.2 in /dev-tools by @dependabot[bot] in https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/9045 - deps: bump
phpstan/phpstan
from 2.1.25 to 2.1.28 in /dev-tools in the phpstan group by @dependabot[bot] in https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/9072 - deps: unify Alpine version for PHP 8.4 by @keradus in https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/9077
- deps: update PHPStan and
phpstan-baseline-per-identifier
by @gharlan in https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/9051 - deps: update
squizlabs/php_codesniffer
to v4.0 and other related packages by @keradus in https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/9075 - deps: upgrade Alpine wherever possible by @keradus in https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/9078
- deps: upgrade
infection/infection
to ^0.31.0 by @Copilot in https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/9079 - refactor: introduce concept of AutomaticRuleSet by @keradus in https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/9067
- refactor: rename
RuleSetDescriptionInterface
intoRuleSetDefinitionInterface
by @keradus in https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/9094 - test: ensure Alpine version same between Dockerfile and
compose.yaml
by @keradus in https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/9076 - test: ensure Alpine version same in
compose.yaml
andrelease.yml
by @keradus in https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/9071 - test: extend tests to cover new migration rule set names by @keradus in https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/9069
- test: improve testing that objects cannot be serialized/unserialized by @kubawerlos in https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/9049
Full Changelog: https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/compare/v3.87.2...v3.88.0