Skip to content

Commit

Permalink
Merge branch 'master' into updateSymfonyVersion
Browse files Browse the repository at this point in the history
  • Loading branch information
Yozhef authored Jan 11, 2024
2 parents 7ff97d3 + 957df89 commit 2650776
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion DOCUMENTATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ isolated driver to use for Symfony application testing.
1. Require the packages needed for the driver using _Composer_:

```bash
composer require --dev friends-of-behat/mink friends-of-behat/mink-extension friends-of-behat/mink-browserkit-driver
composer require --dev behat/mink friends-of-behat/mink-extension behat/mink-browserkit-driver
```

_Those `friends-of-behat` packages are forks of the original ones, adding support for Symfony 5 and dropping support for Symfony <4.4._
Expand Down
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
"symfony/http-kernel": "^6.2 || ^7.0"
},
"require-dev": {
"behat/mink-browserkit-driver": "^2.0",
"behat/mink-selenium2-driver": "^1.3",
"friends-of-behat/mink": "^1.9",
"behat/mink-browserkit-driver": "^1.5",
"behat/mink": "^1.9",
"friends-of-behat/mink-extension": "^2.5",
"friends-of-behat/page-object-extension": "^0.3.2",
"friends-of-behat/service-container-extension": "^1.1",
Expand All @@ -31,8 +31,8 @@
"vimeo/psalm": "4.30.0"
},
"suggest": {
"friends-of-behat/mink": "^1.9",
"friends-of-behat/mink-browserkit-driver": "^1.5",
"behat/mink-browserkit-driver": "^2.0",
"behat/mink": "^1.9",
"friends-of-behat/mink-extension": "^2.5"
},
"config": {
Expand Down
2 changes: 1 addition & 1 deletion src/Driver/Factory/SymfonyDriverFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public function configure(ArrayNodeDefinition $builder): void
public function buildDriver(array $config): Definition
{
if (!class_exists(BrowserKitDriver::class)) {
throw new \RuntimeException('Install "friends-of-behat/mink-browserkit-driver" (drop-in replacement for "behat/mink-browserkit-driver") in order to use the "symfony" driver.');
throw new \RuntimeException('Install "behat/mink-browserkit-driver" in order to use the "symfony" driver.');
}

return new Definition(SymfonyDriver::class, [
Expand Down

0 comments on commit 2650776

Please sign in to comment.