Skip to content

[6.x] Update composer tests#14497

Merged
jasonvarga merged 3 commits into6.xfrom
update-composer-fixture
Apr 15, 2026
Merged

[6.x] Update composer tests#14497
jasonvarga merged 3 commits into6.xfrom
update-composer-fixture

Conversation

@jasonvarga
Copy link
Copy Markdown
Member

@jasonvarga jasonvarga commented Apr 15, 2026

The fixtures for the composer tests were requiring composer/composer as a dependency. Because of this, Dependabot would want to update it when there are security issues. Rather than continually updating the version - I've removed it. Turns out it's not even necessary.

However now having no dependencies surfaced a bug where installed would be an empty array rather than an object, so you'd get an Attempt to read property "installed" on array error. In practice you'd never have no dependencies but it's fixed anyway.

This also fixes the globs used in the GitHub action workflow so it actually runs. Ironically I tried to fix it in #13736 but that only seemed like it worked because the tests.yml was edited. Hopefully this PR doesn't do the exact same thing. 😄

jasonvarga and others added 2 commits April 15, 2026 13:48
…ories

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@jasonvarga jasonvarga changed the title [6.x] Update composer/composer fixture to 2.9.7 [6.x] Bump composer in test fixture and fix test conditions Apr 15, 2026
… packages

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@jasonvarga jasonvarga changed the title [6.x] Bump composer in test fixture and fix test conditions [6.x] Update composer tests Apr 15, 2026
@jasonvarga jasonvarga merged commit 619a16d into 6.x Apr 15, 2026
19 checks passed
@jasonvarga jasonvarga deleted the update-composer-fixture branch April 15, 2026 18:55
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