Skip to content

Expect PHP 8.6 as the upper bound in the composer-version e2e test - #335

Open
SanderMuller wants to merge 1 commit into
phpstan:2.0.xfrom
SanderMuller:fix-composer-version-e2e
Open

SanderMuller wants to merge 1 commit into
phpstan:2.0.xfrom
SanderMuller:fix-composer-version-e2e

Conversation

@SanderMuller

Copy link
Copy Markdown
Contributor

The e2e/composer-version job fails on #329, #330, #331 and #334. PHPStan accepts PHP 8.6 as the maximum version since phpstan/phpstan-src@c752b77c8, so the "php": "^8.1" constraint in the fixture now resolves to 8.1.0...8.6.99:

test.php:12:Version requirement <=8.0.0 does not match 8.1.0...8.6.99.

The test expected 8.5.99. This changes that one string. I ran the job's steps locally against PHPStan 2.3.x-dev: PHPStan exits with 1 and the output contains both expected lines.

🤖 Generated with Claude Code

PHPStan accepts PHP 8.6 as the maximum version since phpstan/phpstan-src
c752b77c8, so a "php": "^8.1" constraint now resolves to 8.1.0...8.6.99.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
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.

1 participant