summaryrefslogtreecommitdiffstats
path: root/php-yoast-phpunit-polyfills-layout.patch
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2020-11-26 08:33:53 +0100
committerRemi Collet <remi@remirepo.net>2020-11-26 08:33:53 +0100
commitce7a71c1c059d90399c31c5fe22d8f328e33070e (patch)
treeae41c606322946bc7e1a213be7686eb0ad28662d /php-yoast-phpunit-polyfills-layout.patch
new package
Diffstat (limited to 'php-yoast-phpunit-polyfills-layout.patch')
-rw-r--r--php-yoast-phpunit-polyfills-layout.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/php-yoast-phpunit-polyfills-layout.patch b/php-yoast-phpunit-polyfills-layout.patch
new file mode 100644
index 0000000..637d51b
--- /dev/null
+++ b/php-yoast-phpunit-polyfills-layout.patch
@@ -0,0 +1,11 @@
+diff -up ./phpunitpolyfills-autoload.php.rpm ./phpunitpolyfills-autoload.php
+--- ./phpunitpolyfills-autoload.php.rpm 2020-11-26 07:45:13.798777427 +0100
++++ ./phpunitpolyfills-autoload.php 2020-11-26 07:45:29.603748277 +0100
+@@ -88,7 +88,6 @@ if ( \class_exists( 'Yoast\PHPUnitPolyfi
+ default:
+ $file = \realpath(
+ __DIR__ . \DIRECTORY_SEPARATOR
+- . 'src' . \DIRECTORY_SEPARATOR
+ . \strtr( \substr( $class, 23 ), '\\', \DIRECTORY_SEPARATOR ) . '.php'
+ );
+