Skip to content
This repository has been archived by the owner on Feb 5, 2024. It is now read-only.

Update dependency friendsofphp/php-cs-fixer to v3 #24

Closed
wants to merge 2 commits into from

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Sep 21, 2021

WhiteSource Renovate

This PR contains the following updates:

Package Type Update Change
friendsofphp/php-cs-fixer require-dev major ^2.19 -> 3.1.0

Release Notes

FriendsOfPHP/PHP-CS-Fixer

v3.1.0

Compare Source

  • feature #​5572 PhpdocToCommentFixer - Add ignored_tags option (VincentLanglet)
  • feature #​5588 NoAliasFunctionsFixer - Add more function aliases (danog)
  • feature #​5704 ClassAttributesSeparationFixer - Introduce only_if_meta spacing option (paulbalandan)
  • feature #​5734 TypesSpacesFixer - Introduction (kubawerlos)
  • feature #​5745 EmptyLoopBodyFixer - introduction (SpacePossum, keradus)
  • feature #​5751 Extract DeclareParenthesesFixer from BracesFixer (julienfalque, keradus)
  • feature #​5877 ClassDefinitionFixer - PSR12 for anonymous class (SpacePossum)
  • minor #​5875 EmptyLoopBodyFixer - NoTrailingWhitespaceFixer - priority test (SpacePossum)
  • minor #​5914 Deprecate ClassKeywordRemoveFixer (kubawerlos)

v3.0.3

Compare Source

  • bug #​4927 PhpdocAlignFixer - fix for whitespace in type (kubawerlos)
  • bug #​5720 NoUnusedImportsFixer - Fix undetected unused imports when type mismatch (julienfalque, SpacePossum)
  • bug #​5806 DoctrineAnnotationFixer - Add template to ignored_tags (akalineskou)
  • bug #​5849 PhpdocTagTypeFixer - must not remove inlined tags within other tags (boesing)
  • bug #​5853 BracesFixer - handle alternative short foreach with if (SpacePossum)
  • bug #​5855 GlobalNamespaceImportFixer - fix for attributes imported as constants (kubawerlos)
  • bug #​5881 SelfUpdateCommand - fix link to UPGRADE docs (keradus)
  • bug #​5884 CurlyBraceTransformer - fix handling dynamic property with string with variable (kubawerlos, keradus)
  • bug #​5912 TypeAlternationTransformer - fix for "callable" type (kubawerlos)
  • bug #​5913 SingleSpaceAfterConstructFixer - improve comma handling (keradus)
  • minor #​5829 DX: Fix SCA with PHPMD (paulbalandan)
  • minor #​5838 PHP7 - use spaceship (SpacePossum, keradus)
  • minor #​5848 Docs: update PhpStorm integration link (keradus)
  • minor #​5856 Add AttributeAnalyzer (kubawerlos)
  • minor #​5857 DX: PHPMD - exclude fixtures (keradus)
  • minor #​5859 Various fixes (kubawerlos)
  • minor #​5864 DX: update dev tools (kubawerlos)
  • minor #​5876 AttributeTransformerTest - add more tests (SpacePossum)
  • minor #​5879 Update UPGRADE-v3.md adding relative links (shakaran, keradus)
  • minor #​5882 Docs: don't use v2 for installation example (keradus)
  • minor #​5883 Docs: typo (brianteeman, keradus)
  • minor #​5890 DX: use PHP 8.1 polyfill (keradus)
  • minor #​5902 Remove references to PHP 7.0 in tests (only removing lines) (kubawerlos)
  • minor #​5905 DX: Use "yield from" in tests (kubawerlos, keradus)
  • minor #​5917 Use @PHP71Migration rules (kubawerlos, keradus)

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: Renovate will not automatically rebase this PR, because other commits have been found.

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


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

This PR has been generated by WhiteSource Renovate. View repository job log here.

@yondifon yondifon closed this Sep 21, 2021
@yondifon yondifon deleted the renovate/friendsofphp-php-cs-fixer-3.x branch October 3, 2021 10:53
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants