summaryrefslogtreecommitdiffstats
path: root/php-symfony4-autoload.patch
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2018-09-04 13:55:38 +0200
committerRemi Collet <remi@remirepo.net>2018-09-04 13:55:38 +0200
commitb47a1ac8a769b7e77360b9419ed466c02f617c73 (patch)
tree6009f03df1b642649759b5976485032ec8bacda7 /php-symfony4-autoload.patch
parent528b22904380370a1fa6cb3cac5dbd9e942c8415 (diff)
update to 4.1.4
add new Messenger component in php-symfony4-messenger package add php-symfony4-var-dump-server command
Diffstat (limited to 'php-symfony4-autoload.patch')
-rw-r--r--php-symfony4-autoload.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/php-symfony4-autoload.patch b/php-symfony4-autoload.patch
new file mode 100644
index 0000000..3b56f7d
--- /dev/null
+++ b/php-symfony4-autoload.patch
@@ -0,0 +1,17 @@
+diff -up ./src/Symfony/Component/VarDumper/Resources/bin/var-dump-server.old ./src/Symfony/Component/VarDumper/Resources/bin/var-dump-server
+--- ./src/Symfony/Component/VarDumper/Resources/bin/var-dump-server.old 2018-09-04 13:33:05.600027027 +0200
++++ ./src/Symfony/Component/VarDumper/Resources/bin/var-dump-server 2018-09-04 13:34:32.377481003 +0200
+@@ -31,11 +31,9 @@ function includeIfExists(string $file):
+ }
+
+ if (
+- !includeIfExists(__DIR__ . '/../../../../autoload.php') &&
+- !includeIfExists(__DIR__ . '/../../vendor/autoload.php') &&
+- !includeIfExists(__DIR__ . '/../../../../../../vendor/autoload.php')
++ !includeIfExists('/usr/share/php/Symfony4/autoload.php')
+ ) {
+- fwrite(STDERR, 'Install dependencies using Composer.'.PHP_EOL);
++ fwrite(STDERR, 'Install dependencies.'.PHP_EOL);
+ exit(1);
+ }
+