Skip to content

Update Major Composer dependencies (major) - #32

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/major-major-composer-dependencies
Open

Update Major Composer dependencies (major)#32
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/major-major-composer-dependencies

Conversation

@renovate

@renovate renovate Bot commented Nov 13, 2025

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
cweagans/composer-patches ^1.7^2.0 age confidence
drupal/coder (source) ^8.3^9.0 age confidence
squizlabs/php_codesniffer ^3.13^4.0 age confidence

Release Notes

cweagans/composer-patches (cweagans/composer-patches)

v2.0.0

Compare Source

What's Changed

New Contributors

Full Changelog: cweagans/composer-patches@1.7.3...2.0.0

pfrenssen/coder (drupal/coder)

v9.0.1

Compare Source

v9.0.0

Compare Source

PHPCSStandards/PHP_CodeSniffer (squizlabs/php_codesniffer)

v4.0.1: - 2025-11-10

Compare Source

This release includes all improvements and bugfixes from PHP_CodeSniffer 3.13.5.

Added
  • Runtime support for PHP 8.5. All known PHP 8.5 deprecation notices have been fixed.
    • Syntax support for new PHP 8.5 features will follow in a future release.
    • If you find any PHP 8.5 deprecation notices which were missed, please report them.
Changed
  • The Squiz.ControlStructures.SwitchDeclaration sniff will now flag a PHP close tag as a "wrong opener" and will auto-fix this by inserting a colon. #​1316
  • Various housekeeping, including improvements to the tests and documentation.
Fixed
  • 4.x regression #​1277: bring back whitespace tolerance in phpcs:ignore comma-separated rule reference lists.
    • Note: this bug did not affect phpcs:disable/phpcs:enable ignore annotations.
  • Fixed bug #​968: Generic.WhiteSpace.ScopeIndent was reporting false positives - and making incorrect fixes - for lines following a line containing an arrow function.
  • Fixed bug #​1216: Tokenizer/PHP: added more defensive coding to prevent PHP 8.5 "Using null as an array offset" deprecation notices.
  • Fixed bug #​1279: Tokenizer/PHP: on PHP < 8.0, an unclosed attribute (parse error) could end up removing some tokens from the token stream.
    • This could lead to false positives and false negative from sniffs, but could also lead to incorrect fixes being made mangling the file under scan.
  • Fixed bug #​1315: Squiz.ControlStructures.SwitchDeclaration: a number of the fixers would get into fixer conflicts with each other if the code under scan contained multiple statements on a line within a switch.
    • The sniff will now forbid - and auto-fix - multiple statements on one line for case/default and "case breaking" statements.
  • Fixed bug #​1316: Tokenizer/PHP: a PHP close tag after a switch case condition or after a default keyword, was not regarded as a "scope_opener" for the case/default body.
  • Fixed bug #​1316: PSR2.ControlStructures.SwitchDeclaration: the WrongOpener error is now also auto-fixable if the wrong opener is a PHP close tag.
  • Fixed bug #​1316: Squiz.PHP.NonExecutableCode would throw false positives when code within a switch control structure would move in and out of PHP.

New Contributors

The PHP_CodeSniffer project is happy to welcome the following new contributors:
@​andrewnicols, @​Soh1121

Statistics

Closed: 2 issues
Merged: 8 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!

v4.0.0: - 2025-09-16

Compare Source

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!


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • Between 09:00 AM and 10:59 AM, only on Thursday (* 9-10 * * 4)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot changed the title Update dependency cweagans/composer-patches to v2 Update Major Composer dependencies to v2 Jun 2, 2026
@renovate renovate Bot changed the title Update Major Composer dependencies to v2 Update Major Composer dependencies (major) Jun 22, 2026
@renovate renovate Bot changed the title Update Major Composer dependencies (major) Update dependency cweagans/composer-patches to v2 Jun 25, 2026
@renovate
renovate Bot force-pushed the renovate/major-major-composer-dependencies branch from fed9145 to c5f4f15 Compare July 30, 2026 22:50
@renovate renovate Bot changed the title Update dependency cweagans/composer-patches to v2 Update Major Composer dependencies (major) Jul 30, 2026
@renovate

renovate Bot commented Jul 30, 2026

Copy link
Copy Markdown
Contributor Author

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: tools/composer.lock
Command failed: composer update drupal/coder:9.0.1 squizlabs/php_codesniffer:4.0.1 --with-dependencies --ignore-platform-req=ext-* --ignore-platform-req=lib-* --no-ansi --no-interaction --no-scripts --no-autoloader --no-plugins --minimal-changes
Loading composer repositories with package information
Dependency dealerdirect/phpcodesniffer-composer-installer is also a root requirement. Package has not been listed as an update argument, so keeping locked at old version. Use --with-all-dependencies (-W) to include root dependencies.
Dependency slevomat/coding-standard is also a root requirement. Package has not been listed as an update argument, so keeping locked at old version. Use --with-all-dependencies (-W) to include root dependencies.
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Root composer.json requires squizlabs/php_codesniffer ^4.0, found squizlabs/php_codesniffer[4.0.0, 4.0.1] but these were not loaded, likely because it conflicts with another require.
  Problem 2
    - dealerdirect/phpcodesniffer-composer-installer is locked to version v1.2.1 and an update of this package was not requested.
    - dealerdirect/phpcodesniffer-composer-installer v1.2.1 requires squizlabs/php_codesniffer ^3.1.0 || ^4.0 -> found squizlabs/php_codesniffer[3.1.0, ..., 3.13.5, 4.0.0, 4.0.1] but these were not loaded, likely because it conflicts with another require.
  Problem 3
    - Root composer.json requires drupal/coder ^9.0 -> satisfiable by drupal/coder[9.0.1].
    - drupal/coder 9.0.1 requires slevomat/coding-standard ^8.25.1 -> found slevomat/coding-standard[8.25.1, ..., 8.31.1] but the package is fixed to 8.22.1 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
  Problem 4
    - slevomat/coding-standard is locked to version 8.22.1 and an update of this package was not requested.
    - slevomat/coding-standard 8.22.1 requires squizlabs/php_codesniffer ^3.13.4 -> found squizlabs/php_codesniffer[3.13.4, 3.13.5] but it conflicts with your root composer.json require (^4.0).

Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants