Skip to content
Open
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
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
"ext-intl": "*",
"ext-mbstring": "*",
"guzzlehttp/guzzle": "^7.0 || ^6.0",
"psr/cache": "^1.0 || ^2.0",
"symfony/event-dispatcher": "^6.0 || ^5.0 || ^4.0 || ^3.0",
"psr/cache": "^1.0 || ^2.0 || ^3.0",
"symfony/event-dispatcher": "^8.0 || ^7.4 || ^6.4",
Copy link

Copilot AI Feb 5, 2026

Choose a reason for hiding this comment

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

The version constraint ^8.0 || ^7.4 || ^6.4 for symfony/event-dispatcher is incompatible with the current codebase. The code extends Symfony\Component\EventDispatcher\GenericEvent (see src/Observability/Events/ObservableEventAbstract.php:7-9), which was deprecated in Symfony 6.1 and removed in Symfony 7.0. This means the code will not work with Symfony 7.x or 8.x versions. Before updating to these versions, the codebase needs to be refactored to stop using GenericEvent and use the Event class from symfony/contracts instead.

Suggested change
"symfony/event-dispatcher": "^8.0 || ^7.4 || ^6.4",
"symfony/event-dispatcher": "^6.4",

Copilot uses AI. Check for mistakes.
"psr/log": "^1.0 || ^2.0 || ^3.0",
"guzzlehttp/promises": "^1.3",
"spatie/dns": "^2.0"
Expand All @@ -29,7 +29,7 @@
"squizlabs/php_codesniffer": "^3.3",
"psy/psysh": "^0.9.9",
"php-coveralls/php-coveralls": "^2.1",
"symfony/cache": "^4.3",
"symfony/cache": "^8.0 || ^7.4 || ^6.4",
"vimeo/psalm": "^4.10",
"rector/rector": "^0.12.8",
"bmitch/churn-php": "^1.5",
Expand Down
Loading