Mark Goutte, Selenium, Sahi and Zombie driver/support as abandoned (#39)
* Mark Goutte, Selenium, Sahi and Zombie driver/support as abandoned This marks the four drivers as abandoned where the driver implementations are no longer maintained. * Correctly indent notes so they don't break the enumeration list * Indent a few more notes that are part of a numerated list
This commit is contained in:
@@ -62,6 +62,8 @@ class GoutteFactory implements DriverFactory
|
||||
*/
|
||||
public function buildDriver(array $config)
|
||||
{
|
||||
trigger_deprecation('friends-of-behat/mink-extension', '2.8.0', 'Configuration for the "goutte" driver is deprecated, since the client implementation has been abandoned. Support for it will be removed in the next major version of this extension.');
|
||||
|
||||
if (!class_exists('Behat\Mink\Driver\GoutteDriver')) {
|
||||
throw new \RuntimeException(
|
||||
'Install MinkGoutteDriver in order to use goutte driver.'
|
||||
|
||||
@@ -52,6 +52,8 @@ class SahiFactory implements DriverFactory
|
||||
*/
|
||||
public function buildDriver(array $config)
|
||||
{
|
||||
trigger_deprecation('friends-of-behat/mink-extension', '2.8.0', 'Configuration for the "sahi" driver is deprecated, since the client implementation has been abandoned. Support for it will be removed in the next major version of this extension.');
|
||||
|
||||
if (!class_exists('Behat\Mink\Driver\SahiDriver')) {
|
||||
throw new \RuntimeException(
|
||||
'Install MinkSahiDriver in order to use sahi driver.'
|
||||
|
||||
@@ -50,6 +50,8 @@ class SeleniumFactory implements DriverFactory
|
||||
*/
|
||||
public function buildDriver(array $config)
|
||||
{
|
||||
trigger_deprecation('friends-of-behat/mink-extension', '2.8.0', 'Configuration for the "selenium" driver is deprecated, since the client implementation has been abandoned. Support for it will be removed in the next major version of this extension.');
|
||||
|
||||
if (!class_exists('Behat\Mink\Driver\SeleniumDriver')) {
|
||||
throw new \RuntimeException(
|
||||
'Install MinkSeleniumDriver in order to activate selenium session.'
|
||||
|
||||
@@ -53,6 +53,8 @@ class ZombieFactory implements DriverFactory
|
||||
*/
|
||||
public function buildDriver(array $config)
|
||||
{
|
||||
trigger_deprecation('friends-of-behat/mink-extension', '2.8.0', 'Configuration for the "zombie" driver is deprecated, since the client implementation has been abandoned. Support for it will be removed in the next major version of this extension.');
|
||||
|
||||
if (!class_exists('Behat\Mink\Driver\ZombieDriver')) {
|
||||
throw new \RuntimeException(
|
||||
'Install MinkZombieDriver in order to use zombie driver.'
|
||||
|
||||
Reference in New Issue
Block a user