summaryrefslogtreecommitdiffstats
path: root/phpspec-autoload.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpspec-autoload.php')
-rw-r--r--phpspec-autoload.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/phpspec-autoload.php b/phpspec-autoload.php
index 066d8d7..b7858c6 100644
--- a/phpspec-autoload.php
+++ b/phpspec-autoload.php
@@ -4,7 +4,6 @@
require_once '/usr/share/php/Fedora/Autoloader/autoload.php';
\Fedora\Autoloader\Autoload::addPsr4('PhpSpec\\', __DIR__);
-\Fedora\Autoloader\Autoload::addPsr4('Symfony\\Component\\', '/usr/share/php/@SYMFONY@/Component');
/* spec tree in current dir, when exists */
if (is_dir(getcwd().'/spec')) {
@@ -13,6 +12,11 @@ if (is_dir(getcwd().'/spec')) {
// Dependencies (Rely on include_path as in PHPUnit dependencies + circular dependencies)
\Fedora\Autoloader\Dependencies::required([
+ '/usr/share/php/@SYMFONY@/Component/Console/autoload.php',
+ '/usr/share/php/@SYMFONY@/Component/EventDispatcher/autoload.php',
+ '/usr/share/php/@SYMFONY@/Component/Finder/autoload.php',
+ '/usr/share/php/@SYMFONY@/Component/Process/autoload.php',
+ '/usr/share/php/@SYMFONY@/Component/Yaml/autoload.php',
'phpspec/php-diff/autoload.php',
'Prophecy/autoload.php',
'Doctrine/Instantiator/autoload.php',