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

deps(php): bump the composer group across 1 directory with 3 updates #6534

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 3, 2025

Bumps the composer group with 3 updates in the /dependencies/composer directory: squizlabs/php_codesniffer, phpstan/phpstan and vimeo/psalm.

Updates squizlabs/php_codesniffer from 3.11.1 to 3.11.3

Release notes

Sourced from squizlabs/php_codesniffer's releases.

3.11.3 - 2025-01-23

Changed

  • Generic.ControlStructures.InlineControlStructure no longer unnecessarily listens for T_SWITCH tokens. #595
  • Squiz.Functions.FunctionDeclarationArgumentSpacing: improvements to error message for SpaceBeforeComma error. #783
  • The following sniff(s) have received efficiency improvements:
  • Various housekeeping, including improvements to the tests and documentation.

Fixed

  • Fixed bug #620 : Squiz.Functions.FunctionDeclarationArgumentSpacing: newlines after type will now be handled by the fixer. This also prevents a potential fixer conflict.
  • Fixed bug #782 : Tokenizer/PHP: prevent an "Undefined array key" notice during live coding for unfinished arrow functions.
  • Fixed bug #783 : Squiz.Functions.FunctionDeclarationArgumentSpacing: new line after reference token was not flagged nor fixed.
  • Fixed bug #783 : Squiz.Functions.FunctionDeclarationArgumentSpacing: new line after variadic token was not flagged nor fixed.
  • Fixed bug #783 : Squiz.Functions.FunctionDeclarationArgumentSpacing: new line before/after the equal sign for default values was not flagged nor fixed when equalsSpacing was set to 0.
  • Fixed bug #783 : Squiz.Functions.FunctionDeclarationArgumentSpacing: fixer conflict when a new line is found before/after the equal sign for default values and equalsSpacing was set to 1.
  • Fixed bug #783 : Squiz.Functions.FunctionDeclarationArgumentSpacing: fixer for spacing before/after equal sign could inadvertently remove comment.
  • Fixed bug #783 : Squiz.Functions.FunctionDeclarationArgumentSpacing: fixer will now handle comments between the end of a parameter and a comma more cleanly.
  • Fixed bug #784 : Squiz.WhiteSpace.FunctionSpacing: prevent fixer conflict when a multi-line docblock would start on the same line as the function close curly being examined.

Statistics

Closed: 0 issues Merged: 14 pull requests

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

Please consider funding the PHP_CodeSniffer project. If you already do so: thank you!

3.11.2 - 2024-12-11

Changed

  • Generators/HTML + Markdown: the output will now be empty (no page header/footer) when there are no docs to display. #687
    • This is in line with the Text Generator which already didn't produce output if there are no docs.
    • Thanks to Juliette Reinders Folmer for the patch.
  • Generators/HTML: only display a Table of Contents when there is more than one sniff with documentation. #697

... (truncated)

Changelog

Sourced from squizlabs/php_codesniffer's changelog.

[3.11.3] - 2025-01-23

Changed

  • Generic.ControlStructures.InlineControlStructure no longer unnecessarily listens for T_SWITCH tokens. #595
  • Squiz.Functions.FunctionDeclarationArgumentSpacing: improvements to error message for SpaceBeforeComma error. #783
  • The following sniff(s) have received efficiency improvements:
    • Squiz.Functions.FunctionDeclarationArgumentSpacing
    • Thanks to [Dan Wallis][@​fredden] and [Juliette Reinders Folmer][@​jrfnl] for the patches.
  • Various housekeeping, including improvements to the tests and documentation.

Fixed

  • Fixed bug #620 : Squiz.Functions.FunctionDeclarationArgumentSpacing: newlines after type will now be handled by the fixer. This also prevents a potential fixer conflict.
  • Fixed bug #782 : Tokenizer/PHP: prevent an "Undefined array key" notice during live coding for unfinished arrow functions.
    • Thanks to [Juliette Reinders Folmer][@​jrfnl] for the patch.
  • Fixed bug #783 : Squiz.Functions.FunctionDeclarationArgumentSpacing: new line after reference token was not flagged nor fixed.
    • Thanks to [Juliette Reinders Folmer][@​jrfnl] for the patch.
  • Fixed bug #783 : Squiz.Functions.FunctionDeclarationArgumentSpacing: new line after variadic token was not flagged nor fixed.
    • Thanks to [Juliette Reinders Folmer][@​jrfnl] for the patch.
  • Fixed bug #783 : Squiz.Functions.FunctionDeclarationArgumentSpacing: new line before/after the equal sign for default values was not flagged nor fixed when equalsSpacing was set to 0.
    • Thanks to [Juliette Reinders Folmer][@​jrfnl] for the patch.
  • Fixed bug #783 : Squiz.Functions.FunctionDeclarationArgumentSpacing: fixer conflict when a new line is found before/after the equal sign for default values and equalsSpacing was set to 1.
    • Thanks to [Juliette Reinders Folmer][@​jrfnl] for the patch.
  • Fixed bug #783 : Squiz.Functions.FunctionDeclarationArgumentSpacing: fixer for spacing before/after equal sign could inadvertently remove comment.
    • Thanks to [Juliette Reinders Folmer][@​jrfnl] for the patch.
  • Fixed bug #783 : Squiz.Functions.FunctionDeclarationArgumentSpacing: fixer will now handle comments between the end of a parameter and a comma more cleanly.
    • Thanks to [Juliette Reinders Folmer][@​jrfnl] for the patch.
  • Fixed bug #784 : Squiz.WhiteSpace.FunctionSpacing: prevent fixer conflict when a multi-line docblock would start on the same line as the function close curly being examined.
    • Thanks to [Klaus Purer][@​klausi] for the patch

#595: PHPCSStandards/PHP_CodeSniffer#595 #620: PHPCSStandards/PHP_CodeSniffer#620 #782: PHPCSStandards/PHP_CodeSniffer#782 #783: PHPCSStandards/PHP_CodeSniffer#783 #784: PHPCSStandards/PHP_CodeSniffer#784

[3.11.2] - 2024-12-11

Changed

  • Generators/HTML + Markdown: the output will now be empty (no page header/footer) when there are no docs to display. #687
    • This is in line with the Text Generator which already didn't produce output if there are no docs.
    • Thanks to [Juliette Reinders Folmer][@​jrfnl] for the patch.
  • Generators/HTML: only display a Table of Contents when there is more than one sniff with documentation. #697
    • Thanks to [Juliette Reinders Folmer][@​jrfnl] for the patch.
  • Generators/HTML: improved handling of line breaks in <standard> blocks. #723
    • Thanks to [Juliette Reinders Folmer][@​jrfnl] for the patch.
  • Generators/Markdown: improved compatibility with the variety of available markdown parsers. #722
    • Thanks to [Juliette Reinders Folmer][@​jrfnl] for the patch.

... (truncated)

Commits
  • ba05f99 Merge pull request #789 from PHPCSStandards/feature/changelog-3.11.3
  • 2c9a33c Changelog for the 3.11.3 release
  • 751d4b0 Merge pull request #788 from PHPCSStandards/feature/docs-various-fixes
  • e8e123e Merge pull request #783 from PHPCSStandards/feature/squiz-functiondeclaration...
  • 76d4892 Docs: various minor fixes
  • d8924e3 Squiz/FunctionDeclarationArgumentSpacing: minor simplification
  • 0fec9ee Squiz/FunctionDeclarationArgumentSpacing: add test for the `NoSpaceBeforeHint...
  • d62f08d Squiz/FunctionDeclarationArgumentSpacing: add parse error/live coding tests
  • 7463c78 Squiz/FunctionDeclarationArgumentSpacing: rename test case file
  • 0e0e0fb Squiz/FunctionDeclarationArgumentSpacing: improve SpaceBeforeComma fixer
  • Additional commits viewable in compare view

Updates phpstan/phpstan from 2.0.3 to 2.1.2

Release notes

Sourced from phpstan/phpstan's releases.

2.1.2

Improvements 🔧

Bugfixes 🐛

Function signature fixes 🤖

Internals 🔍

2.1.1

Improvements 🔧

Bugfixes 🐛

... (truncated)

Commits
  • 7d08f56 PHPStan 2.1.2
  • a54cdb0 Updated PHPStan to commit a54cdb0675e23385adba9d1b2b9e643994fa20d7
  • bed30a7 Updated PHPStan to commit bed30a79f4ed17651c48c031b89b60d4ce7453b2
  • b6b8ebd Updated PHPStan to commit b6b8ebd0fc5e6787214f31ad94ad2ca06030f26c
  • 961b404 Updated PHPStan to commit 961b404911dfebe0d03a4efe25ce6bca2e2b0932
  • 4e84074 Update errors identifiers
  • 14d5b98 Updated PHPStan to commit 14d5b98d5b57c7810f40c87160c783eea4cfd15d
  • bf923ad Updated PHPStan to commit bf923adb994d7b1f18954f2bb8ab3f855485b331
  • 7ac33a5 Update errors identifiers
  • 69770e5 Updated PHPStan to commit 69770e516e8800392ccf41f8d89b16e4155a7798
  • Additional commits viewable in compare view

Updates vimeo/psalm from 5.26.1 to 6.2.0

Release notes

Sourced from vimeo/psalm's releases.

6.2.0

This release was possible thanks to a Psalm support contract!

This release adds the new LiteralKeyUnshapedArray issue, controlled by the disallowLiteralKeysOnUnshapedArrays configuration flag (false by default), useful to enforce usage of shaped arrays instead of generic arrays.

What's Changed

Features

Fixes

Full Changelog: vimeo/psalm@6.1.0...6.2.0

6.1.0

This release was possible thanks to a Psalm support contract!

This release greatly improves multithreaded mode, fixing some nasty issues and greatly improving efficiency, thanks to efficient task scheduling powered by amphp/parallel (& some custom code to allow usage of copy-on-write optimizations with forks instead of spawning new processes).

This release also adds a runtime check to prevent Psalm from running on Linux systems where VM overcommitting is disabled: Psalm makes heavy use of VM overcommitting (specifically during forking in multithreaded mode) to greatly reduce RAM usage and improve performance.
Note that in the vast majority of Linux systems, VM overcommitting is already enabled by default.

What's Changed

Features

Fixes

Internal changes

Other changes

Full Changelog: vimeo/psalm@6.0.0...6.1.0

Psalm v6

This is the first release of Psalm v6!

... (truncated)

Commits

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 composer group with 3 updates in the /dependencies/composer directory: [squizlabs/php_codesniffer](https://github.com/PHPCSStandards/PHP_CodeSniffer), [phpstan/phpstan](https://github.com/phpstan/phpstan) and [vimeo/psalm](https://github.com/vimeo/psalm).


Updates `squizlabs/php_codesniffer` from 3.11.1 to 3.11.3
- [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.11.1...3.11.3)

Updates `phpstan/phpstan` from 2.0.3 to 2.1.2
- [Release notes](https://github.com/phpstan/phpstan/releases)
- [Changelog](https://github.com/phpstan/phpstan/blob/2.1.x/CHANGELOG.md)
- [Commits](phpstan/phpstan@2.0.3...2.1.2)

Updates `vimeo/psalm` from 5.26.1 to 6.2.0
- [Release notes](https://github.com/vimeo/psalm/releases)
- [Commits](vimeo/psalm@5.26.1...6.2.0)

---
updated-dependencies:
- dependency-name: squizlabs/php_codesniffer
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: composer
- dependency-name: phpstan/phpstan
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: composer
- dependency-name: vimeo/psalm
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: composer
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file php Pull requests that update Php code labels Feb 3, 2025
@github-actions github-actions bot enabled auto-merge February 3, 2025 13:54
Copy link
Contributor Author

dependabot bot commented on behalf of github Feb 10, 2025

Looks like these dependencies are updatable in another way, so this is no longer needed.

@dependabot dependabot bot closed this Feb 10, 2025
auto-merge was automatically disabled February 10, 2025 14:03

Pull request was closed

@dependabot dependabot bot deleted the dependabot/composer/dependencies/composer/composer-24834de3b7 branch February 10, 2025 14:03
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.

0 participants