summaryrefslogtreecommitdiffstats
path: root/php-bartlett-PHP-CompatInfo-rpm.patch
diff options
context:
space:
mode:
Diffstat (limited to 'php-bartlett-PHP-CompatInfo-rpm.patch')
-rw-r--r--php-bartlett-PHP-CompatInfo-rpm.patch3
1 files changed, 2 insertions, 1 deletions
diff --git a/php-bartlett-PHP-CompatInfo-rpm.patch b/php-bartlett-PHP-CompatInfo-rpm.patch
index 0589316..a39ef5a 100644
--- a/php-bartlett-PHP-CompatInfo-rpm.patch
+++ b/php-bartlett-PHP-CompatInfo-rpm.patch
@@ -7,7 +7,7 @@ diff -up ./bin/phpcompatinfo.rpm ./bin/phpcompatinfo
<?php
ini_set('memory_limit', -1);
-@@ -22,7 +22,24 @@ if (\Phar::running()) {
+@@ -22,7 +22,25 @@ if (\Phar::running()) {
}
}
}
@@ -23,6 +23,7 @@ diff -up ./bin/phpcompatinfo.rpm ./bin/phpcompatinfo
+
+$loader = new UniversalClassLoader();
+$loader->registerNamespaces(array(
++ 'Doctrine\\Common\\Cache' => $vendorDir,
+ 'Symfony\\Component\\Finder' => $vendorDir,
+ 'Symfony\\Component\\EventDispatcher' => $vendorDir,
+ 'Symfony\\Component\\Console' => $vendorDir,