summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--autoload.php.in6
-rw-r--r--php-phpunit-FinderFacade.spec5
2 files changed, 7 insertions, 4 deletions
diff --git a/autoload.php.in b/autoload.php.in
index b3c9b67..5309eae 100644
--- a/autoload.php.in
+++ b/autoload.php.in
@@ -6,12 +6,12 @@ require_once $vendorDir . '/TheSeer/fDOMDocument/autoload.php';
require_once $vendorDir . '/Symfony/Component/ClassLoader/UniversalClassLoader.php';
use Symfony\Component\ClassLoader\UniversalClassLoader;
-$loader = new UniversalClassLoader();
-$loader->registerNamespaces(array(
+$sfuloader = new UniversalClassLoader();
+$sfuloader->registerNamespaces(array(
'Symfony\\Component\\Finder' => $vendorDir,
'Symfony\\Component\\ClassLoader' => $vendorDir,
));
-$loader->register();
+$sfuloader->register();
// @codingStandardsIgnoreFile
// @codeCoverageIgnoreStart
diff --git a/php-phpunit-FinderFacade.spec b/php-phpunit-FinderFacade.spec
index 5b1e6ab..4a62cb8 100644
--- a/php-phpunit-FinderFacade.spec
+++ b/php-phpunit-FinderFacade.spec
@@ -17,7 +17,7 @@
Name: php-phpunit-FinderFacade
Version: 1.2.0
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Wrapper for Symfony Finder component
Group: Development/Libraries
@@ -107,6 +107,9 @@ fi
%changelog
+* Thu Jun 4 2015 Remi Collet <remi@fedoraproject.org> - 1.2.0-2
+- use $sfuloader
+
* Thu Jun 4 2015 Remi Collet <remi@fedoraproject.org> - 1.2.0-1
- upgrade to 1.2.0
- raise dependency on symfony/finder 2.3