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 the all group with 2 updates #378

Merged
merged 1 commit into from
Jul 22, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jul 22, 2024

Bumps the all group with 2 updates: rector/rector and squizlabs/php_codesniffer.

Updates rector/rector from 1.2.0 to 1.2.1

Release notes

Sourced from rector/rector's releases.

Released Rector 1.2.1

New Features 🥳

  • [type-declarations] Add ReturnNullableTypeRector (#6110)
  • [type-declarations] Add StringsReturnTypeFromStrictScalarReturnsRector to complete the string returns (#6111)
  • [PhpDoc] Add warning about missing PhpDocInfo name form tag value node (#6134)
  • [TypeDeclaration] Introducing ClosureReturnTypeRector to handle closure types separately (#6106)
  • [TypeDeclaration] Skip has named arg on AddMethodCallBasedStrictParamTypeRector (#6137)
  • [e2e][Printer] Handle crash indentation on AddParamBasedOnParentClassMethodRector (#6112)

Bugfixes 🐛

  • [TypeDeclaration] Skip variadic on AddParamTypeBasedOnPHPUnitDataProviderRector (#6150)
  • [TypeDeclaration] Add ConstFetch support on ReturnTypeFromStrictConstantReturnRector (#6151)
  • Refactor BooleanTypeMapper to handle value based on context (#6095)
  • Check root return in ReturnTypeFromReturnNewRector (#6102)
  • Make ReturnUnionTypeRector run on PHP 8.0+ (#6103)
  • ReturnUnionTypeRector now return only non-nullable types, to prepare space for new nullable rule as off PHP 7.1+ (#6105)
  • [TypeDeclaration] handle explicit if else new on ReturnTypeFromReturnNewRector (#6104)
  • [Php70] Swap min is higher than max on RandomFunctionRector (#6109)
  • Split StringReturnTypeFromStrictScalarReturnsRector into string, bool and numeric scalar + strict return type rules (#6113)
  • [Php71] Handle not identical to Float for empty string should compare to 0.0 on BinaryOpBetweenNumberAndStringRector (#6117)
  • [TypeDeclaration] Skip void on BoolReturnTypeFromBooleanStrictReturnsRector (#6118)
  • [TypeDeclaration] Fix inline closure type on ClosureReturnTypeRector (#6119)
  • [TypeDeclaration] Skip start with shebang on DeclareStrictTypesRector (#6121)
  • [Php52] Handle deep if stmts on ContinueToBreakInSwitchRector (#6122)
  • [Php52] Handle in deep else on ContinueToBreakInSwitchRector (#6123)
  • [TypeDeclaration] Clean up ArrowFunction check on ReturnTypeInferer (#6124)
  • [TypeDeclaration] Skip union with yield on NumericReturnTypeFromStrictScalarReturnsRector (#6125)
  • [Php82] Handle has only readonly properties but not all promoted property on ReadOnlyClassRector (#6129)
  • refactor: Move function first-class-callable to a standalone rule (#6131), Thanks @​nikolicaleksa!
  • typo (rectorphp/rector-src@d102bd1)
  • Fix ArrayDimFetchToMethodCallRector (#6138), Thanks @​peterfox!
  • [CodeQuality] Skip used in static Closure/ArrowFunction on LocallyCalledStaticMethodToNonStaticRector (#6139)
  • [CodeQuality] Skip multiple new lines on JoinStringConcatRector (#6141)
  • [CodeQuality] Allow change empty() to [] compare of other object property usage on SimplifyEmptyCheckOnEmptyArrayRector (#6147)
  • [Php55] Skip parse error on no concat in left in left Concat on PregReplaceEModifierRector (#6148)
  • [CodingStyle] Handle with trait use adaptations on SeparateMultiUseImportsRector (#6149)
  • [DeadCode] Remove unused @​var on key after remove key on RemoveUnusedForeachKeyRector (#6135)
  • [DeadCode] Handle same namespace param type on RemoveUselessParamTagRector (#6133)

Removed and deprecated 💀

  • Add - number support, deprecate ReturnTypeFromStrictScalarReturnExprRector functionality, already split (#6114)
  • Deprecate BoolReturnTypeFromStrictScalarReturnsRector, use BoolReturnTypeFromBooleanStrictReturnsRector instead (#6115)

... (truncated)

Commits
  • b38a3ee Rector 1.2.1
  • a86c4a9 Updated Rector to commit 8b983280a817e815b0de72e02d2fe99d201c5a1c
  • 427f73f Updated Rector to commit 36b475d84ae192f498854c796bd8246038a5bc7a
  • 2cbd10a Updated Rector to commit d6de24c449d21207b50bd5342e3ddc0836a9265b
  • 075bcc5 Updated Rector to commit 07a3bdc597ce144a9ccbe370004b437d4118e0c2
  • 4fe7b62 Updated Rector to commit 1e7fffd0be6bd99905dff054488e967a276b8727
  • 8349226 Updated Rector to commit 25b437a67243133d39aaf9579723013730b4d3f5
  • 707f4ca Updated Rector to commit a9ddf8fe859ce31baccee9692438ad03c9101549
  • 8c2cb60 Updated Rector to commit 4dd889abe4cabdbe4235578a10a7d6d4b64b5f55
  • a07218c Updated Rector to commit e9b4c647f9f40adc9e1859cd620c3632281e3384
  • Additional commits viewable in compare view

Updates squizlabs/php_codesniffer from 3.10.1 to 3.10.2

Release notes

Sourced from squizlabs/php_codesniffer's releases.

3.10.2 - 2024-07-22

Changed

Fixed

  • Fixed bug #513 : Generic.Functions.FunctionCallArgumentSpacing did not ignore the body of a match expressions passed as a function argument, which could lead to false positives.
  • Fixed bug #533 : Generic.WhiteSpace.DisallowTabIndent: tab indentation for heredoc/nowdoc closers will no longer be auto-fixed to prevent parse errors. The issue will still be reported.
    • The error code for heredoc/nowdoc indentation using tabs has been made more specific - TabsUsedHeredocCloser - to allow for selectively excluding the indentation check for heredoc/nowdoc closers.
    • Thanks to Juliette Reinders Folmer for the patch
  • Fixed bug #534 : Generic.WhiteSpace.DisallowSpaceIndent did not report on space indentation for PHP 7.3 flexible heredoc/nowdoc closers.
    • Closers using space indentation will be reported with a dedicated error code: SpacesUsedHeredocCloser.
    • Thanks to Juliette Reinders Folmer for the patch
  • Fixed bug #537 : Squiz.PHP.DisallowMultipleAssignments false positive for list assignments at the start of a new PHP block after an embedded PHP statement.
  • Fixed bug #551 : Squiz.PHP.DisallowMultipleAssignments prevent false positive for function parameters during live coding.
  • Fixed bug #554 : Generic.CodeAnalysis.UselessOverridingMethod edge case false negative when the call to the parent method would end on a PHP close tag.
  • Fixed bug #555 : Squiz.Classes.SelfMemberReference edge case false negative when the namespace declaration would end on a PHP close tag.

New Contributors

The PHP_CodeSniffer project is happy to welcome the following new contributor: @​biinari (with a whopping 9 merged PRs!)

We also welcome @​klausi back to the project.

Furthermore, the project is happy to welcome @​jetbrains as a corporate funder for the project, joining @​automattic, @​humanmade and @​godaddy.

Statistics

Closed: 2 issues Merged: 30 pull requests

If you like to stay informed about releases and more, follow @​phpcs on Mastodon or @​PHP_CodeSniffer on X.

#513: PHPCSStandards/PHP_CodeSniffer#513 #523: PHPCSStandards/PHP_CodeSniffer#523 #533: PHPCSStandards/PHP_CodeSniffer#533 #534: PHPCSStandards/PHP_CodeSniffer#534

... (truncated)

Changelog

Sourced from squizlabs/php_codesniffer's changelog.

[3.10.2] - 2024-07-22

Changed

  • The following sniff(s) have received efficiency improvements:
    • Generic.Functions.FunctionCallArgumentSpacing
    • Thanks to [Juliette Reinders Folmer][@​jrfnl] for the patch.
  • The array format of the information passed to the Reports::generateFileReport() method is now documented in the Reports interface. #523
    • Thanks to [Juliette Reinders Folmer][@​jrfnl] for the patch.
  • Various housekeeping, including improvements to the tests and documentation.

Fixed

  • Fixed bug #513 : Generic.Functions.FunctionCallArgumentSpacing did not ignore the body of a match expressions passed as a function argument, which could lead to false positives.
    • Thanks to [Juliette Reinders Folmer][@​jrfnl] for the patch
  • Fixed bug #533 : Generic.WhiteSpace.DisallowTabIndent: tab indentation for heredoc/nowdoc closers will no longer be auto-fixed to prevent parse errors. The issue will still be reported.
    • The error code for heredoc/nowdoc indentation using tabs has been made more specific - TabsUsedHeredocCloser - to allow for selectively excluding the indentation check for heredoc/nowdoc closers.
    • Thanks to [Juliette Reinders Folmer][@​jrfnl] for the patch
  • Fixed bug #534 : Generic.WhiteSpace.DisallowSpaceIndent did not report on space indentation for PHP 7.3 flexible heredoc/nowdoc closers.
    • Closers using space indentation will be reported with a dedicated error code: SpacesUsedHeredocCloser.
    • Thanks to [Juliette Reinders Folmer][@​jrfnl] for the patch
  • Fixed bug #537 : Squiz.PHP.DisallowMultipleAssignments false positive for list assignments at the start of a new PHP block after an embedded PHP statement.
    • Thanks to [Juliette Reinders Folmer][@​jrfnl] for the patch
  • Fixed bug #551 : Squiz.PHP.DisallowMultipleAssignments prevent false positive for function parameters during live coding.
  • Fixed bug #554 : Generic.CodeAnalysis.UselessOverridingMethod edge case false negative when the call to the parent method would end on a PHP close tag.
    • Thanks to [Juliette Reinders Folmer][@​jrfnl] for the patch
  • Fixed bug #555 : Squiz.Classes.SelfMemberReference edge case false negative when the namespace declaration would end on a PHP close tag.
    • Thanks to [Juliette Reinders Folmer][@​jrfnl] for the patch

#513: PHPCSStandards/PHP_CodeSniffer#513 #523: PHPCSStandards/PHP_CodeSniffer#523 #533: PHPCSStandards/PHP_CodeSniffer#533 #534: PHPCSStandards/PHP_CodeSniffer#534 #537: PHPCSStandards/PHP_CodeSniffer#537 #551: PHPCSStandards/PHP_CodeSniffer#551 #554: PHPCSStandards/PHP_CodeSniffer#554 #555: PHPCSStandards/PHP_CodeSniffer#555

Commits
  • 86e5f5d Merge pull request #564 from PHPCSStandards/feature/changelog-3.10.2
  • abe8f42 Changelog for the 3.10.2 release
  • 9b49761 Merge pull request #565 from PHPCSStandards/feature/contributing-add-section-...
  • 2d22432 CONTRIBUTING GUIDE: consistently use title case for headers
  • 34b9b40 CONTRIBUTING GUIDE: add section about finding issues to work on for code cont...
  • ff203dc Merge pull request #563 from PHPCSStandards/feature/docs-various-fixes
  • d60022e Documentation: various minor improvements
  • 85318b7 Merge pull request #556 from PHPCSStandards/feature/psr2-classdeclaration-add...
  • 8303a3f PSR2/ClassDeclaration: add test with close brace followed by PHP close tag
  • 1d4c9d2 PSR2/ClassDeclaration: remove some redundant code [2]
  • Additional commits viewable in compare view

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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

Bumps the all group with 2 updates: [rector/rector](https://github.com/rectorphp/rector) and [squizlabs/php_codesniffer](https://github.com/PHPCSStandards/PHP_CodeSniffer).


Updates `rector/rector` from 1.2.0 to 1.2.1
- [Release notes](https://github.com/rectorphp/rector/releases)
- [Commits](rectorphp/rector@1.2.0...1.2.1)

Updates `squizlabs/php_codesniffer` from 3.10.1 to 3.10.2
- [Release notes](https://github.com/PHPCSStandards/PHP_CodeSniffer/releases)
- [Changelog](https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/master/CHANGELOG.md)
- [Commits](PHPCSStandards/PHP_CodeSniffer@3.10.1...3.10.2)

---
updated-dependencies:
- dependency-name: rector/rector
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: all
- dependency-name: squizlabs/php_codesniffer
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: all
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file php Pull requests that update Php code labels Jul 22, 2024
@TravisCarden TravisCarden merged commit c0229ac into develop Jul 22, 2024
23 checks passed
@TravisCarden TravisCarden deleted the dependabot/composer/all-8719962303 branch July 22, 2024 22:21
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 php Pull requests that update Php code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant