Skip to content

Update composer dependencies: bump phpcompatibility-wp to ^3.0, remove php-compatibility from require-dev#31

Closed
Copilot wants to merge 2 commits intomainfrom
copilot/update-composer-dependencies-again
Closed

Update composer dependencies: bump phpcompatibility-wp to ^3.0, remove php-compatibility from require-dev#31
Copilot wants to merge 2 commits intomainfrom
copilot/update-composer-dependencies-again

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Dec 19, 2025

Align dependency versions with current compatibility requirements and best practices.

Changes

  • composer.json

    • Bumped phpcompatibility/phpcompatibility-wp from ^2.1 to ^3.0
    • Removed phpcompatibility/php-compatibility from require-dev (now pulled as transitive dependency of phpcompatibility-wp ^3.0)
  • composer.lock (newly tracked)

    • Locked phpcompatibility/phpcompatibility-wp at 3.0.0-alpha2
    • Updated sirbrillig/phpcs-variable-analysis to v2.13.0
    • Updated wp-coding-standards/wpcs to 3.3.0
  • .gitignore

    • Removed composer.lock from ignore list to track dependency versions

The phpcompatibility-wp 3.0 release includes php-compatibility 10.0 as a dependency, eliminating the need for the separate require-dev entry.

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • https://api.github.com/repos/PHPCSStandards/PHPCSExtra/zipball/b598aa890815b8df16363271b659d73280129101
    • Triggering command: /usr/bin/php8.3 /usr/bin/php8.3 -n -c /tmp/przUge /usr/bin/composer update -v (http block)
  • https://api.github.com/repos/PHPCSStandards/PHPCSUtils/zipball/c216317e96c8b3f5932808f9b0f1f7a14e3bbf55
    • Triggering command: /usr/bin/php8.3 /usr/bin/php8.3 -n -c /tmp/przUge /usr/bin/composer update -v (http block)
  • https://api.github.com/repos/PHPCSStandards/PHP_CodeSniffer/zipball/0ca86845ce43291e8f5692c7356fccf3bcf02bf4
    • Triggering command: /usr/bin/php8.3 /usr/bin/php8.3 -n -c /tmp/przUge /usr/bin/composer update -v (http block)
  • https://api.github.com/repos/PHPCSStandards/composer-installer/zipball/845eb62303d2ca9b289ef216356568ccc075ffd1
    • Triggering command: /usr/bin/php8.3 /usr/bin/php8.3 -n -c /tmp/przUge /usr/bin/composer update -v (http block)
  • https://api.github.com/repos/PHPCompatibility/PHPCompatibility/zipball/e0f0e5a3dc819a4a0f8d679a0f2453d941976e18
    • Triggering command: /usr/bin/php8.3 /usr/bin/php8.3 -n -c /tmp/przUge /usr/bin/composer update -v (http block)
  • https://api.github.com/repos/PHPCompatibility/PHPCompatibilityParagonie/zipball/7a979711c87d8202b52f56c56bd719d09d8ed7f5
    • Triggering command: /usr/bin/php8.3 /usr/bin/php8.3 -n -c /tmp/przUge /usr/bin/composer update -v (http block)
  • https://api.github.com/repos/PHPCompatibility/PHPCompatibilityWP/zipball/bd53f24e7528422ac51d64dc8d53e8d4c4a877b3
    • Triggering command: /usr/bin/php8.3 /usr/bin/php8.3 -n -c /tmp/przUge /usr/bin/composer update -v (http block)
  • https://api.github.com/repos/sirbrillig/phpcs-variable-analysis/zipball/a15e970b8a0bf64cfa5e86d941f5e6b08855f369
    • Triggering command: /usr/bin/php8.3 /usr/bin/php8.3 -n -c /tmp/przUge /usr/bin/composer update -v (http block)

If you need me to access, download, or install something from one of these locations, you can either:

Original prompt

Update composer.json and composer.lock for dependency changes:

  • Remove 'phpcompatibility/php-compatibility' from require-dev.
  • Bump 'phpcompatibility/phpcompatibility-wp' to '^3.0'.
  • Run 'composer update' to update composer.lock, which should include updates of phpcs-variable-analysis and wpcs if available.

This upgrade aligns the dependencies with current compatibility and best practices.

This pull request was created from Copilot chat.


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

…move php-compatibility from require-dev

Co-authored-by: waviaei <1564991+waviaei@users.noreply.github.com>
Copilot AI changed the title [WIP] Update composer.json and composer.lock for dependency changes Update composer dependencies: bump phpcompatibility-wp to ^3.0, remove php-compatibility from require-dev Dec 19, 2025
Copilot AI requested a review from waviaei December 19, 2025 04:05
@waviaei waviaei closed this Jan 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants