Skip to content

Commit a2c4e92

Browse files
Goosterhofclaude
andauthored
chore(ci): commit composer.lock + drop obsolete symfony/console pin (#55)
CI ran `composer install --prefer-dist` against a gitignored composer.lock, so `install` silently degraded to a full fresh resolve every run — CI never tested the same dependency graph twice, and any transitive major (Symfony Console via illuminate/*) could land in CI unbidden with no source change. Root-cause fix: track the lock. This is a published phpstan-extension — consumers `require --dev` and resolve against their OWN composer.json constraints, so our lock is never consumed downstream; committing it pins only this repo's CI/dev toolchain (the determinism we want). Dependabot composer is already wired weekly to keep it fresh via reviewed PRs. The `symfony/console: ^7.2` require-dev pin (PR #29, SC#33) was a temporary workaround for an Infection 0.33.x runtime crash on Symfony Console 8 (`Unknown service QuestionHelper`). composer.json is now on infection/infection ^0.34.0, whose own constraint is `symfony/console ^6.4 || ^7.0 || ^8.0`. Verified empirically: with the pin dropped, the fresh resolve lands symfony/console v8.1.1 + infection/infection 0.34.0, and the full `composer mutation:ci` gate runs clean on Console 8 (--threads=4, no fatal, MSI 86.02% / 880 mutations / 757 killed / 123 escaped, all accepted equivalent family). Pin removed as obsolete; the committed lock now pins Console 8. Closes SC#33 / F-2 root cause; supersedes the temporary ^7.2 pin; relates to Issue #30. Claude-Session: https://claude.ai/code/session_0129qYnTu3C5qVK2yNcqHELD Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent cb00c84 commit a2c4e92

3 files changed

Lines changed: 7385 additions & 3 deletions

File tree

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
/vendor/
22
/.phpunit.cache/
33
/.phpunit.result.cache
4-
/composer.lock
54
/.idea/
65
/.vscode/
76
/build/

composer.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,7 @@
2424
"require-dev": {
2525
"infection/infection": "^0.34.0",
2626
"laravel/pint": "^1.18",
27-
"phpunit/phpunit": "^11.0",
28-
"symfony/console": "^7.2"
27+
"phpunit/phpunit": "^11.0"
2928
},
3029
"autoload": {
3130
"psr-4": {

0 commit comments

Comments
 (0)