fix(ci): restore Drupal CI and update to supported versions#889
Open
fix(ci): restore Drupal CI and update to supported versions#889
Conversation
drupal/core-dev no longer includes phpcs. All Drupal matrix jobs have been failing since at least Jan 2026.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
2 Skipped Deployments
|
composer was resolving drupal/core-dev to 8.0.0-beta15 instead of the matching 10.x/11.x version, so phpunit was missing.
The --no-install + separate install approach caused lock file conflicts with symfony/console. Using -W (--with-all-dependencies) lets composer resolve the full dependency tree in one pass.
drupal/core-dev has irreconcilable dependency conflicts on older Drupal versions (composer/composer requires justinrainbow/json-schema ^6 but older core-dev requires ^5). Require only what we need.
Drop EOL versions (Drupal 10.0-10.3, 11.0; PHP 8.1) whose drupal/core-dev has irreconcilable dependency conflicts. Test against actively supported Drupal 10.4.x LTS + 11.2.x stable with PHP 8.2/8.3/8.4.
- Switch from drupal/core-dev to drupal/core-dev-pinned to avoid composer/composer + json-schema dependency conflicts - Update matrix to currently supported Drupal versions: 10.5.x, 10.6.x (security support through 2026), 11.2.x - Update PHP matrix: drop EOL 8.1, add 8.4 - Add drupal/coder for phpcs (not included in core-dev-pinned)
Composer 2.9+ blocks packages with security advisories by default. Older Drupal core patch versions have advisories filed against them, preventing core-dev-pinned from resolving. Disabling block-insecure since CI doesn't need security audit enforcement.
Drupal 11.2.10+ requires PHP >= 8.3.
Drupal core Twig internals trigger Symfony deprecation errors on PHP 8.4 that fail the test suite. Re-add when core is clean.
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.
Summary
All Drupal matrix jobs have been failing since at least Jan 2026 because
drupal/core-devno longer includessquizlabs/php_codesniffer.Dependency fixes
drupal/core-devwithdrupal/core-dev-pinned(pinned to matrix Drupal version) to avoidcomposer/composer+json-schemadependency conflictsdrupal/coderfor phpcs and Drupal/DrupalPractice coding standards-Wflag for single-pass dependency resolution instead of--no-install+ separate installaudit.block-insecuresince Composer 2.9+ blocks older Drupal patch versions with filed security advisoriesMatrix updates
Test plan