summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2015-06-04 17:18:01 +0200
committerRemi Collet <fedora@famillecollet.com>2015-06-04 17:18:01 +0200
commit2c9ae343bb23a45e968d7fd66aa6dbf048d5926c (patch)
tree98e9e6718e60c59107795d41bafbc57e5e0b729c
parent504f16e161f810dc378b19b107db7a96b369e677 (diff)
php-phpunit-FinderFacade: rename loader
-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