What's Changed
- docs: MethodArgumentSpaceFixer - mention PSR in Fixer definition by @keradus in #7157
- bug: Support annotations with arguments in
FinalInternalClassFixer
by @Wirone in #7160 - DX: add
YieldFromArrayToYieldsFixer
toPhpCsFixer
set by @kubawerlos in #7115 - DX: fix contravariant types in PHPDocs by @kubawerlos in #7167
- bug: YieldFromArrayToYieldsFixer - fix for
yield from
after}
by @kubawerlos in #7169 - DX: remove unnecessary arrays from data providers by @kubawerlos in #7170
- docs: Add extra information for GitLab reporter's integration with GitLab Code Quality by @0x346e3730 in #7172
- DX: Allow OS conditions for integration tests by @Wirone in #7161
- docs: Add allowed values of tags in the
phpdoc_align
by @kayw-geek in #7120 - feature:
BlankLineBeforeStatementFixer
- take into account comment before statement by @kubawerlos in #7166 - DX: Apply current CS rules by @Wirone in #7178
- DX: Fix some PHPStan issues by @Wirone in #7180
- docs: Change the single backticks to double in description of the rules option by @kayw-geek in #7173
- bug: Fixed line between general script documentation and require by @rinu in #7177
- docs: Condensed output for rule sets' list that fixer is included in by @Wirone in #7182
- feature: Introduce
ReturnToYieldFromFixer
by @kubawerlos in #7168 - bug: Fix names resolving in
no_superfluous_phpdoc_tags
fixer by @mvorisek in #7189 - bug: Fix various bugs in
FullyQualifiedStrictTypesFixer
fixer by @mvorisek in #7188 - bug: Fix detecting classy invokation in catch by @fancyweb in #7191
- bug: BlankLineBeforeStatementFixer - do not enforce/add a blank line when there is a blank line between the comment and the statement already by @kubawerlos in #7190
- DX: refactor
ErrorOutputTest
by @kubawerlos in #7183 - bug: YieldFromArrayToYieldsFixer - fix handling the comment before the first array element by @kubawerlos in #7193
- DX: apply
ReturnToYieldFromFixer
by @kubawerlos in #7181 - DX: enable
UseArrowFunctionsFixer
for the codebase by @kubawerlos in #7194 - DX: enable
HeredocIndentationFixer
for the codebase by @kubawerlos in #7195 - DX: Introduce Composer scripts as common DX by @Wirone in #6839
- feature: Introduce
SpacesInsideParenthesesFixer
by @SuperDJ, @Wirone in #5709 - DX: update
HeredocIndentationFixer
code samples by @kubawerlos in #7197 - DX: update
CurlyBracesPositionFixer
code samples by @kubawerlos in #7198 - DX: update
PhpdocToReturnTypeFixer
code samples by @kubawerlos in #7199 - feature:
BlankLineBeforeStatementFixer
- skip enum cases by @paulbalandan in #7203 - docs: Improve contributing guide by @Wirone in #7204
- DX: Do not mark "long term ideas" as stale by @Wirone in #7206
- bug:
HeaderCommentFixer
must run beforeBlankLinesBeforeNamespaceFixer
by @kubawerlos in #7205 - DX: add first auto-review tests for composer.json file by @keradus in #7210
- DX: few phpstan fixes by @keradus in #7208
- feature: Support array destructuring in
trim_array_spaces
by @Wirone in #7218 - DX: Get rid of deprecation warnings in Mess Detector by @Wirone in #7215
- DX: Apply suggestions from PR 7210 by @Wirone in #7213
- DX: Fix detecting trailing spaces by @Wirone in #7216
- minor: more arrow function usage by @keradus in #7223
- minor: use JSON_THROW_ON_ERROR for trivial cases by @keradus in #7221
- bug:
NoUselessReturnFixer
must run beforeSingleLineEmptyBodyFixer
by @kubawerlos in #7226 - DX: Improve Mess Detector Integration by @Wirone in #7224
- minor: use more spread operator by @keradus in #7222
- minor: PhpdocAlignFixerTest - convert CUSTOM tags test to not rely on non-custom tag from TAGS_WITH_NAME by @keradus in #7209
- bug:
PhpdocInlineTagNormalizerFixer
- do not break tags by @kubawerlos in #7227 - feature: add at least one space around binary operators by @duboism in #7175
- DX: Improve Composer scripts by @Wirone in #7214
New Contributors
- @0x346e3730 made their first contribution in #7172
- @rinu made their first contribution in #7177
- @SuperDJ made their first contribution in #5709
- @duboism made their first contribution in #7175
Full Changelog: v3.22.0...v3.23.0