summaryrefslogtreecommitdiffstats
path: root/phpunit-5.4.0-Autoload.php.in
diff options
context:
space:
mode:
Diffstat (limited to 'phpunit-5.4.0-Autoload.php.in')
-rw-r--r--phpunit-5.4.0-Autoload.php.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpunit-5.4.0-Autoload.php.in b/phpunit-5.4.0-Autoload.php.in
index baffe2c..00d7cb0 100644
--- a/phpunit-5.4.0-Autoload.php.in
+++ b/phpunit-5.4.0-Autoload.php.in
@@ -15,7 +15,7 @@ if (!class_exists('Fedora\\Autoloader\\Autoload', false)) {
$sym = (getenv('RPM_SYMFONY_TREE') ?: 'Symfony');
/* don't use symfony autoloader which pull some unwanted stuff (polyfill) */
$vendorDir = stream_resolve_include_path("$sym/Component/Yaml/Yaml.php");
-\Fedora\Autoloader\Autoload::addPsr4('Symfony\\Component\\', dirname(dirname($vendorDir)));
+\Fedora\Autoloader\Autoload::addPsr4('Symfony\\Component\\Yaml\\', dirname($vendorDir));
/* Required */
require_once 'File/Iterator/Autoload.php';