From 595da9c221b68509d09a21b1fff65ef6af0c9b9e Mon Sep 17 00:00:00 2001 From: Rafikooo Date: Wed, 7 Feb 2024 18:06:02 +0100 Subject: [PATCH] [Conflict] Add conflict with behat/mink-selenium2-driver:>=1.7.0 --- CONFLICTS.md | 10 ++++++++-- composer.json | 3 ++- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/CONFLICTS.md b/CONFLICTS.md index dab299f86c..313594d5bd 100644 --- a/CONFLICTS.md +++ b/CONFLICTS.md @@ -5,5 +5,11 @@ references related issues. - `symfony/framework-bundle:6.2.8`: - This version is missing the service alias `validator.expression` - which causes ValidatorException exception to be thrown when using `Expression` constraint. + This version is missing the service alias `validator.expression` + which causes ValidatorException exception to be thrown when using `Expression` constraint. + +- `behat/mink-selenium2-driver:>=1.7.0`: + + This version adds strict type to the `Behat\Mink\Driver\Selenium2Driver::visit($url)` method + which causes a fatal error because the method signature is no longer compatible with the parent class: + `PHP Fatal error: Declaration of Behat\Mink\Driver\Selenium2Driver::visit(string $url) must be compatible with Behat\Mink\Driver\CoreDriver::visit($url) in /home/runner/work/Sylius-Standard/Sylius-Standard/vendor/behat/mink-selenium2-driver/src/Selenium2Driver.php on line 401` diff --git a/composer.json b/composer.json index fb32b18795..6bfb10dea4 100644 --- a/composer.json +++ b/composer.json @@ -61,7 +61,8 @@ "symfony/web-profiler-bundle": "^5.4 || ^6.0" }, "conflict": { - "symfony/framework-bundle": "6.2.8" + "symfony/framework-bundle": "6.2.8", + "behat/mink-selenium2-driver": ">=1.7.0" }, "config": { "preferred-install": {