d-claassen / dennisclaassen2023

0 stars 0 forks source link

Bump the code-style group with 4 updates #181

Closed dependabot[bot] closed 5 months ago

dependabot[bot] commented 5 months ago

Bumps the code-style group with 4 updates: phpcompatibility/phpcompatibility-paragonie, phpcompatibility/phpcompatibility-wp, phpcsstandards/phpcsutils and squizlabs/php_codesniffer.

Updates phpcompatibility/phpcompatibility-paragonie from 1.3.2 to 1.3.3

Release notes

Sourced from phpcompatibility/phpcompatibility-paragonie's releases.

1.3.3 - 2024-04-25

  • Prevent a new false positive when the ruleset is run over the code of the latest 1.x version of the sodium_compat polyfill itself.
  • The recommended version of the Composer PHPCS plugin is now ^1.0.
  • Other housekeeping. Includes a contribution from @​fredden.
Commits
  • 293975b Merge pull request #47 from PHPCompatibility/feature/changelog-1.3.3
  • 2449b00 Changelog for the release of version 1.3.3
  • 79eeee8 Merge pull request #48 from PHPCompatibility/feature/ghactions-minor-simplifi...
  • b6e1fd6 GH Actions: minor simplification
  • a53621b Merge pull request #44 from fredden/feature/composer.lock-false
  • f68cae1 Composer: avoid writing a lock file
  • a11d6ed Merge pull request #45 from PHPCompatibility/feature/ghactions-xmllint-bypass...
  • 0d82f23 GH Actions: work around intermittent apt-get errors
  • ede80c8 Merge pull request #46 from PHPCompatibility/feature/ghactions-update-for-sod...
  • 93a3376 Sodium Compat ruleset: prevent triggering on the polyfill
  • Additional commits viewable in compare view


Updates phpcompatibility/phpcompatibility-wp from 2.1.4 to 2.1.5

Release notes

Sourced from phpcompatibility/phpcompatibility-wp's releases.

2.1.5 - 2024-04-25

Commits
  • 01c1ff2 Merge pull request #58 from PHPCompatibility/feature/changelog-2.1.5
  • d427f4d Changelog for the release of version 2.1.5
  • 27ae51f Merge pull request #55 from swissspidy/add/wp65-polyfills
  • cd655a3 Merge pull request #56 from fredden/feature/composer.lock-false
  • 373dcaf Merge pull request #57 from PHPCompatibility/feature/ghactions-xmllint-bypass...
  • 55cd61b GH Actions: work around intermittent apt-get errors
  • dff681f Composer: avoid writing a lock file
  • 6904657 WP 6.5: account for new function polyfills
  • 02e4bf7 Merge pull request #53 from PHPCompatibility/feature/composer-security-link
  • 261a93b Composer.json: add link to security policy
  • Additional commits viewable in compare view


Updates phpcsstandards/phpcsutils from 1.0.10 to 1.0.11

Release notes

Sourced from phpcsstandards/phpcsutils's releases.

1.0.11 - 2024-04-24

Changed

Other

  • Various housekeeping and documentation improvements. Includes a contribution from @​fredden.

Fixed

PHPCS BackCompat

  • BCFile::getMethodProperties(): small performance improvement & more defensive coding, in line with same fix in PHPCS 3.9.2. #573

Utils

  • FunctionDeclarations::getProperties(): small performance improvement & more defensive coding, in line with same fix in PHPCS 3.9.2. #573
Changelog

Sourced from phpcsstandards/phpcsutils's changelog.

[1.0.11] - 2024-04-24

Changed

Other

  • Various housekeeping and documentation improvements. Includes a contribution from [@​fredden].

Fixed

PHPCS BackCompat

  • BCFile::getMethodProperties(): small performance improvement & more defensive coding, in line with same fix in PHPCS 3.9.2. #573

Utils

  • FunctionDeclarations::getProperties(): small performance improvement & more defensive coding, in line with same fix in PHPCS 3.9.2. #573

#573: PHPCSStandards/PHPCSUtils#573

Commits
  • c457da9 Merge pull request #586 from PHPCSStandards/develop
  • d7667db Merge pull request #585 from PHPCSStandards/feature/changelog-1.0.11
  • 859a67b Changelog for PHPCSUtils 1.0.11
  • f554eb0 Merge pull request #584 from PHPCSStandards/feature/cs-minor-fixes
  • 7d5498b Docs: improve type specificity
  • 4abf633 CS: minor fixes
  • dcccc06 Merge pull request #583 from PHPCSStandards/feature/ghactions-xmllint-bypass-...
  • 325e574 GH Actions: work around intermittent apt-get errors
  • d129d80 Merge pull request #582 from PHPCSStandards/feature/getversiontest-update-php...
  • 791abd8 GetVersionTest: update for release of PHPCS 3.9.2
  • Additional commits viewable in compare view


Updates squizlabs/php_codesniffer from 3.9.1 to 3.9.2

Release notes

Sourced from squizlabs/php_codesniffer's releases.

3.9.2 - 2024-04-24

Changed

  • The Generic.ControlStructures.DisallowYodaConditions sniff no longer listens for the null coalesce operator. #458
  • Various housekeeping, including improvements to the tests and documentation.

Fixed

  • Fixed bug #381 : Squiz.Commenting.ClosingDeclarationComment could throw the wrong error when the close brace being examined is at the very end of a file.
  • Fixed bug #385 : Generic.CodeAnalysis.JumbledIncrementer improved handling of parse errors/live coding.
  • Fixed bug #394 : Generic.Functions.CallTimePassByReference was not flagging call-time pass-by-reference in anonymous class instantiations
  • Fixed bug #420 : PEAR.Functions.FunctionDeclaration could run into a blocking PHP notice while fixing code containing a parse error.
  • Fixed bug #421 : File::getMethodProperties() small performance improvement & more defensive coding.
  • Fixed bug #423 : PEAR.WhiteSpace.ScopeClosingBrace would have a fixer conflict with itself when a close tag was preceded by non-empty inline HTML.
  • Fixed bug #424 : PSR2.Classes.ClassDeclaration using namespace relative interface names in the extends/implements part of a class declaration would lead to a fixer conflict.
  • Fixed bug #427 : Squiz.Operators.OperatorSpacing would have a fixer conflict with itself when an operator was preceeded by a new line and the previous line ended in a comment.
  • Fixed bug #430 : Squiz.ControlStructures.ForLoopDeclaration: fixed potential undefined array index notice
  • Fixed bug #431 : PSR2.Classes.ClassDeclaration will no longer try to auto-fix multi-line interface implements statements if these are interlaced with comments on their own line. This prevents a potential fixer conflict.
  • Fixed bug #453 : Arrow function tokenization was broken when the return type was a stand-alone true or false; or contained true or false as part of a union type.

Other

  • ESLint 9.0 has been released and changes the supported configuration file format. The (deprecated) Generic.Debug.ESLint sniff only supports the "old" configuration file formats and when using the sniff to run ESLint, the ESLINT_USE_FLAT_CONFIG=false environment variable will need to be set when using ESLint >= 9.0. For more information, see #436.

Statistics

Closed: 0 issues Merged: 22 pull requests

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

If you like what you see, please consider funding the PHP_CodeSniffer project. If you already do so: thank you!

Changelog

Sourced from squizlabs/php_codesniffer's changelog.

[3.9.2] - 2024-04-24

Changed

  • The Generic.ControlStructures.DisallowYodaConditions sniff no longer listens for the null coalesce operator. #458
  • Various housekeeping, including improvements to the tests and documentation.

Fixed

  • Fixed bug #381 : Squiz.Commenting.ClosingDeclarationComment could throw the wrong error when the close brace being examined is at the very end of a file.
  • Fixed bug #385 : Generic.CodeAnalysis.JumbledIncrementer improved handling of parse errors/live coding.
  • Fixed bug #394 : Generic.Functions.CallTimePassByReference was not flagging call-time pass-by-reference in anonymous class instantiations
  • Fixed bug #420 : PEAR.Functions.FunctionDeclaration could run into a blocking PHP notice while fixing code containing a parse error.
    • Thanks to [Juliette Reinders Folmer][@​jrfnl] for the patch
  • Fixed bug #421 : File::getMethodProperties() small performance improvement & more defensive coding.
    • Thanks to [Juliette Reinders Folmer][@​jrfnl] for the patch
  • Fixed bug #423 : PEAR.WhiteSpace.ScopeClosingBrace would have a fixer conflict with itself when a close tag was preceded by non-empty inline HTML.
    • Thanks to [Juliette Reinders Folmer][@​jrfnl] for the patch
  • Fixed bug #424 : PSR2.Classes.ClassDeclaration using namespace relative interface names in the extends/implements part of a class declaration would lead to a fixer conflict.
    • Thanks to [Juliette Reinders Folmer][@​jrfnl] for the patch
  • Fixed bug #427 : Squiz.Operators.OperatorSpacing would have a fixer conflict with itself when an operator was preceeded by a new line and the previous line ended in a comment.
    • Thanks to [Juliette Reinders Folmer][@​jrfnl] for the patch
  • Fixed bug #430 : Squiz.ControlStructures.ForLoopDeclaration: fixed potential undefined array index notice
    • Thanks to [Juliette Reinders Folmer][@​jrfnl] for the patch
  • Fixed bug #431 : PSR2.Classes.ClassDeclaration will no longer try to auto-fix multi-line interface implements statements if these are interlaced with comments on their own line. This prevents a potential fixer conflict.
    • Thanks to [Juliette Reinders Folmer][@​jrfnl] for the patch
  • Fixed bug #453 : Arrow function tokenization was broken when the return type was a stand-alone true or false; or contained true or false as part of a union type.
    • Thanks to [Juliette Reinders Folmer][@​jrfnl] for the patch

Other

  • ESLint 9.0 has been released and changes the supported configuration file format. The (deprecated) Generic.Debug.ESLint sniff only supports the "old" configuration file formats and when using the sniff to run ESLint, the ESLINT_USE_FLAT_CONFIG=false environment variable will need to be set when using ESLint >= 9.0. For more information, see #436.

#381: PHPCSStandards/PHP_CodeSniffer#381 #385: PHPCSStandards/PHP_CodeSniffer#385 #394: PHPCSStandards/PHP_CodeSniffer#394 #420: PHPCSStandards/PHP_CodeSniffer#420 #421: PHPCSStandards/PHP_CodeSniffer#421 #423: PHPCSStandards/PHP_CodeSniffer#423 #424: PHPCSStandards/PHP_CodeSniffer#424 #427: PHPCSStandards/PHP_CodeSniffer#427 #430: PHPCSStandards/PHP_CodeSniffer#430 #431: PHPCSStandards/PHP_CodeSniffer#431

... (truncated)

Commits
  • aac1f6f Merge pull request #459 from PHPCSStandards/feature/changelog-3.9.2
  • f076b63 Changelog for the 3.9.2 release
  • 83f3859 Merge pull request #460 from PHPCSStandards/feature/tests-arrow-functions-vs-...
  • 273959e Tokenizer/PHP: add tests for arrow functions with intersection types
  • b0d2d61 Merge pull request #453 from PHPCSStandards/feature/tokenizer-php-fix-bug-arr...
  • bd6356c Tokenizer/PHP: arrow function tokenization broken when true/false used in ret...
  • 46b883d BackfillFnTokenTest: use data providers when appropriate
  • 5f38ce0 Merge pull request #458 from rodrigoprimo/disallow-yoda-condition-drop-null-c...
  • e4d3743 Generic/DisallowYodaConditions: ?? should not trigger the sniff
  • 8d2363d Merge pull request #394 from rodrigoprimo/test-coverage-call-time-pass-by-ref...
  • 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 ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore 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 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 ` 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 ` will remove all of the ignore conditions of the specified dependency - `@dependabot unignore ` will remove the ignore condition of the specified dependency and ignore conditions