Skip to content

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Sep 21, 2025

Updates the requirements on behat/behat and squizlabs/php_codesniffer to permit the latest version.
Updates behat/behat to 3.24.1

Release notes

Sourced from behat/behat's releases.

v3.24.1

Fixed

Changelog

Sourced from behat/behat's changelog.

[3.24.1] - 2025-09-15

Fixed

[3.24.0] - 2025-09-11

Changed

  • Throw if a step provides an unexpected PyString or Table argument, to highlight cases where step definitions do not match their usage causing potential false-positive passes. If users have stubbed steps with incomplete arguments (e.g. to throw a PendingException) these will now fail before executing. Steps generated from Behat's snippets or IDEs should not be affected as these should already define appropriate PyStringNode / TableNode arguments. By @​jdeniau in #1614

Added

  • Display line number of failing test in pretty formatter by @​jdeniau in #1615

Fixed

  • Ensure that suggested step definitions actually match the step text by @​acoulton in #1656

Internal

[3.23.0] - 2025-07-15

Added

Fixed

  • Relaxed constraints on nikic/php-parser and composer/xdebug-handler dependencies to allow wider use of newer Behat releases by @​acoulton in #1650 and #1649

Internal

[3.16.1] - 2025-05-07

... (truncated)

Commits
  • 1b67565 Add release notes for 3.24.1 (#1662)
  • 1269205 Fix editorUrl functionality (#1661)
  • 2e82025 Add release notes for 3.24.0 release (#1659)
  • 1a2d153 feat: Display line number of failing test in pretty formatter (#1615)
  • 511793e feat: throw if a step provides an unexpected PyString or Table argument (#1614)
  • f846e4c fix: Ensure that suggested step definitions actually match the step text (#1656)
  • 036e638 test: Run fixture-based scenarios in isolated directories (#1657)
  • bf6553e Rector code quality (#1648)
  • c465af8 Add changelog for 3.23.0 release (#1652)
  • 2f9e2d4 dx: add option that allows you to remove prefixes in printed paths (#1644)
  • Additional commits viewable in compare view

Updates squizlabs/php_codesniffer to 4.0.0

Release notes

Sourced from squizlabs/php_codesniffer's releases.

4.0.0 - 2025-09-16

This release contains breaking changes.

Upgrade guides for both ruleset maintainers/end-users, as well as for sniff developers and integrators, have been published to the Wiki.

You are strongly encouraged to read the upgrade guide applicable to your situation before upgrading.

This release includes all improvements and bugfixes from PHP_CodeSniffer 4.0.0-beta1, 4.0.0-RC1, 3.13.3 and 3.13.4.

Changed

  • Tokenizer/PHP: fully qualified exit/die/true/false/null will be tokenized as the keyword token and the token 'content' will include the leading backslash. #1201
  • Wherever possible based on the PHP 7.2 minimum version, parameter types have been added to all methods. #1237
  • The supported PHPUnit version constraints have been updated to ^8.4.0 || ^9.3.4 || ^10.5.32 || 11.3.3 - 11.5.28 || ^11.5.31. #1247
    • External standards using the PHP_CodeSniffer native framework may need to update their own PHPUnit version constraints.
  • Various housekeeping, including improvements to the tests and documentation.

Fixed

  • Fixed bug #1082: new exit codes weren't applied when running phpcbf on code provided via STDIN.
  • Fixed bug #1172: // phpcs:set for inline array properties did not handle a single item array with the value true, false or null correctly.
  • Fixed bug #1174: progress bar wasn't showing files as fixed when running phpcbf in parallel mode.
  • Fixed bug #1226: PHP 8.5 "Using null as an array offset" deprecation notice.

Other

  • Please be aware that the master branch has been renamed to 3.x and the default branch has changed to the 4.x branch.
    • If you contribute to PHP_CodeSniffer, you will need to update your local git clone.
    • If you develop against PHP_CodeSniffer and run your tests against dev branches of PHPCS, you will need to update your workflows.

Statistics

Closed: 5 issues Merged: 35 pull requests

Follow @​phpcs on Mastodon or @​PHP_CodeSniffer on X to stay informed.

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

Changelog

Sourced from squizlabs/php_codesniffer's changelog.

[4.0.0] - 2025-09-16

This release contains breaking changes.

Upgrade guides for both [ruleset maintainers/end-users][wiki-upgrade-4.0-end-users], as well as for [sniff developers and integrators][wiki-upgrade-4.0-extenders], have been published to the Wiki.

You are strongly encouraged to read the upgrade guide applicable to your situation before upgrading.

This release includes all improvements and bugfixes from PHP_CodeSniffer [4.0.0-beta1], 4.0.0-RC1, 3.13.3 and 3.13.4.

Changed

  • Tokenizer/PHP: fully qualified exit/die/true/false/null will be tokenized as the keyword token and the token 'content' will include the leading backslash. #1201
  • Wherever possible based on the PHP 7.2 minimum version, parameter types have been added to all methods. #1237
  • The supported PHPUnit version constraints have been updated to ^8.4.0 || ^9.3.4 || ^10.5.32 || 11.3.3 - 11.5.28 || ^11.5.31. #1247
    • External standards using the PHP_CodeSniffer native framework may need to update their own PHPUnit version constraints.
  • Various housekeeping, including improvements to the tests and documentation.

Fixed

  • Fixed bug #1082: new exit codes weren't applied when running phpcbf on code provided via STDIN.
  • Fixed bug #1172: // phpcs:set for inline array properties did not handle a single item array with the value true, false or null correctly.
  • Fixed bug #1174: progress bar wasn't showing files as fixed when running phpcbf in parallel mode.
  • Fixed bug #1226: PHP 8.5 "Using null as an array offset" deprecation notice.

Other

  • Please be aware that the master branch has been renamed to 3.x and the default branch has changed to the 4.x branch.
    • If you contribute to PHP_CodeSniffer, you will need to update your local git clone.
    • If you develop against PHP_CodeSniffer and run your tests against dev branches of PHPCS, you will need to update your workflows.

#1082: PHPCSStandards/PHP_CodeSniffer#1082 #1172: PHPCSStandards/PHP_CodeSniffer#1172 #1174: PHPCSStandards/PHP_CodeSniffer#1174 #1201: PHPCSStandards/PHP_CodeSniffer#1201 #1226: PHPCSStandards/PHP_CodeSniffer#1226 #1237: PHPCSStandards/PHP_CodeSniffer#1237 #1247: PHPCSStandards/PHP_CodeSniffer#1247

[4.0.0RC1] - 2025-06-18

This release includes all improvements and bugfixes from PHP_CodeSniffer [4.0.0-beta1], [3.13.1] and [3.13.2].

Changed

  • The error code Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingAfterVisbility has been changed to Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingAfterVisibility. #1136
  • The following sniff(s) have received efficiency improvements:
    • Generic.ControlStructures.InlineControlStructure

... (truncated)

Commits
  • 06113cf Merge pull request #1260 from PHPCSStandards/feature/changelog-4.0.0
  • 7bb1928 Merge branch '3.x' into 4.x
  • 8222a52 Merge pull request #1261 from PHPCSStandards/feature/release-checklist-fix-order
  • 82f2cd8 Release checklist: fix order
  • 68e414d Changelog for the 4.0.0 release
  • 2f9900a Merge branch '3.x' into 4.x
  • 38efc5d Merge pull request #1259 from PHPCSStandards/feature/update-release-checklist...
  • 230c7c2 Update release checklist and document branch management
  • c66fd3c Merge branch '3.x' into 4.x
  • 3acd7ee Merge pull request #1258 from PHPCSStandards/feature/updates-for-branch-rename
  • 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

…ith 2 updates

Updates the requirements on [behat/behat](https://github.com/Behat/Behat) and [squizlabs/php_codesniffer](https://github.com/PHPCSStandards/PHP_CodeSniffer) to permit the latest version.

Updates `behat/behat` to 3.24.1
- [Release notes](https://github.com/Behat/Behat/releases)
- [Changelog](https://github.com/Behat/Behat/blob/master/CHANGELOG.md)
- [Commits](Behat/Behat@v3.9.0...v3.24.1)

Updates `squizlabs/php_codesniffer` to 4.0.0
- [Release notes](https://github.com/PHPCSStandards/PHP_CodeSniffer/releases)
- [Changelog](https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/4.x/CHANGELOG-4.x.md)
- [Commits](PHPCSStandards/PHP_CodeSniffer@3.5.0...4.0.0)

---
updated-dependencies:
- dependency-name: behat/behat
  dependency-version: 3.24.1
  dependency-type: direct:development
  dependency-group: dev-majors
- dependency-name: squizlabs/php_codesniffer
  dependency-version: 4.0.0
  dependency-type: direct:development
  dependency-group: dev-majors
...

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 Sep 21, 2025
@dependabot dependabot bot requested a review from yoanm as a code owner September 21, 2025 09:03
@dependabot dependabot bot added dependencies Pull requests that update a dependency file php Pull requests that update php code labels Sep 21, 2025
@github-actions github-actions bot added the with-nightly-tests Use this tag to enable nightly tests during CI label Sep 21, 2025
Copy link

Coverage summary from Codacy

See diff coverage on Codacy

Coverage variation Diff coverage
+0.00% (target: -0.10%) (target: 80.00%)
Coverage variation details
Coverable lines Covered lines Coverage
Common ancestor commit (3ce678e) 25 25 100.00%
Head commit (db6a09c) 25 (+0) 25 (+0) 100.00% (+0.00%)

Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch: <coverage of head commit> - <coverage of common ancestor commit>

Diff coverage details
Coverable lines Covered lines Diff coverage
Pull request (#40) 0 0 ∅ (not applicable)

Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: <covered lines added or modified>/<coverable lines added or modified> * 100%

See your quality gate settings    Change summary preferences

Copy link

codecov bot commented Sep 21, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (3ce678e) to head (db6a09c).

Additional details and impacted files
@@             Coverage Diff             @@
##              master       #40   +/-   ##
===========================================
  Coverage     100.00%   100.00%           
  Complexity        11        11           
===========================================
  Files              3         3           
  Lines             36        36           
===========================================
  Hits              36        36           
Flag Coverage Δ
functional-tests 100.00% <ø> (ø)
php-8.4 100.00% <ø> (ø)
sf-5.4 100.00% <ø> (ø)
sf-6.4 100.00% <ø> (ø)
sf-7.3 100.00% <ø> (ø)
unit-tests 0.00% <ø> (ø)

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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 with-nightly-tests Use this tag to enable nightly tests during CI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants