packagist friendsofphp/php-cs-fixer v3.93.0
v3.93.0 Exceptional Exception

12 hours ago

What's Changed

  • feat: @PHP7x0MigrationRisky - update configuration of RandomApiMigrationFixer to match it's newly updated v4 defaults by @keradus in #9368
  • feat: @Symfony:risky - extend set with modern_serialization_methods by @keradus in #9366
  • feat: @Symfony:risky - extend set with static_lambda by @keradus in #9365
  • feat: @Symfony - enable no_unneeded_control_parentheses.statements.negative_instanceof by @keradus in #9336
  • feat: @Symfony - extend set with no_useless_else by @keradus in #9363
  • feat: @Symfony - extend set with no_useless_return by @keradus in #9364
  • feat: RandomApiMigrationFixer - allow to convert mt_getrandmax and mt_srand by @keradus in #9367
  • feat: add ModernSerializationMethodsFixer by @kubawerlos in #9108
  • feat: Add NoRedundantReadonlyPropertyFixer by @jack-worman in #9339
  • feat: add PhpdocTypesNoDuplicatesFixer by @FeBe95 in #9312
  • feat: do not suggest config file creation if config explicitly skipped with --config=- by @keradus in #9379
  • feat: improve handling of @see tags in FullyQualifiedStrictTypesFixer by @mspirkov in #9350
  • feat: PER attribute block no spaces by @stakovicz in #9264
  • feat: php_unit_test_case_static_method_calls - change default 'call_type' to 'this' for v4 by @keradus in #9328
  • feat: protected_to_private - add to@Symfony set by @keradus in #9303
  • feat: PSR/PER-CS - adjust braces_position rule by @mspirkov in #9329
  • feat: remove php_unit_test_case_static_method_calls from PHPUnit sets by @keradus in #9341
  • fix: ModifierKeywordsFixer - closure in attribute by @kubawerlos in #9358
  • fix: NoUselessElseFixer - handle conditional symbol declarations by @gharlan in #9347
  • fix: OrderedClassElementsFixer - closure in attribute by @kubawerlos in #9357
  • fix: PhpUnitAttributesFixer - do not add for annotation @testWith when attribute TestWith already present by @kubawerlos in #9354
  • fix: properly expose memory usage while running parallel mode by @keradus in #9352
  • chore: add clarifying @return annotations to Config by @mspirkov in #9337
  • chore: fix assign.propertyType error from PHPStan by @gharlan in #9332
  • chore: PHPUnit sets - cleanup test, update docs/comments by @keradus in #9342
  • chore: simplify phpstan:baseline command by @gharlan in #9346
  • deps: bump crate-ci/typos from 1.41.0 to 1.42.0 by @dependabot[bot] in #9338
  • deps: bump crate-ci/typos from 1.42.0 to 1.42.1 by @dependabot[bot] in #9376
  • deps: bump dev deps by @keradus in #9369
  • deps: bump the phpstan group in /dev-tools with 3 updates by @dependabot[bot] in #9375
  • docs: show default value for future mode by @kubawerlos in #9355
  • DX: add env for easier finding which fixer break a PHP syntax by @kubawerlos in #9356
  • refactor: add base key-existence check for cross-process communication in parallel runner by @keradus in #9360
  • refactor: FixerDocumentGenerator - limit the scope to create rule instance in future mode only by @keradus in #9359
  • test: fix compatibility towards Symfony 8 by @keradus in #9370
  • test: update PHP 8.5 compat test to cover closure in attribute and prevent conversion to empty arrow function by @keradus in #9373

Full Changelog: v3.92.5...v3.93.0

Don't miss a new php-cs-fixer release

NewReleases is sending notifications on new releases.