summaryrefslogtreecommitdiffstats
path: root/php-yoast-phpunit-polyfills-layout.patch
diff options
context:
space:
mode:
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'
+ );
+