Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion behat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,6 @@ default:
dir: '%paths.base%/.logs/screenshots' # Directory to save screenshots.
on_failed: true # Change to 'false' (no quotes) to disable screenshots on failure.
always_fullscreen: true # Always capture full page screenshots.
fullscreen_algorithm: resize # Options: 'stitch' or 'resize'
purge: false # Purge screenshots before each run. Use `BEHAT_SCREENSHOT_PURGE=true` to override.
info_types: # Additional information to include in screenshots.
- url
Expand Down
26 changes: 13 additions & 13 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
"drupal/coffee": "^2.0.1",
"drupal/config_split": "^2.0.2",
"drupal/config_update": "^2@alpha",
"drupal/core-composer-scaffold": "~11.3.5",
"drupal/core-recommended": "~11.3.5",
"drupal/core-composer-scaffold": "~11.3.7",
"drupal/core-recommended": "~11.3.7",
"drupal/devel": "^5.5.0",
"drupal/diff": "^1.10",
"drupal/entity_clone": "^2.1@beta",
Expand Down Expand Up @@ -48,34 +48,34 @@
"drupal/stage_file_proxy": "^3.1.6",
"drupal/views_bulk_operations": "^4.4.4",
"drupal/webform": "^6.3@beta",
"drush/drush": "^13.7.1",
"drush/drush": "^13.7.2",
"oomphinc/composer-installers-extender": "^2.0.1",
"symfony/http-client": "^6.4.34",
"symfony/http-client": "^6.4.36",
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟠 Major

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
set -euo pipefail

echo "== Direct constraint in composer.json =="
rg -n '"symfony/http-client"\s*:' composer.json

echo
echo "== Resolved version in composer.lock (if present) =="
jq -r '.packages[] | select(.name=="symfony/http-client") | "\(.name) \(.version)"' composer.lock

echo
echo "== Why package is required (dependency chain) =="
composer why symfony/http-client || true

echo
echo "== Check whether Symfony 7.4.8 is prohibited and by whom =="
composer prohibits symfony/http-client 7.4.8 || true

Repository: drevops/website

Length of output: 505


🏁 Script executed:

cat -n composer.json | head -90 | tail -50

Repository: drevops/website

Length of output: 2298


🏁 Script executed:

# Search for all symfony package constraints in composer.json
rg -n 'symfony/' composer.json

Repository: drevops/website

Length of output: 103


🏁 Script executed:

# Check what version of Drupal core requires Symfony
# Examine if drupal/core-recommended ~11.3.7 has any Symfony constraints documented
rg -n '"drupal/core' composer.json

Repository: drevops/website

Length of output: 254


🌐 Web query:

Drupal 11 Symfony version requirement

💡 Result:

Drupal 11 requires Symfony 7 (specifically ^7.4 for various components like symfony/console, symfony/http-foundation, etc., as defined in Drupal core's composer.json dependencies). Drupal 11.0.0 ships with Symfony 7.1.1.

Citations:


Remove or upgrade explicit symfony/http-client constraint to align with Drupal 11 requirements.

Line 53 pins symfony/http-client to ^6.4.36, which conflicts with drupal/core-recommended ~11.3.7 (Drupal 11 requires Symfony ^7.4). This constraint will block Symfony 7.x resolution. Either upgrade to ^7.4.8 to match your Symfony 7 stack or remove the constraint entirely to let drupal/core-recommended control the version.

Proposed fix
-        "symfony/http-client": "^6.4.36",
+        "symfony/http-client": "^7.4.8",

Or remove the constraint if not explicitly needed:

-        "symfony/http-client": "^6.4.36",
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
"symfony/http-client": "^6.4.36",
"symfony/http-client": "^7.4.8",
Suggested change
"symfony/http-client": "^6.4.36",
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@composer.json` at line 53, Update the explicit symfony/http-client constraint
in composer.json so it doesn't conflict with Drupal 11's Symfony 7 requirement:
either remove the "symfony/http-client" entry entirely to let
drupal/core-recommended control the version, or change its version constraint
from "^6.4.36" to a Symfony 7 compatible constraint such as "^7.4.8"; ensure
after the change you run composer update to verify the dependency graph resolves
against drupal/core-recommended ~11.3.7.

"webflo/drupal-finder": "^1.3.1"
},
"require-dev": {
"behat/behat": "^3.29",
"dantleech/gherkin-lint": "^0.2.3",
"behat/behat": "^3.30",
"dantleech/gherkin-lint": "^0.2.4",
"dealerdirect/phpcodesniffer-composer-installer": "^1.2.0",
"drevops/behat-format-progress-fail": "^1.4",
"drevops/behat-screenshot": "^2.2",
"drevops/behat-steps": "^3.6.0",
"drevops/behat-screenshot": "^2.3",
"drevops/behat-steps": "^3.7.0",
"drevops/phpcs-standard": "^0.7.0",
"drupal/coder": "^9@alpha",
"drupal/drupal-extension": "^5.3.2",
"ergebnis/composer-normalize": "^2.50.0",
"drupal/drupal-extension": "^5.3.3",
"ergebnis/composer-normalize": "^2.51.0",
"lullabot/mink-selenium2-driver": "^1.7.4",
"lullabot/php-webdriver": "^2.0.7",
"mglaman/phpstan-drupal": "^2.0.12",
"mglaman/phpstan-drupal": "^2.0.13",
"mikey179/vfsstream": "^1.6.12",
"palantirnet/drupal-rector": "^0.21.1",
"phpcompatibility/php-compatibility": "^10.0@alpha",
"phpspec/prophecy-phpunit": "^2.5",
"phpstan/extension-installer": "^1.4.3",
"phpstan/phpstan": "^2.1.44",
"phpstan/phpstan": "^2.1.49",
"phpunit/phpunit": "^11.5.55",
"pyrech/composer-changelogs": "^2.2",
"rector/rector": "^2.3.9",
"rector/rector": "^2.4.2",
"vincentlanglet/twig-cs-fixer": "^3.14"
},
"conflict": {
Expand Down
Loading
Loading