Skip to content

Commit

Permalink
Resolved vendor confusion, its "SilverStripe", not "Behat"
Browse files Browse the repository at this point in the history
"Behat" as a vendor namespace is already taken by the project
of the same name.
  • Loading branch information
chillu committed Oct 16, 2012
1 parent dc01926 commit afcae36
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 11 deletions.
8 changes: 6 additions & 2 deletions 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"
}
],

Expand Down
4 changes: 2 additions & 2 deletions init.php
Expand Up @@ -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>
*
Expand Down
@@ -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
Expand Down
@@ -1,6 +1,6 @@
<?php

namespace Behat\SilverStripeExtension\Context;
namespace SilverStripe\BehatExtension\Context;

/*
* This file is part of the Behat/SilverStripeExtension
Expand Down
@@ -1,6 +1,6 @@
<?php

namespace Behat\SilverStripeExtension;
namespace SilverStripe\BehatExtension;

use Symfony\Component\Config\FileLocator,
Symfony\Component\DependencyInjection\ContainerBuilder,
Expand All @@ -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>
*
Expand Down

0 comments on commit afcae36

Please sign in to comment.