packagist friendsofphp/php-cs-fixer v3.87.0
v3.87.0 Alexander

latest releases: v3.92.3, v3.92.2, v3.92.1...
3 months ago

What's Changed

  • feat: introduce @PHP85Migration set by @keradus in #8941
  • feat: add PhpdocTagNoNamedArgumentsFixer by @kubawerlos in #8906
  • feat: deprecate using config from passed path CLI argument by @keradus in #8923
  • feat: upgrade @PhpCsFixer set towards new defaults of selected rules by @keradus in #8981
  • fix: PhpdocOrderFixer when phpstan- / psalm- order is specified by @acoulton in #8853
  • fix: PhpdocOrderFixer - do not allow duplicated tags in configuration by @kubawerlos in #8945
  • DX: remove methods for kind checks by @kubawerlos in #8954
  • DX: unify class/interface/trait naming by @kubawerlos in #8957
  • CI: update checkbashisms by @keradus in #8951
  • CI: more self-fixing checks on lowest/highest PHP by @keradus in #8943
  • CI: add vendor/bin/phpunit --check-php-configuration by @kubawerlos in #8934
  • CI: Re-enable Paraunit in CI under PHP 8.5 by @Jean85 in #8964
  • refactor: add DocBlockAnnotation trait by @kubawerlos in #8953
  • test: extend ProjectCodeTest to check classy names in tests too by @keradus in #8959
  • test: NoUnneededControlParenthesesFixer - add tests for "clone with" by @kubawerlos in #8937
  • test: update pipe operator tests after pipe & arrow function combination was prohibited by @kubawerlos in #8990
  • test: PhpdocNoAliasTagFixerTest - add test for @const to @var by @kubawerlos in #8998
  • test: TypeDeclarationSpacesFixer - demonstrate PHP 8.3 related config doesn't harm older envs by @keradus in #8999
  • test: split test so more of them can run under Windows by @keradus in #8986
  • chore: PHPUnit - enforce no memory_limit by @keradus in #8940
  • chore: extract token types for PHPStan by @keradus in #8925
  • refactor: PhpdocOrderFixer - calculate order only once by @kubawerlos in #8944
  • chore: revert wrong _PhpTokenArray usages by @gharlan in #8947
  • chore: OrderedClassElementsFixer - use private method instead of anonymous function by @gharlan in #8931
  • chore: CheckCommand - use regex instead of explode & substr by @gharlan in #8936
  • chore: ClassAttributesSeparationFixer - improve code by @gharlan in #8950
  • chore: sort .gitattributes by @keradus in #8966
  • chore: ignore deprecations in token_get_all by @gharlan in #8963
  • chore: EregToPregFixer - use constant instead of static property by @gharlan in #8978
  • chore: deprecate Annotation::getTagsWithTypes in favor of TAGS_WITH_TYPES constant by @gharlan in #8977
  • chore: convert private methods to constants by @gharlan in #8976
  • chore: AbstractPhpdocTypesFixer - remove $tags property by @gharlan in #8980
  • chore: minor CS fixes by @keradus in #8979
  • chore: handle fixer options without allowed types defined by @gharlan in #8973
  • chore: use non-empty-list where appropriate by @gharlan in #8972
  • chore: PhpdocTagNoNamedArgumentsFixer - better example by @keradus in #8971
  • chore: unify entries in .gitignore by @keradus in #8982
  • chore: apply phpdoc_tag_no_named_arguments by @keradus in #8969
  • chore: configure phpdoc_tag_no_named_arguments by @keradus in #8970
  • chore: CS - re-apply rules by @keradus in #8988
  • chore: rework ci-integration.sh by @keradus in #8989
  • chore: Add TODO for ENUM conversion in ProgressOutputType by @keradus in #8991
  • chore: always use JSON_THROW_ON_ERROR by @keradus in #8993
  • chore: Tokens - override nullability of SplFixedArray by @gharlan in #9001
  • chore: apply (partially) multiline_string_to_heredoc by @gharlan in #9002
  • chore: Tokens::offsetSet - explicit validation of input by @keradus in #9004
  • chore: exclude files in .gitattributes by @ruudk in #8960
  • chore: PhpUnitDedicateAssertFixer - improve code for phpstan by @gharlan in #9011
  • chore: FullyQualifiedStrictTypesFixer - ensure matching number of opening/closing braces by @gharlan in #9009
  • chore: use get_debug_type and ::class in exception messages by @gharlan in #9006
  • chore: PhpdocParamOrderFixer - improve/simplify code by @gharlan in #9012
  • chore: remove not-needed reset-call by @keradus in #9014
  • chore: unify env var FAST_LINT_TEST_CASES into PHP_CS_FIXER_FAST_LINT_TEST_CASES by @keradus in #8992
  • deps: remove php-cs-fixer/accessible-object by @kubawerlos in #8948
  • deps: update dev-tools by @keradus in #9007
  • deps: minor upgrades by @keradus in #8983
  • deps: bump actions/checkout from 4 to 5 by @dependabot[bot] in #8938
  • deps: bump shipmonk/dead-code-detector from 0.13.1 to 0.13.2 in /dev-tools by @dependabot[bot] in #8939
  • deps: drop support for justinrainbow/json-schema:^5 by @keradus in #8984
  • docs: update README.md by @keradus in #9015
  • docs: README.md updates by @keradus in #9013
  • docs: update README.md and CONTRIBUTING.md by @gharlan in #8974

New Contributors

Full Changelog: v3.86.0...v3.87.0

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

NewReleases is sending notifications on new releases.