mirror of
https://github.com/silverstripe/silverstripe-behat-extension
synced 2024-10-22 17:05:32 +02:00
Resolved vendor confusion, its "SilverStripe", not "Behat"
"Behat" as a vendor namespace is already taken by the project of the same name.
This commit is contained in:
parent
dc01926525
commit
afcae36eec
@ -1,5 +1,5 @@
|
||||
{
|
||||
"name": "behat/silverstripe-extension",
|
||||
"name": "silverstripe/behat-extension",
|
||||
"type": "behat-extension",
|
||||
"description": "SilverStripe framework extension for Behat",
|
||||
"keywords": ["framework", "web", "bdd", "silverstripe"],
|
||||
@ -7,8 +7,12 @@
|
||||
"license": "MIT",
|
||||
"authors": [
|
||||
{
|
||||
"name": "Michał Ochman",
|
||||
"name": "Michal Ochman",
|
||||
"email": "ochman.d.michal@gmail.com"
|
||||
},
|
||||
{
|
||||
"name": "Ingo Schommer",
|
||||
"email": "ingo@silverstripe.com"
|
||||
}
|
||||
],
|
||||
|
||||
|
4
init.php
4
init.php
@ -11,10 +11,10 @@
|
||||
|
||||
spl_autoload_register(function($class)
|
||||
{
|
||||
if (false !== strpos($class, 'Behat\\SilverStripeExtension')) {
|
||||
if (false !== strpos($class, 'SilverStripe\\BehatExtension')) {
|
||||
require_once(__DIR__ . '/src/' . str_replace('\\', '/', $class) . '.php');
|
||||
return true;
|
||||
}
|
||||
}, true, false);
|
||||
|
||||
return new Behat\SilverStripeExtension\Extension;
|
||||
return new SilverStripe\BehatExtension\Extension;
|
@ -1,12 +1,12 @@
|
||||
<?php
|
||||
|
||||
namespace Behat\SilverStripeExtension\Compiler;
|
||||
namespace SilverStripe\BehatExtension\Compiler;
|
||||
|
||||
use Symfony\Component\DependencyInjection\ContainerBuilder,
|
||||
Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface;
|
||||
|
||||
/*
|
||||
* This file is part of the Behat\SilverStripeExtension
|
||||
* This file is part of the SilverStripe\BehatExtension
|
||||
*
|
||||
* (c) Michał Ochman <ochman.d.michal@gmail.com>
|
||||
*
|
@ -1,11 +1,11 @@
|
||||
<?php
|
||||
|
||||
namespace Behat\SilverStripeExtension\Context\Initializer;
|
||||
namespace SilverStripe\BehatExtension\Context\Initializer;
|
||||
|
||||
use Behat\Behat\Context\Initializer\InitializerInterface,
|
||||
Behat\Behat\Context\ContextInterface;
|
||||
|
||||
use Behat\SilverStripeExtension\Context\SilverStripeAwareContextInterface;
|
||||
use SilverStripe\BehatExtension\Context\SilverStripeAwareContextInterface;
|
||||
|
||||
/*
|
||||
* This file is part of the Behat/SilverStripeExtension
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
namespace Behat\SilverStripeExtension\Context;
|
||||
namespace SilverStripe\BehatExtension\Context;
|
||||
|
||||
/*
|
||||
* This file is part of the Behat/SilverStripeExtension
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
namespace Behat\SilverStripeExtension;
|
||||
namespace SilverStripe\BehatExtension;
|
||||
|
||||
use Symfony\Component\Config\FileLocator,
|
||||
Symfony\Component\DependencyInjection\ContainerBuilder,
|
||||
@ -9,7 +9,7 @@ use Symfony\Component\Config\FileLocator,
|
||||
use Behat\Behat\Extension\Extension as BaseExtension;
|
||||
|
||||
/*
|
||||
* This file is part of the Behat\SilverStripeExtension
|
||||
* This file is part of the SilverStripe\BehatExtension
|
||||
*
|
||||
* (c) Michał Ochman <ochman.d.michal@gmail.com>
|
||||
*
|
Loading…
Reference in New Issue
Block a user