From 7a3c7164f8c4a5ed8fd444024090a18e83de3261 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 9 Sep 2016 16:48:28 +0200 Subject: php-cs-fixer: 1.12.1, New package --- php-cs-fixer-autoload.patch | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 php-cs-fixer-autoload.patch (limited to 'php-cs-fixer-autoload.patch') 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; + -- cgit