Repository navigation
fix: pin composer platform to PHP 8.1 and refresh lock - #33
Merged
Merged
Conversation
The lock was resolved on PHP 8.2+ (codeception 5.3.4, brick/math 0.14) while composer.json allows ^8.0, so Dependabot resolved against PHP 8.0 and could not apply security updates (guzzle 7.10.0 < 7.15.2). - Pin config.platform.php to 8.1, matching CI. - Drop roave/security-advisories: it conflicts with every PHP 8.1 release, so no lock can be resolved for the supported minimum; Dependabot and composer audit cover advisories. - Regenerate the lock: guzzle 7.16.1, psr7 2.13.2, codeception 5.2.2.
The workflow had no top-level permissions block (CodeQL actions/missing-workflow-permissions); default to contents: read.
apetrosyan1613
approved these changes
Oct 27, 2026
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.
Problem
Dependabot security updates fail on every run. The lock was resolved on PHP 8.2+ (
codeception/codeception5.3.4 andbrick/math0.14.8 both require^8.2), whilecomposer.jsonallowsphp: ^8.0. Dependabot therefore resolves against PHP 8.0 and cannot updateguzzlehttp/guzzle7.10.0, which needs ≥7.15.2.Changes
config.platform.phpis pinned to8.1, which matches the CI (integration-tests.yml) andqase-phpunit.roave/security-advisoriesis removed fromrequire-dev. It conflicts with every PHP 8.1 release (php <8.2.35), so no lock can be resolved for the supported minimum. Dependabot andcomposer auditcover advisories.composer auditreports no advisories. This closes all 17 open Dependabot alerts (guzzle, psr7, symfony/yaml, psysh).permissions: contents: read, which closes CodeQL alert [codeception] Improving documentation #1 (actions/missing-workflow-permissions).Consumers are not affected: the lock and
config.platformonly apply to this repository.Verification
composer install+vendor/bin/phpunit: 10 tests, 16 assertions, OK (1 PHPUnit deprecation, pre-existing).