summaryrefslogtreecommitdiffstats
path: root/php-mongodb-autoload.patch
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2015-11-02 18:27:17 +0100
committerRemi Collet <fedora@famillecollet.com>2015-11-02 18:27:17 +0100
commite51383139ca5dd37e3c097b4f73ec64c1fdbb686 (patch)
tree6a2417bd74efb4c386e87ad5a4fe359c0c898f40 /php-mongodb-autoload.patch
parent15d55c0bcace083fa32671da2abef7ad23ebc1a6 (diff)
php-mongodb: git snapshot for compatibility with driver 1.0.0
Diffstat (limited to 'php-mongodb-autoload.patch')
-rw-r--r--php-mongodb-autoload.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/php-mongodb-autoload.patch b/php-mongodb-autoload.patch
new file mode 100644
index 0000000..df451b1
--- /dev/null
+++ b/php-mongodb-autoload.patch
@@ -0,0 +1,13 @@
+diff -up tests/PedantryTest.php.rpm tests/PedantryTest.php
+--- tests/PedantryTest.php.rpm 2015-11-02 17:58:41.319791130 +0100
++++ tests/PedantryTest.php 2015-11-02 17:58:45.599811089 +0100
+@@ -65,6 +65,9 @@ class PedantryTest extends \PHPUnit_Fram
+ if ($file->getFilename() === 'functions.php') {
+ continue;
+ }
++ if ($file->getFilename() === 'autoload.php') {
++ continue;
++ }
+
+ $classNames[][] = 'MongoDB\\' . str_replace(DIRECTORY_SEPARATOR, '\\', substr($file->getRealPath(), strlen($srcDir) + 1, -4));
+ }