fix: restore PHP dependency constraints to match lockfile#70
Open
bfiessinger wants to merge 5 commits into
Open
fix: restore PHP dependency constraints to match lockfile#70bfiessinger wants to merge 5 commits into
bfiessinger wants to merge 5 commits into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation
composer installon PHP 7.4 failed because recentrequire-devbumps upgraded PHPUnit and related packages to releases that require PHP >=8.2, causing a lockfile/platform mismatch.composer.jsonwith the committedcomposer.lockrestores a reproducible install for the repository's CI matrix without regenerating lockfiles behind the restricted network.Description
composer.jsonrequire-devconstraints to the lockfile-aligned versions:mythemeshop/wordpress-helpers->^1.1,phpunit/phpunit->^11.3,yoast/phpunit-polyfills->^3.0,squizlabs/php_codesniffer->^3.10, andphpcompatibility/phpcompatibility-wp->^2.1.php-scoper/composer.jsonto requirehumbug/php-scoper^0.15.0to match the repository’s existing setup.Testing
composer validate --no-check-all --no-check-publish, which completed successfully.composer install --dry-run --no-interaction, which completed successfully and reported installs consistent with the checked-incomposer.lock.composer updateto refresh lockfiles failed due to outbound proxy/registry connection errors, so lockfiles were intentionally left unchanged.Codex Task