[PR #434] [MERGED] chore(deps-dev): bump squizlabs/php_codesniffer from 3.9.0 to 3.9.1 #1097

Closed
opened 2026-03-15 15:52:36 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/flyimg/flyimg/pull/434
Author: @dependabot[bot]
Created: 4/1/2024
Status: Merged
Merged: 4/1/2024
Merged by: @sadok-f

Base: mainHead: dependabot/composer/squizlabs/php_codesniffer-3.9.1


📝 Commits (1)

  • b4d016e chore(deps-dev): bump squizlabs/php_codesniffer from 3.9.0 to 3.9.1

📊 Changes

1 file changed (+5 additions, -5 deletions)

View changed files

📝 composer.lock (+5 -5)

📄 Description

Bumps squizlabs/php_codesniffer from 3.9.0 to 3.9.1.

Release notes

Sourced from squizlabs/php_codesniffer's releases.

3.9.1 - 2024-03-31

Added

  • Documentation for the following sniffs:
    • Generic.PHP.RequireStrictTypes
    • Squiz.WhiteSpace.MemberVarSpacing
    • Squiz.WhiteSpace.ScopeClosingBrace
    • Squiz.WhiteSpace.SuperfluousWhitespace
    • Thanks to Jay McPartland and Rodrigo Primo for the patches.

Changed

  • The following sniffs have received performance related improvements:
    • Generic.CodeAnalysis.UselessOverridingMethod
    • Generic.Files.ByteOrderMark
    • Thanks to Rodrigo Primo for the patches.
  • Performance improvement for the "Diff" report. Should be most notable for Windows users. #355
  • The test suite has received some performance improvements. Should be most notable contributors using Windows. #351
    • External standards with sniff tests using the PHP_CodeSniffer native test framework will also benefit from these changes.
    • Thanks to Juliette Reinders Folmer for the patch.
  • Various housekeeping, including improvements to the tests and documentation.

Fixed

  • Fixed bug #289 : Squiz.WhiteSpace.OperatorSpacing and PSR12.Operators.OperatorSpacing : improved fixer conflict protection by more strenuously avoiding handling operators in declare statements.
  • Fixed bug #366 : Generic.CodeAnalysis.UselessOverridingMethod : prevent false negative when the declared method name and the called method name do not use the same case.
  • Fixed bug #368 : Squiz.Arrays.ArrayDeclaration fixer did not handle static closures correctly when moving array items to their own line.
  • Fixed bug #404 : Test framework : fixed PHP 8.4 deprecation notice.

New Contributors

The PHP_CodeSniffer project is happy to welcome the following new contributors: @​jaymcp @​jpoliveira08

Statistics

Closed: 2 issues Merged: 52 pull requests

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

Changelog

Sourced from squizlabs/php_codesniffer's changelog.

[3.9.1] - 2024-03-31

Added

  • Documentation for the following sniffs:
    • Generic.PHP.RequireStrictTypes
    • Squiz.WhiteSpace.MemberVarSpacing
    • Squiz.WhiteSpace.ScopeClosingBrace
    • Squiz.WhiteSpace.SuperfluousWhitespace
    • Thanks to [Jay McPartland][@​jonmcp] and [Rodrigo Primo][@​rodrigoprimo] for the patches.

Changed

  • The following sniffs have received performance related improvements:
    • Generic.CodeAnalysis.UselessOverridingMethod
    • Generic.Files.ByteOrderMark
    • Thanks to [Rodrigo Primo][@​rodrigoprimo] for the patches.
  • Performance improvement for the "Diff" report. Should be most notable for Windows users. #355
    • Thanks to [Juliette Reinders Folmer][@​jrfnl] for the patch.
  • The test suite has received some performance improvements. Should be most notable contributors using Windows. #351
    • External standards with sniff tests using the PHP_CodeSniffer native test framework will also benefit from these changes.
    • Thanks to [Juliette Reinders Folmer][@​jrfnl] for the patch.
  • Various housekeeping, including improvements to the tests and documentation.

Fixed

  • Fixed bug #289 : Squiz.WhiteSpace.OperatorSpacing and PSR12.Operators.OperatorSpacing : improved fixer conflict protection by more strenuously avoiding handling operators in declare statements.
  • Fixed bug #366 : Generic.CodeAnalysis.UselessOverridingMethod : prevent false negative when the declared method name and the called method name do not use the same case.
  • Fixed bug #368 : Squiz.Arrays.ArrayDeclaration fixer did not handle static closures correctly when moving array items to their own line.
  • Fixed bug #404 : Test framework : fixed PHP 8.4 deprecation notice.
    • Thanks to [Juliette Reinders Folmer][@​jrfnl] for the patch

#289: PHPCSStandards/PHP_CodeSniffer#289 #351: PHPCSStandards/PHP_CodeSniffer#351 #355: PHPCSStandards/PHP_CodeSniffer#355 #366: PHPCSStandards/PHP_CodeSniffer#366 #368: PHPCSStandards/PHP_CodeSniffer#368 #404: PHPCSStandards/PHP_CodeSniffer#404

Commits
  • 267a440 Merge pull request #428 from PHPCSStandards/feature/changelog-3.9.1
  • 9daf6fb Changelog for the 3.9.1 release
  • 218d2a5 Merge pull request #379 from michalbundyra/fix/followup-369
  • fff9d82 Follow-up #369 - Squiz.Arrays.ArrayDeclaration for static
  • eeb5c29 Merge pull request #426 from PHPCSStandards/feature/tests-fix-invalid-testcase
  • 36aa41a IsReferenceTest: fix invalid test case
  • c5e1807 Merge pull request #422 from PHPCSStandards/feature/test-othercontextsensitiv...
  • 6f46b10 Tests/OtherContextSensitiveKeywordsTest: fix unintentional parse error
  • 846fbf0 Merge pull request #417 from PHPCSStandards/feature/contributing-add-note-abo...
  • cf42e5b CONTRIBUTING: add note about the community cc-list
  • 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 <dependency name> 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)

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/flyimg/flyimg/pull/434 **Author:** [@dependabot[bot]](https://github.com/apps/dependabot) **Created:** 4/1/2024 **Status:** ✅ Merged **Merged:** 4/1/2024 **Merged by:** [@sadok-f](https://github.com/sadok-f) **Base:** `main` ← **Head:** `dependabot/composer/squizlabs/php_codesniffer-3.9.1` --- ### 📝 Commits (1) - [`b4d016e`](https://github.com/flyimg/flyimg/commit/b4d016e574004f750ed3ec6207dda984cd86544e) chore(deps-dev): bump squizlabs/php_codesniffer from 3.9.0 to 3.9.1 ### 📊 Changes **1 file changed** (+5 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `composer.lock` (+5 -5) </details> ### 📄 Description Bumps [squizlabs/php_codesniffer](https://github.com/PHPCSStandards/PHP_CodeSniffer) from 3.9.0 to 3.9.1. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/PHPCSStandards/PHP_CodeSniffer/releases">squizlabs/php_codesniffer's releases</a>.</em></p> <blockquote> <h2>3.9.1 - 2024-03-31</h2> <h3>Added</h3> <ul> <li>Documentation for the following sniffs: <ul> <li>Generic.PHP.RequireStrictTypes</li> <li>Squiz.WhiteSpace.MemberVarSpacing</li> <li>Squiz.WhiteSpace.ScopeClosingBrace</li> <li>Squiz.WhiteSpace.SuperfluousWhitespace</li> <li>Thanks to <a href="https://github.com/jonmcp">Jay McPartland</a> and <a href="https://github.com/rodrigoprimo">Rodrigo Primo</a> for the patches.</li> </ul> </li> </ul> <h3>Changed</h3> <ul> <li>The following sniffs have received performance related improvements: <ul> <li>Generic.CodeAnalysis.UselessOverridingMethod</li> <li>Generic.Files.ByteOrderMark</li> <li>Thanks to <a href="https://github.com/rodrigoprimo">Rodrigo Primo</a> for the patches.</li> </ul> </li> <li>Performance improvement for the &quot;Diff&quot; report. Should be most notable for Windows users. <a href="https://redirect.github.com/PHPCSStandards/PHP_CodeSniffer/issues/355">#355</a> <ul> <li>Thanks to <a href="https://github.com/jrfnl">Juliette Reinders Folmer</a> for the patch.</li> </ul> </li> <li>The test suite has received some performance improvements. Should be most notable contributors using Windows. <a href="https://redirect.github.com/PHPCSStandards/PHP_CodeSniffer/issues/351">#351</a> <ul> <li>External standards with sniff tests using the PHP_CodeSniffer native test framework will also benefit from these changes.</li> <li>Thanks to <a href="https://github.com/jrfnl">Juliette Reinders Folmer</a> for the patch.</li> </ul> </li> <li>Various housekeeping, including improvements to the tests and documentation. <ul> <li>Thanks to <a href="https://github.com/jonmcp">Jay McPartland</a>, <a href="https://github.com/jpoliveira08">João Pedro Oliveira</a>, <a href="https://github.com/rodrigoprimo">Rodrigo Primo</a> and <a href="https://github.com/jrfnl">Juliette Reinders Folmer</a> for their contributions.</li> </ul> </li> </ul> <h3>Fixed</h3> <ul> <li>Fixed bug <a href="https://redirect.github.com/PHPCSStandards/PHP_CodeSniffer/issues/289">#289</a> : Squiz.WhiteSpace.OperatorSpacing and PSR12.Operators.OperatorSpacing : improved fixer conflict protection by more strenuously avoiding handling operators in declare statements. <ul> <li>Thanks to <a href="https://github.com/fredden">Dan Wallis</a> for the patch.</li> </ul> </li> <li>Fixed bug <a href="https://redirect.github.com/PHPCSStandards/PHP_CodeSniffer/issues/366">#366</a> : Generic.CodeAnalysis.UselessOverridingMethod : prevent false negative when the declared method name and the called method name do not use the same case. <ul> <li>Thanks to <a href="https://github.com/rodrigoprimo">Rodrigo Primo</a> for the patch.</li> </ul> </li> <li>Fixed bug <a href="https://redirect.github.com/PHPCSStandards/PHP_CodeSniffer/issues/368">#368</a> : Squiz.Arrays.ArrayDeclaration fixer did not handle static closures correctly when moving array items to their own line. <ul> <li>Thanks to <a href="https://github.com/michalbundyra">Michał Bundyra</a> for the patch.</li> </ul> </li> <li>Fixed bug <a href="https://redirect.github.com/PHPCSStandards/PHP_CodeSniffer/issues/404">#404</a> : Test framework : fixed PHP 8.4 deprecation notice. <ul> <li>Thanks to <a href="https://github.com/jrfnl">Juliette Reinders Folmer</a> for the patch</li> </ul> </li> </ul> <hr /> <h3>New Contributors</h3> <p>The PHP_CodeSniffer project is happy to welcome the following new contributors: <a href="https://github.com/jaymcp"><code>@​jaymcp</code></a> <a href="https://github.com/jpoliveira08"><code>@​jpoliveira08</code></a></p> <h3>Statistics</h3> <p><strong>Closed</strong>: 2 issues <strong>Merged</strong>: 52 pull requests</p> <p>If you like to stay informed about releases and more, follow <a href="https://phpc.social/@phpcs"><code>@​phpcs on Mastodon</code></a> or <a href="https://twitter.com/PHP_CodeSniffer"><code>@​PHP_CodeSniffer on X</code></a>.</p> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/master/CHANGELOG.md">squizlabs/php_codesniffer's changelog</a>.</em></p> <blockquote> <h2>[3.9.1] - 2024-03-31</h2> <h3>Added</h3> <ul> <li>Documentation for the following sniffs: <ul> <li>Generic.PHP.RequireStrictTypes</li> <li>Squiz.WhiteSpace.MemberVarSpacing</li> <li>Squiz.WhiteSpace.ScopeClosingBrace</li> <li>Squiz.WhiteSpace.SuperfluousWhitespace</li> <li>Thanks to [Jay McPartland][<a href="https://github.com/jonmcp"><code>@​jonmcp</code></a>] and [Rodrigo Primo][<a href="https://github.com/rodrigoprimo"><code>@​rodrigoprimo</code></a>] for the patches.</li> </ul> </li> </ul> <h3>Changed</h3> <ul> <li>The following sniffs have received performance related improvements: <ul> <li>Generic.CodeAnalysis.UselessOverridingMethod</li> <li>Generic.Files.ByteOrderMark</li> <li>Thanks to [Rodrigo Primo][<a href="https://github.com/rodrigoprimo"><code>@​rodrigoprimo</code></a>] for the patches.</li> </ul> </li> <li>Performance improvement for the &quot;Diff&quot; report. Should be most notable for Windows users. <a href="https://redirect.github.com/PHPCSStandards/PHP_CodeSniffer/issues/355">#355</a> <ul> <li>Thanks to [Juliette Reinders Folmer][<a href="https://github.com/jrfnl"><code>@​jrfnl</code></a>] for the patch.</li> </ul> </li> <li>The test suite has received some performance improvements. Should be most notable contributors using Windows. <a href="https://redirect.github.com/PHPCSStandards/PHP_CodeSniffer/issues/351">#351</a> <ul> <li>External standards with sniff tests using the PHP_CodeSniffer native test framework will also benefit from these changes.</li> <li>Thanks to [Juliette Reinders Folmer][<a href="https://github.com/jrfnl"><code>@​jrfnl</code></a>] for the patch.</li> </ul> </li> <li>Various housekeeping, including improvements to the tests and documentation. <ul> <li>Thanks to [Jay McPartland][<a href="https://github.com/jonmcp"><code>@​jonmcp</code></a>], [João Pedro Oliveira][<a href="https://github.com/jpoliveira08"><code>@​jpoliveira08</code></a>], [Rodrigo Primo][<a href="https://github.com/rodrigoprimo"><code>@​rodrigoprimo</code></a>] and [Juliette Reinders Folmer][<a href="https://github.com/jrfnl"><code>@​jrfnl</code></a>] for their contributions.</li> </ul> </li> </ul> <h3>Fixed</h3> <ul> <li>Fixed bug <a href="https://redirect.github.com/PHPCSStandards/PHP_CodeSniffer/issues/289">#289</a> : Squiz.WhiteSpace.OperatorSpacing and PSR12.Operators.OperatorSpacing : improved fixer conflict protection by more strenuously avoiding handling operators in declare statements. <ul> <li>Thanks to [Dan Wallis][<a href="https://github.com/fredden"><code>@​fredden</code></a>] for the patch.</li> </ul> </li> <li>Fixed bug <a href="https://redirect.github.com/PHPCSStandards/PHP_CodeSniffer/issues/366">#366</a> : Generic.CodeAnalysis.UselessOverridingMethod : prevent false negative when the declared method name and the called method name do not use the same case. <ul> <li>Thanks to [Rodrigo Primo][<a href="https://github.com/rodrigoprimo"><code>@​rodrigoprimo</code></a>] for the patch.</li> </ul> </li> <li>Fixed bug <a href="https://redirect.github.com/PHPCSStandards/PHP_CodeSniffer/issues/368">#368</a> : Squiz.Arrays.ArrayDeclaration fixer did not handle static closures correctly when moving array items to their own line. <ul> <li>Thanks to [Michał Bundyra][<a href="https://github.com/michalbundyra"><code>@​michalbundyra</code></a>] for the patch.</li> </ul> </li> <li>Fixed bug <a href="https://redirect.github.com/PHPCSStandards/PHP_CodeSniffer/issues/404">#404</a> : Test framework : fixed PHP 8.4 deprecation notice. <ul> <li>Thanks to [Juliette Reinders Folmer][<a href="https://github.com/jrfnl"><code>@​jrfnl</code></a>] for the patch</li> </ul> </li> </ul> <p><a href="https://redirect.github.com/PHPCSStandards/PHP_CodeSniffer/issues/289">#289</a>: <a href="https://redirect.github.com/PHPCSStandards/PHP_CodeSniffer/pull/289">PHPCSStandards/PHP_CodeSniffer#289</a> <a href="https://redirect.github.com/PHPCSStandards/PHP_CodeSniffer/issues/351">#351</a>: <a href="https://redirect.github.com/PHPCSStandards/PHP_CodeSniffer/pull/351">PHPCSStandards/PHP_CodeSniffer#351</a> <a href="https://redirect.github.com/PHPCSStandards/PHP_CodeSniffer/issues/355">#355</a>: <a href="https://redirect.github.com/PHPCSStandards/PHP_CodeSniffer/pull/355">PHPCSStandards/PHP_CodeSniffer#355</a> <a href="https://redirect.github.com/PHPCSStandards/PHP_CodeSniffer/issues/366">#366</a>: <a href="https://redirect.github.com/PHPCSStandards/PHP_CodeSniffer/pull/366">PHPCSStandards/PHP_CodeSniffer#366</a> <a href="https://redirect.github.com/PHPCSStandards/PHP_CodeSniffer/issues/368">#368</a>: <a href="https://redirect.github.com/PHPCSStandards/PHP_CodeSniffer/issues/368">PHPCSStandards/PHP_CodeSniffer#368</a> <a href="https://redirect.github.com/PHPCSStandards/PHP_CodeSniffer/issues/404">#404</a>: <a href="https://redirect.github.com/PHPCSStandards/PHP_CodeSniffer/pull/404">PHPCSStandards/PHP_CodeSniffer#404</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/PHPCSStandards/PHP_CodeSniffer/commit/267a4405fff1d9c847134db3a3c92f1ab7f77909"><code>267a440</code></a> Merge pull request <a href="https://redirect.github.com/PHPCSStandards/PHP_CodeSniffer/issues/428">#428</a> from PHPCSStandards/feature/changelog-3.9.1</li> <li><a href="https://github.com/PHPCSStandards/PHP_CodeSniffer/commit/9daf6fb89b04c4cb3cee2779badaea39468bc3c7"><code>9daf6fb</code></a> Changelog for the 3.9.1 release</li> <li><a href="https://github.com/PHPCSStandards/PHP_CodeSniffer/commit/218d2a529088289eb201ac056a966e65d47d8aaf"><code>218d2a5</code></a> Merge pull request <a href="https://redirect.github.com/PHPCSStandards/PHP_CodeSniffer/issues/379">#379</a> from michalbundyra/fix/followup-369</li> <li><a href="https://github.com/PHPCSStandards/PHP_CodeSniffer/commit/fff9d825827f355ba38c463c98344b50e1cae056"><code>fff9d82</code></a> Follow-up <a href="https://redirect.github.com/PHPCSStandards/PHP_CodeSniffer/issues/369">#369</a> - Squiz.Arrays.ArrayDeclaration for static</li> <li><a href="https://github.com/PHPCSStandards/PHP_CodeSniffer/commit/eeb5c2932bc8022f60c1cc1b5ddba403c85a64ac"><code>eeb5c29</code></a> Merge pull request <a href="https://redirect.github.com/PHPCSStandards/PHP_CodeSniffer/issues/426">#426</a> from PHPCSStandards/feature/tests-fix-invalid-testcase</li> <li><a href="https://github.com/PHPCSStandards/PHP_CodeSniffer/commit/36aa41afa45247f288cf63295a268ef7b1a7c7a5"><code>36aa41a</code></a> IsReferenceTest: fix invalid test case</li> <li><a href="https://github.com/PHPCSStandards/PHP_CodeSniffer/commit/c5e180792e6b0d5626137509f0615ddcc4b1fa03"><code>c5e1807</code></a> Merge pull request <a href="https://redirect.github.com/PHPCSStandards/PHP_CodeSniffer/issues/422">#422</a> from PHPCSStandards/feature/test-othercontextsensitiv...</li> <li><a href="https://github.com/PHPCSStandards/PHP_CodeSniffer/commit/6f46b1070c3130136ae0ac1f3b384abc9362ed18"><code>6f46b10</code></a> Tests/OtherContextSensitiveKeywordsTest: fix unintentional parse error</li> <li><a href="https://github.com/PHPCSStandards/PHP_CodeSniffer/commit/846fbf0ab9a22b5ab3eb19e230bc224ed9cd289e"><code>846fbf0</code></a> Merge pull request <a href="https://redirect.github.com/PHPCSStandards/PHP_CodeSniffer/issues/417">#417</a> from PHPCSStandards/feature/contributing-add-note-abo...</li> <li><a href="https://github.com/PHPCSStandards/PHP_CodeSniffer/commit/cf42e5bb03f70dab5263ede8273c5e536357c82a"><code>cf42e5b</code></a> CONTRIBUTING: add note about the community cc-list</li> <li>Additional commits viewable in <a href="https://github.com/PHPCSStandards/PHP_CodeSniffer/compare/3.9.0...3.9.1">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=squizlabs/php_codesniffer&package-manager=composer&previous-version=3.9.0&new-version=3.9.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 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-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> 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 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) </details> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-15 15:52:36 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/flyimg#1097
No description provided.