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:
Ingo Schommer 2012-10-16 22:01:16 +02:00
parent dc01926525
commit afcae36eec
7 changed files with 15 additions and 11 deletions

View File

@ -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"
}
],

View File

@ -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;

View File

@ -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>
*

View File

@ -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

View File

@ -1,6 +1,6 @@
<?php
namespace Behat\SilverStripeExtension\Context;
namespace SilverStripe\BehatExtension\Context;
/*
* This file is part of the Behat/SilverStripeExtension

View File

@ -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>
*