Skip to content

Releases: PHP-CS-Fixer/PHP-CS-Fixer

v3.56.0 15 Keys Accelerate

07 May 15:50
v3.56.0
4429303
Compare
Choose a tag to compare

What's Changed

Full Changelog: v3.55.0...v3.56.0

v3.55.0 15 Keys Accelerate

06 May 00:10
v3.55.0
c9eeacb
Compare
Choose a tag to compare

What's Changed

  • feat: Introduce OrderedAttributesFixer by @HypeMC and @Wirone in #7395
  • fix: PhpUnitAttributesFixer - fix for #[RequiresPhp] exceeding its constructor parameters by @paulbalandan in #7966
  • DX: Prevent having deprecated fixers listed as successors of other deprecated fixers by @kubawerlos and @Wirone in #7967
  • DX: Resolve/Ignore PHPStan issues on level 6 + bump to level 7 with new baseline by @Wirone in #7971
  • DX: do not typehint fixed-length arrays as lists by @kubawerlos in #7974
  • DX: use list type in PHPDocs by @kubawerlos in #7975
  • DX: allow to enforce cache mechanism by env var by @keradus in #7983
  • CI: Fix calculating diff between branches in PRs by @Wirone in #7973
  • CI: Ad-hoc fix for MacOS jobs by @Wirone in #7970
  • test: don't count comment after class as another classy element by @keradus in #7982
  • chore: RuleSetsTest - assert that Fixer is configurable by @keradus in #7961
  • chore: Tokens should be always a list by @mvorisek in #7698
  • chore: few SCA fixes and dev-tools update by @keradus in #7969
  • chore: Normalize implicit backslahes in single quoted strings internally by @mvorisek in #7786
  • chore: Preg - drop half-support for array-pattern by @keradus in #7976
  • chore: fix PHPDoc types by @keradus in #7977
  • chore: PHPDoc - rely on strict list/tuple/shape instead of array by @keradus in #7978
  • chore: narrow PHPDoc types by @kubawerlos in #7979
  • chore: PhpUnitDataProviderNameFixer - follow config creation pattern by @keradus in #7980
  • chore: re-use CodeHasher by @keradus in #7984
  • chore: syntax sugar by @keradus in #7986

Full Changelog: v3.54.0...v3.55.0

v3.54.0 15 Keys Accelerate

17 Apr 08:16
v3.54.0
2aecbc8
Compare
Choose a tag to compare

What's Changed

Full Changelog: v3.53.0...v3.54.0

v3.53.0 15 Keys

08 Apr 15:03
v3.53.0
69a1909
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v3.52.1...v3.53.0

v3.52.1 15 Keys

19 Mar 21:02
v3.52.1
6e77207
Compare
Choose a tag to compare

What's Changed

  • fix: PhpCsFixer\Tokenizer\Tokens::setSize return type by @kubawerlos in #7900
  • fix: StatementIndentationFixer - do not crash on ternary operator in class property by @kubawerlos in #7899

Full Changelog: v3.52.0...v3.52.1

v3.52.0 15 Keys

18 Mar 18:40
v3.52.0
a3564bd
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v3.51.0...v3.52.0

v3.51.0 Insomnia

28 Feb 19:54
v3.51.0
127fa74
Compare
Choose a tag to compare

What's Changed

Full Changelog: v3.50.0...v3.51.0

v3.50.0 Insomnia

23 Feb 23:19
v3.50.0
dbea11d
Compare
Choose a tag to compare

What's Changed

  • feat: Ability to remove unused imports from multi-use statements by @Wirone in #7815
  • feat: Support shortening symbols from multi-use statements (only classes for now) by @Wirone in #7816
  • feat: allow PHPUnit 11 by @kubawerlos in #7824
  • feat: MbStrFunctionsFixer - add support for mb_trim, mb_ltrim and mb_rtrim functions by @kubawerlos in #7840
  • feat: no_superfluous_phpdoc_tags - introduce allow_hidden_params option by @keradus in #7743
  • feat: NoEmptyPhpdocFixer - do not leave empty line after removing PHPDoc by @kubawerlos in #7820
  • feat: introduce PhpdocArrayTypeFixer by @kubawerlos in #7812
  • feat: PhpUnitTestCaseStaticMethodCallsFixer - cover PHPUnit v11 methods by @kubawerlos in #7822
  • feat: Support for multi-use statements in NamespaceUsesAnalyzer by @Wirone in #7814
  • fix: ExecutorWithoutErrorHandler - remove invalid PHP 7.4 type by @kubawerlos in #7845
  • fix: fully_qualified_strict_types must honor template/local type identifiers by @mvorisek in #7724
  • fix: MethodArgumentSpaceFixer - do not break heredoc/nowdoc by @kubawerlos in #7828
  • fix: NumericLiteralSeparatorFixer - do not change float to int when there is nothing after the dot by @kubawerlos in #7805
  • fix: PhpUnitStrictFixer - do not crash on property having the name of method to fix by @kubawerlos in #7804
  • fix: SingleSpaceAroundConstructFixer - correctly recognise multiple constants by @kubawerlos and @Wirone in #7700
  • fix: TypeExpression - handle array shape key with dash by @kubawerlos in #7841
  • fix: do not use wrongly named arguments in data providers by @kubawerlos in #7823
  • fix: Ensure PCNTL extension is always installed in Docker by @Wirone in #7782
  • fix: PhpdocListTypeFixer - support key types containing <…> by @gharlan in #7817
  • fix: Proper build target for local Docker Compose by @Wirone in #7834
  • fix: union PHPDoc support in fully_qualified_strict_types fixer by @mvorisek in #7719
  • chore: add missing types by @kubawerlos in #7842
  • chore: BlocksAnalyzer - raise exception on invalid index by @keradus in #7819
  • chore: DataProviderAnalysis - expect list over array by @keradus in #7800
  • chore: do not use @large on method level by @kubawerlos in #7832
  • chore: do not use @medium on method level by @kubawerlos in #7833
  • chore: Fix typos by @tamiroh in #7835
  • chore: rename variables by @kubawerlos in #7847
  • chore: some improvements around array typehints by @keradus in #7799
  • CI: fix PHP 8.4 job by @kubawerlos in #7829
  • DX: Include symfony/var-dumper in dev tools by @Wirone in #7795

New Contributors

Full Changelog: v3.49.0...v3.50.0

v3.49.0 Insomnia

02 Feb 00:41
v3.49.0
8742f7a
Compare
Choose a tag to compare

What's Changed

  • feat: introduce string_implicit_backslashes as escape_implicit_backslashes replacement by @mvorisek in #7669
  • feat: introduce PhpdocListTypeFixer by @kubawerlos in #7796
  • feat: Add ordered_types to @Symfony by @VincentLanglet in #7356
  • feat: update Symfony.nullable_type_declaration_for_default_null_value config by @keradus in #7773
  • feat: @PhpCsFixer ruleset - enable php_unit_data_provider_static by @mvorisek in #7685
  • fix: ClassKeywordFixer must run before FullyQualifiedStrictTypesFixer by @krzysztofrewak in #7767
  • fix: LowercaseStaticReferenceFixer - do not change typed constants by @kubawerlos in #7775
  • fix: TypeExpression - do not break type using walkTypes method by @kubawerlos in #7785
  • fix: ClassDefinitionFixer for anonymous class with PHPDoc/attribute on separate line by @mvorisek in #7546
  • fix: function_to_constant get_class() replacement by @mvorisek in #7770
  • fix: Allow using cache when running in Docker distribution by @Wirone in #7769
  • fix: PhpdocTypesFixer - handle more complex types by @kubawerlos in #7791
  • docs: Docker - use gitlab reporter in GitLab integration example by @keradus in #7764
  • docs: Docker in CI - don't suggest command that overrides path from config file by @keradus in #7763
  • DX: check deprecations exactly by @keradus in #7742
  • chore: DescribeCommand - better handling of deprecations by @kubawerlos in #7778
  • chore: Exclude topic/core issues/PRs from Stale Bot by @Wirone in #7788
  • chore: add missing key types in PHPDoc types by @kubawerlos in #7779
  • chore(checkbashisms): update to 2.23.7 by @kubawerlos in #7780

Full Changelog: v3.48.0...v3.49.0

v3.48.0 Small Changes

19 Jan 21:44
v3.48.0
a92472c
Compare
Choose a tag to compare

What's Changed

  • feat: PhpdocTypesOrderFixer Support DNF types by @smnandre in #7732
  • fix: work correctly for a switch/case with ternary operator by @kubawerlos in #7756
  • fix: NoUselessConcatOperatorFixer - do not remove new line by @kubawerlos in #7759
  • fix: Support shebang in fixers operating on PHP opening tag by @mvorisek in #7687
  • docs: Add PHP-CS-Fixer integration in a GitHub Action step by @Arkanii in #7757
  • chore: FullyQualifiedStrictTypesFixer must run before OrderedInterfacesFixer by @kubawerlos in #7762

New Contributors

Full Changelog: v3.47.1...v3.48.0