skaut / skaut-google-drive-gallery

A WordPress gallery using Google Drive as file storage.
https://wordpress.org/plugins/skaut-google-drive-gallery/
MIT License
50 stars 9 forks source link

Bump squizlabs/php_codesniffer from 3.10.1 to 3.10.2 #2769

Closed dependabot[bot] closed 3 months ago

dependabot[bot] commented 3 months ago

Bumps 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 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 show ignore conditions` will show all of the ignore conditions of the specified dependency - `@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)
codecov[bot] commented 3 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 0.20%. Comparing base (6f99bd2) to head (7aef711).

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/skaut/skaut-google-drive-gallery/pull/2769/graphs/tree.svg?width=650&height=150&src=pr&token=dtVcph5Q0t&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=skaut)](https://app.codecov.io/gh/skaut/skaut-google-drive-gallery/pull/2769?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=skaut) ```diff @@ Coverage Diff @@ ## master #2769 +/- ## ======================================== Coverage 0.20% 0.20% Complexity 407 407 ======================================== Files 51 51 Lines 1493 1493 ======================================== Hits 3 3 Misses 1490 1490 ```