diff options
author | Remi Collet <fedora@famillecollet.com> | 2016-09-09 16:48:28 +0200 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2016-09-09 16:48:28 +0200 |
commit | 7a3c7164f8c4a5ed8fd444024090a18e83de3261 (patch) | |
tree | bc5c9e5578ca945c7c7fecd598c432e549123062 /php-cs-fixer-autoload.patch |
php-cs-fixer: 1.12.1, New package
Diffstat (limited to 'php-cs-fixer-autoload.patch')
-rw-r--r-- | php-cs-fixer-autoload.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/php-cs-fixer-autoload.patch b/php-cs-fixer-autoload.patch new file mode 100644 index 0000000..7552b68 --- /dev/null +++ b/php-cs-fixer-autoload.patch @@ -0,0 +1,17 @@ +diff -up ./php-cs-fixer.rpm ./php-cs-fixer +--- ./php-cs-fixer.rpm 2016-09-09 16:14:16.000000000 +0200 ++++ ./php-cs-fixer 2016-09-09 16:36:48.052810179 +0200 +@@ -31,12 +31,7 @@ set_error_handler(function ($severity, $ + } + }); + +-// installed via composer? +-if (file_exists($a = __DIR__.'/../../autoload.php')) { +- require_once $a; +-} else { +- require_once __DIR__.'/vendor/autoload.php'; +-} ++require_once '/usr/share/php/Symfony/CS/autoload.php'; + + use Symfony\CS\Console\Application; + |