Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump friendsofphp/php-cs-fixer from 2.19.2 to 3.2.1 #2365

Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Nov 1, 2021

Bumps friendsofphp/php-cs-fixer from 2.19.2 to 3.2.1.

Release notes

Sourced from friendsofphp/php-cs-fixer's releases.

v3.2.1 Mountains

discovery release - exploring the adoption of PHP CS Fixer if it would require a higher PHP version

  • Require PHP 7.2

v3.2.0 Mountains

  • bug #5809 FunctionsAnalyzer - fix for recognizing global functions in attributes (kubawerlos)
  • bug #5909 NativeFunctionCasingFixer - fix for attributes and imported functions (kubawerlos)
  • bug #5920 ClassAttributesSeparationFixer - fixes & enhancements (SpacePossum)
  • bug #5923 TypeAlternationTransformer - fix for promoted properties (kubawerlos)
  • bug #5938 NoAliasFunctionsFixer - remove dir -> getdir mapping (SpacePossum)
  • bug #5941 TokensAnalyzer - isAnonymousClass bug on PHP8 (SpacePossum)
  • bug #5942 TokensAnalyzer - isConstantInvocation PHP 8 issue (SpacePossum)
  • bug #5943 NoUnusedImportsFixer - use in attribute (SpacePossum)
  • bug #5955 Fixed class_attributes_separation processing class with multiple trait imports (GrahamCampbell)
  • bug #5977 LowercaseStaticReference - SingleClassElementPerStatement - union types (SpacePossum)
  • bug #5984 RegularCallableCallFixer must run before NativeFunctionInvocationFixer (kubawerlos)
  • bug #5986 CurlyBraceTransformer - count T_CURLY_OPEN itself as level as well (SpacePossum)
  • bug #5989 NoAliasFunctionsFixer - Correct mapping (weshooper)
  • bug #6004 SwitchContinueToBreakFixer - Fix candidate check (SpacePossum)
  • bug #6005 CommentsAnalyzer - before static call (SpacePossum)
  • bug #6007 YodaStyleFixer - PHP8 named arguments support (liquid207)
  • bug #6015 CommentsAnalyzer - constructor property promotion support (liquid207)
  • bug #6020 RegularCallableCallFixer - case insensitive fixing (SpacePossum)
  • bug #6037 PhpdocLineSpanFixer - do not crash on trait imports (SpacePossum)
  • feature #4834 AssignNullCoalescingToCoalesceEqualFixer - introduction (SpacePossum)
  • feature #5754 ModernizeStrposFixer - introduction (derrabus, SpacePossum, keradus)
  • feature #5858 EmptyLoopConditionFixer - introduction (SpacePossum)
  • feature #5967 PHP8.1 - type "never" support (SpacePossum)
  • feature #5968 PHP8.1 - "readonly" property modifier support (SpacePossum)
  • feature #5970 IntegerLiteralCaseFixer - introduction (SpacePossum)
  • feature #5971 PHP8.1 - Explicit octal integer literal notation (SpacePossum)
  • feature #5997 NoSuperfluousPhpdocTagsFixer - Add union types support (julienfalque)
  • feature #6026 TypeIntersectionTransformer - introduction (kubawerlos, SpacePossum)
  • feature #6031 NoSpaceAroundDoubleColonFixer - introduction (SpacePossum)
  • feature #6047 StringLengthToEmptyFixer - introduction (SpacePossum)
  • minor #5773 NoAlternativeSyntaxFixer - Add option to not fix non-monolithic PHP code (paulbalandan)
  • minor #5887 Detect renamed rules in configuration resolver (shakaran)
  • minor #5901 DX: update PHPStan (kubawerlos)
  • minor #5906 Remove references to PHP 7.0 in tests (with updates) (kubawerlos)
  • minor #5918 Remove PHP version specific code sample constraint when not needed (kubawerlos)
  • minor #5924 PSR12 - ClassDefinition - space_before_parenthesis (SpacePossum)
  • minor #5925 DX: ProjectCodeTest - fix detection by testExpectedInputOrder (keradus)
  • minor #5926 DX: remove not needed requirements from fixtures (kubawerlos)
  • minor #5927 Symfonyset - EmptyLoopBody (SpacePossum)
  • minor #5928 PhpdocTo*TypeFixer - add more test cases (keradus)
  • minor #5929 Remove not needed PHP version checks (kubawerlos)
  • minor #5930 simplify code, more tests (SpacePossum)
  • minor #5931 logo copyright - bump year (SpacePossum)
  • minor #5932 Extract ControlStructureContinuationPositionFixer from BracesFixer (julienfalque)

... (truncated)

Changelog

Sourced from friendsofphp/php-cs-fixer's changelog.

Changelog for v3.2.1

experimental release

  • Require PHP 7.2

Changelog for v3.2.0

  • bug #5809 FunctionsAnalyzer - fix for recognizing global functions in attributes (kubawerlos)
  • bug #5909 NativeFunctionCasingFixer - fix for attributes and imported functions (kubawerlos)
  • bug #5920 ClassAttributesSeparationFixer - fixes & enhancements (SpacePossum)
  • bug #5923 TypeAlternationTransformer - fix for promoted properties (kubawerlos)
  • bug #5938 NoAliasFunctionsFixer - remove dir -> getdir mapping (SpacePossum)
  • bug #5941 TokensAnalyzer - isAnonymousClass bug on PHP8 (SpacePossum)
  • bug #5942 TokensAnalyzer - isConstantInvocation PHP 8 issue (SpacePossum)
  • bug #5943 NoUnusedImportsFixer - use in attribute (SpacePossum)
  • bug #5955 Fixed class_attributes_separation processing class with multiple trait imports (GrahamCampbell)
  • bug #5977 LowercaseStaticReference - SingleClassElementPerStatement - union types (SpacePossum)
  • bug #5984 RegularCallableCallFixer must run before NativeFunctionInvocationFixer (kubawerlos)
  • bug #5986 CurlyBraceTransformer - count T_CURLY_OPEN itself as level as well (SpacePossum)
  • bug #5989 NoAliasFunctionsFixer - Correct mapping (weshooper)
  • bug #6004 SwitchContinueToBreakFixer - Fix candidate check (SpacePossum)
  • bug #6005 CommentsAnalyzer - before static call (SpacePossum)
  • bug #6007 YodaStyleFixer - PHP8 named arguments support (liquid207)
  • bug #6015 CommentsAnalyzer - constructor property promotion support (liquid207)
  • bug #6020 RegularCallableCallFixer - case insensitive fixing (SpacePossum)
  • bug #6037 PhpdocLineSpanFixer - do not crash on trait imports (SpacePossum)
  • feature #4834 AssignNullCoalescingToCoalesceEqualFixer - introduction (SpacePossum)
  • feature #5754 ModernizeStrposFixer - introduction (derrabus, SpacePossum, keradus)
  • feature #5858 EmptyLoopConditionFixer - introduction (SpacePossum)
  • feature #5967 PHP8.1 - type "never" support (SpacePossum)
  • feature #5968 PHP8.1 - "readonly" property modifier support (SpacePossum)
  • feature #5970 IntegerLiteralCaseFixer - introduction (SpacePossum)
  • feature #5971 PHP8.1 - Explicit octal integer literal notation (SpacePossum)
  • feature #5997 NoSuperfluousPhpdocTagsFixer - Add union types support (julienfalque)
  • feature #6026 TypeIntersectionTransformer - introduction (kubawerlos, SpacePossum)
  • feature #6031 NoSpaceAroundDoubleColonFixer - introduction (SpacePossum)
  • feature #6047 StringLengthToEmptyFixer - introduction (SpacePossum)
  • minor #5773 NoAlternativeSyntaxFixer - Add option to not fix non-monolithic PHP code (paulbalandan)
  • minor #5887 Detect renamed rules in configuration resolver (shakaran)
  • minor #5901 DX: update PHPStan (kubawerlos)
  • minor #5906 Remove references to PHP 7.0 in tests (with updates) (kubawerlos)
  • minor #5918 Remove PHP version specific code sample constraint when not needed (kubawerlos)
  • minor #5924 PSR12 - ClassDefinition - space_before_parenthesis (SpacePossum)
  • minor #5925 DX: ProjectCodeTest - fix detection by testExpectedInputOrder (keradus)
  • minor #5926 DX: remove not needed requirements from fixtures (kubawerlos)
  • minor #5927 Symfonyset - EmptyLoopBody (SpacePossum)
  • minor #5928 PhpdocTo*TypeFixer - add more test cases (keradus)

... (truncated)

Commits
  • 13ae36a prepared the 3.2.1 release
  • eba3d38 Bump min PHP version to 7.2
  • 29f37e3 prepared the 3.2.0 release
  • 72ebcfb feature #6047 StringLengthToEmptyFixer - introduction (SpacePossum)
  • c1ede31 StringLengthToEmptyFixer - introduction
  • beea139 minor #6048 Fix "can not" spelling (mvorisek)
  • 8ae89f4 Fix "can not" spelling
  • eb717fe bug #6037 PhpdocLineSpanFixer - do not crash on trait imports (SpacePossum)
  • d60ff67 PhpdocLineSpanFixer - do not crash on trait imports
  • c1a4a91 minor #6035 Documentation generation split up and add list. (SpacePossum)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [friendsofphp/php-cs-fixer](https://github.com/FriendsOfPHP/PHP-CS-Fixer) from 2.19.2 to 3.2.1.
- [Release notes](https://github.com/FriendsOfPHP/PHP-CS-Fixer/releases)
- [Changelog](https://github.com/FriendsOfPHP/PHP-CS-Fixer/blob/v3.2.1/CHANGELOG.md)
- [Commits](PHP-CS-Fixer/PHP-CS-Fixer@v2.19.2...v3.2.1)

---
updated-dependencies:
- dependency-name: friendsofphp/php-cs-fixer
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Nov 1, 2021
oleibman added a commit to oleibman/PhpSpreadsheet that referenced this pull request Nov 7, 2021
Dependabot opened PR PHPOffice#2365 to upgrade php-cs-fixer from 2.19.2 to 3.2.1. Changes are required before that can be merged successfully. I believe all the necessary changes are in this PR.

One of the changes is to replace .php_cs.dist with .php-cs-fixer.dist.php. I have made those two identical for this PR so that there will be a meaningful delta listing. After this change is merged, master can be merged into 2365, which will hopefully pass all tests and be mergeable at that point. We can delete the unneeded file after that merge.

Spacing is changed in a handful of source members because of extra stringency in 3.2.1.
PowerKiKi pushed a commit that referenced this pull request Nov 7, 2021
Dependabot opened PR #2365 to upgrade php-cs-fixer from 2.19.2 to 3.2.1. Changes are required before that can be merged successfully. I believe all the necessary changes are in this PR.

One of the changes is to replace .php_cs.dist with .php-cs-fixer.dist.php. I have made those two identical for this PR so that there will be a meaningful delta listing. After this change is merged, master can be merged into 2365, which will hopefully pass all tests and be mergeable at that point. We can delete the unneeded file after that merge.

Spacing is changed in a handful of source members because of extra stringency in 3.2.1.
@PowerKiKi PowerKiKi merged commit 10b1371 into master Nov 7, 2021
@dependabot dependabot bot deleted the dependabot/composer/friendsofphp/php-cs-fixer-3.2.1 branch November 7, 2021 15:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Development

Successfully merging this pull request may close these issues.

1 participant