Permalink
Browse files

Resolved vendor confusion, its "SilverStripe", not "Behat"

"Behat" as a vendor namespace is already taken by the project
of the same name.
  • Loading branch information...
1 parent dc01926 commit afcae36eec34901c9d1eac83132d54ad62d73f6a @chillu chillu committed Oct 16, 2012
View
8 composer.json
@@ -1,14 +1,18 @@
{
- "name": "behat/silverstripe-extension",
+ "name": "silverstripe/behat-extension",
"type": "behat-extension",
"description": "SilverStripe framework extension for Behat",
"keywords": ["framework", "web", "bdd", "silverstripe"],
"homepage": "http://silverstripe.org",
"license": "MIT",
"authors": [
{
- "name": "Michał Ochman",
+ "name": "Michal Ochman",
"email": "ochman.d.michal@gmail.com"
+ },
+ {
+ "name": "Ingo Schommer",
+ "email": "ingo@silverstripe.com"
}
],
View
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;
View
4 ...ion/Compiler/MinkExtensionBaseUrlPass.php → ...ion/Compiler/MinkExtensionBaseUrlPass.php
@@ -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
4 ...tializer/SilverStripeAwareInitializer.php → ...tializer/SilverStripeAwareInitializer.php
@@ -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
2 ...ext/SilverStripeAwareContextInterface.php → ...ext/SilverStripeAwareContextInterface.php
@@ -1,6 +1,6 @@
<?php
-namespace Behat\SilverStripeExtension\Context;
+namespace SilverStripe\BehatExtension\Context;
/*
* This file is part of the Behat/SilverStripeExtension
View
4 ...Behat/SilverStripeExtension/Extension.php → ...SilverStripe/BehatExtension/Extension.php
@@ -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 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>
*
View
0 ...StripeExtension/services/silverstripe.yml → .../BehatExtension/services/silverstripe.yml
File renamed without changes.

0 comments on commit afcae36

Please sign in to comment.