Skip to content

chore(deps): update dependency friendsofphp/php-cs-fixer to v3

This MR contains the following updates:

Package Type Update Change
friendsofphp/php-cs-fixer require-dev major ^2.18 -> ^3.0

Release Notes

FriendsOfPHP/PHP-CS-Fixer

v3.0.2

Compare Source

  • bug #​5816 FullyQualifiedStrictTypesFixer - fix for union types (kubawerlos, keradus)
  • bug #​5835 PhpdocTypesOrderFixer: fix for array shapes (kubawerlos)
  • bug #​5837 SingleImportPerStatementFixer - fix const and function imports (SpacePossum)
  • bug #​5844 PhpdocTypesOrderFixer: handle callable() type (Slamdunk)
  • minor #​5839 DX: automate checking 7.0 types on project itself (keradus)
  • minor #​5840 DX: drop v2 compatible config in project itself (keradus)

v3.0.1

Compare Source

  • bug #​5395 PhpdocTagTypeFixer: Do not modify array shapes (localheinz, julienfalque)
  • bug #​5678 UseArrowFunctionsFixer - fix for return without value (kubawerlos)
  • bug #​5679 PhpUnitNamespacedFixer - do not try to fix constant usage (kubawerlos)
  • bug #​5681 RegularCallableCallFixer - fix for function name with escaped slash (kubawerlos)
  • bug #​5687 FinalInternalClassFixer - fix for annotation with space after "@​" (kubawerlos)
  • bug #​5688 ArrayIndentationFixer - fix for really long arrays (kubawerlos)
  • bug #​5690 PhpUnitNoExpectationAnnotationFixer - fix "expectedException" annotation with message below (kubawerlos)
  • bug #​5693 YodaStyleFixer - fix for assignment operators (kubawerlos)
  • bug #​5697 StrictParamFixer - fix for method definition (kubawerlos)
  • bug #​5702 CommentToPhpdocFixer - fix for single line comments starting with more than 2 slashes (kubawerlos)
  • bug #​5703 DateTimeImmutableFixer - fix for method definition (kubawerlos)
  • bug #​5718 VoidReturnFixer - do not break syntax with magic methods (kubawerlos)
  • bug #​5727 SingleSpaceAfterConstructFixer - Add support for namespace (julienfalque)
  • bug #​5730 Fix transforming deprecations into exceptions (julienfalque)
  • bug #​5738 TokensAnalyzer - fix for union types (kubawerlos)
  • bug #​5741 Fix constant invocation detection cases (kubawerlos)
  • bug #​5769 Fix priority between phpdoc_to_property_type and no_superfluous_phpdoc_tags (julienfalque)
  • bug #​5774 FunctionsAnalyzer::isTheSameClassCall - fix for $this with double colon following (kubawerlos)
  • bug #​5779 SingleLineThrowFixer - fix for throw in match (kubawerlos)
  • bug #​5781 ClassDefinition - fix for anonymous class with trailing comma (kubawerlos)
  • bug #​5783 StaticLambdaFixer - consider parent:: as a possible reference to $this (fancyweb)
  • bug #​5791 NoBlankLinesAfterPhpdoc - Add T_NAMESPACE in array of forbidden successors (paulbalandan)
  • bug #​5799 TypeAlternationTransformer - fix for multiple function parameters (kubawerlos)
  • bug #​5804 NoBreakCommentFixer - fix for "default" in "match" (kubawerlos)
  • bug #​5805 SingleLineCommentStyleFixer - run after HeaderCommentFixer (kubawerlos)
  • bug #​5817 NativeFunctionTypeDeclarationCasingFixer - fix for union types (kubawerlos)
  • bug #​5823 YodaStyleFixer - yield support (SpacePossum)
  • minor #​4914 Improve PHPDoc types support (julienfalque, keradus)
  • minor #​5592 Fix checking for default config used in rule sets (kubawerlos)
  • minor #​5675 Docs: extend Upgrade Guide (keradus)
  • minor #​5680 DX: benchmark.sh - ensure deps are updated to enable script working across less-similar branches (keradus)
  • minor #​5689 Calculate code coverage on PHP 8 (kubawerlos)
  • minor #​5694 DX: fail on risky tests (kubawerlos)
  • minor #​5695 Utils - save only unique deprecations to avoid memory issues (PetrHeinz)
  • minor #​5710 [typo] add correct backquotes (PhilETaylor)
  • minor #​5711 Fix doc, "run-in" show-progress option is no longer present (mvorisek)
  • minor #​5713 Upgrade-Guide: fix typo (staabm)
  • minor #​5717 Run migration rules on PHP 8 (kubawerlos, keradus)
  • minor #​5721 Fix reStructuredText markup (julienfalque)
  • minor #​5725 Update LICENSE (exussum12)
  • minor #​5731 CI - Fix checkbashisms installation (julienfalque)
  • minor #​5736 Remove references to PHP 5.6 (kubawerlos, keradus)
  • minor #​5739 DX: more typehinting (keradus)
  • minor #​5740 DX: more type-related docblocks (keradus)
  • minor #​5746 Config - Improve deprecation message with details (SpacePossum)
  • minor #​5747 RandomApiMigrationFixer - better docs and better "random_int" support (SpacePossum)
  • minor #​5748 Updated the link to netbeans plugins page (cyberguroo)
  • minor #​5750 Test all const are in uppercase (SpacePossum)
  • minor #​5752 NoNullPropertyInitializationFixer - fix static properties as well (HypeMC)
  • minor #​5756 Fix rule sets descriptions (kubawerlos)
  • minor #​5761 Fix links in custom rules documentation (julienfalque)
  • minor #​5771 doc(config): change set's name (Kocal)
  • minor #​5777 DX: update PHPStan (kubawerlos)
  • minor #​5789 DX: update PHPStan (kubawerlos)
  • minor #​5808 Update PHPStan to 0.12.92 (kubawerlos)
  • minor #​5813 Docs: point to v3 in installation description (Jimbolino)
  • minor #​5824 Deprecate v2 (keradus)
  • minor #​5825 DX: update checkbashisms to v2.21.3 (keradus)
  • minor #​5826 SCA: check both composer files (keradus)
  • minor #​5827 ClassAttributesSeparationFixer - Add trait_import support (SpacePossum)
  • minor #​5831 DX: fix SCA violations (keradus)

v3.0.0

Compare Source

  • bug #​5164 Differ - surround file name with double quotes if it contains spacing. (SpacePossum)
  • bug #​5560 PSR2: require visibility only for properties and methods (kubawerlos)
  • bug #​5576 ClassAttributesSeparationFixer: do not allow using v2 config (kubawerlos)
  • feature #​4979 Pass file to differ (paulhenri-l, SpacePossum)
  • minor #​3374 show-progress option: drop run-in and estimating, rename estimating-max to dots (keradus)
  • minor #​3375 Fixers - stop exposing extra properties/consts (keradus)
  • minor #​3376 Tokenizer - remove deprecations and legacy mode (keradus)
  • minor #​3377 rules - change default options (keradus)
  • minor #​3378 SKIP_LINT_TEST_CASES - drop env (keradus)
  • minor #​3379 MethodArgumentSpaceFixer - fixSpace is now private (keradus)
  • minor #​3380 rules - drop rootless configurations (keradus)
  • minor #​3381 rules - drop deprecated configurations (keradus)
  • minor #​3382 DefinedFixerInterface - incorporate into FixerInterface (keradus)
  • minor #​3383 FixerDefinitionInterface - drop getConfigurationDescription and getDefaultConfiguration (keradus)
  • minor #​3384 diff-format option: drop sbd diff, use udiffer by default, drop SebastianBergmannDiffer and SebastianBergmannShortDiffer classes (keradus)
  • minor #​3385 ConfigurableFixerInterface::configure - param is now not nullable and not optional (keradus)
  • minor #​3386 ConfigurationDefinitionFixerInterface - incorporate into ConfigurableFixerInterface (keradus)
  • minor #​3387 FixCommand - forbid passing 'config' and 'rules' options together (keradus)
  • minor #​3388 Remove Helpers (keradus)
  • minor #​3389 AccessibleObject - drop class (keradus)
  • minor #​3390 Drop deprecated rules: blank_line_before_return, hash_to_slash_comment, method_separation, no_extra_consecutive_blank_lines, no_multiline_whitespace_before_semicolons and pre_increment (keradus)
  • minor #​3456 AutoReview - drop references to removed rule (keradus)
  • minor #​3659 use php-cs-fixer/diff ^2.0 (SpacePossum)
  • minor #​3681 CiIntegrationTest - fix incompatibility from 2.x line (keradus)
  • minor #​3740 NoUnusedImportsFixer - remove SF exception (SpacePossum)
  • minor #​3771 UX: always set error_reporting in entry file, not Application (keradus)
  • minor #​3922 Make some more classes final (ntzm, SpacePossum)
  • minor #​3995 Change default config of native_function_invocation (dunglas, SpacePossum)
  • minor #​4432 DX: remove empty sets from RuleSet (kubawerlos)
  • minor #​4489 Fix ruleset @​PHPUnit50Migration:risky (kubawerlos)
  • minor #​4620 DX: cleanup additional, not used parameters (keradus)
  • minor #​4666 Remove deprecated rules: lowercase_constants, php_unit_ordered_covers, silenced_deprecation_error (keradus)
  • minor #​4697 Remove deprecated no_short_echo_tag rule (julienfalque)
  • minor #​4851 fix phpstan on 3.0 (SpacePossum)
  • minor #​4901 Fix SCA (SpacePossum)
  • minor #​5069 Fixed failing tests on 3.0 due to unused import after merge (GrahamCampbell)
  • minor #​5096 NativeFunctionInvocationFixer - BacktickToShellExecFixer - fix integration test (SpacePossum)
  • minor #​5171 Fix test (SpacePossum)
  • minor #​5245 Fix CI for 3.0 line (keradus)
  • minor #​5351 clean ups (SpacePossum)
  • minor #​5364 DX: Do not display runtime twice on 3.0 line (keradus)
  • minor #​5412 3.0 - cleanup (SpacePossum, keradus)
  • minor #​5417 Further BC cleanup for 3.0 (keradus)
  • minor #​5418 Drop src/Test namespace (keradus)
  • minor #​5436 Drop mapping of strings to boolean option other than yes/no (keradus)
  • minor #​5440 Change default ruleset to PSR-12 (keradus)
  • minor #​5477 Drop diff-format (keradus)
  • minor #​5478 Docs: Cleanup UPGRADE markdown files (keradus)
  • minor #​5479 ArraySyntaxFixer, ListSyntaxFixer - change default syntax to short (keradus)
  • minor #​5480 Tokens::findBlockEnd - drop deprecated argument (keradus)
  • minor #​5485 ClassAttributesSeparationFixer - drop deprecated flat list configuration (keradus)
  • minor #​5486 CI: drop unused env variables (keradus)
  • minor #​5488 Do not distribute documentation (szepeviktor)
  • minor #​5513 DX: Tokens::warnPhp8SplFixerArrayChange - drop unused method (keradus)
  • minor #​5520 DX: Drop IsIdenticalConstraint (keradus)
  • minor #​5521 DX: apply rules configuration cleanups for PHP 7.1+ (keradus)
  • minor #​5524 DX: drop support of very old deps (keradus)
  • minor #​5525 Drop phpunit-legacy-adapter (keradus)
  • minor #​5527 Bump required PHP to 7.1 (keradus)
  • minor #​5529 DX: bump required PHPUnit to v7+ (keradus)
  • minor #​5532 Apply PHP 7.1 typing (keradus)
  • minor #​5541 RuleSet - disallow null usage to disable the rule (keradus)
  • minor #​5555 DX: further typing improvements (keradus)
  • minor #​5562 Fix table row rendering for default values of array_syntax and list_syntax (derrabus)
  • minor #​5608 DX: new cache filename (keradus)
  • minor #​5609 Forbid old config filename usage (keradus)
  • minor #​5638 DX: remove Utils::calculateBitmask (keradus)
  • minor #​5641 DX: use constants for PHPUnit version on 3.0 line (keradus)
  • minor #​5643 FixCommand - simplify help (keradus)
  • minor #​5644 Token::toJson() - remove parameter (keradus)
  • minor #​5645 DX: YodaStyleFixerTest - fix CI (keradus)
  • minor #​5649 DX: YodaStyleFixerTest - fix 8.0 compat (keradus)
  • minor #​5650 DX: FixCommand - drop outdated/duplicated docs (keradus)
  • minor #​5656 DX: mark some constants as internal or private (keradus)
  • minor #​5657 DX: convert some properties to constants (keradus)
  • minor #​5669 Remove TrailingCommaInMultilineArrayFixer (kubawerlos, keradus)

Configuration

📅 Schedule: At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this MR and you won't be reminded about this update again.


  • If you want to rebase/retry this MR, check this box.

This MR has been generated by Renovate Bot.

Edited by Thomas Praxl

Merge request reports

Loading