summaryrefslogtreecommitdiffstats
path: root/php-cs-fixer-autoload.patch
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2018-06-04 10:28:23 +0200
committerRemi Collet <remi@remirepo.net>2018-06-04 10:28:23 +0200
commit72982dc68b82a35de18c0721ad1a8b40c656a586 (patch)
tree19fd31d69130c6a3558e0975619b9e21fb7a9f8b /php-cs-fixer-autoload.patch
parent2626c5b4cb038d39b6d345032feffc1d457bddf6 (diff)
update to 2.12.0
add dependency on composer/xdebug-handler add build dependency on php-cs-fixer/phpunit-constraint-isidenticalstring add build dependency on php-cs-fixer/phpunit-constraint-xmlmatchesxsd
Diffstat (limited to 'php-cs-fixer-autoload.patch')
-rw-r--r--php-cs-fixer-autoload.patch20
1 files changed, 10 insertions, 10 deletions
diff --git a/php-cs-fixer-autoload.patch b/php-cs-fixer-autoload.patch
index 262a233..209084c 100644
--- a/php-cs-fixer-autoload.patch
+++ b/php-cs-fixer-autoload.patch
@@ -1,7 +1,7 @@
diff -up ./php-cs-fixer.rpm ./php-cs-fixer
---- ./php-cs-fixer.rpm 2018-03-21 07:08:49.801165194 +0100
-+++ ./php-cs-fixer 2018-03-21 07:09:08.527252780 +0100
-@@ -39,25 +39,7 @@ set_error_handler(function ($severity, $
+--- ./php-cs-fixer.rpm 2018-06-04 08:32:38.764785724 +0200
++++ ./php-cs-fixer 2018-06-04 08:33:04.580971680 +0200
+@@ -44,25 +44,7 @@ set_error_handler(function ($severity, $
}
});
@@ -26,12 +26,12 @@ diff -up ./php-cs-fixer.rpm ./php-cs-fixer
-unset($require);
+require_once '/usr/share/php/PhpCsFixer/autoload.php';
+ use Composer\XdebugHandler\XdebugHandler;
use PhpCsFixer\Console\Application;
-
diff -up ./src/Console/Command/HelpCommand.php.rpm ./src/Console/Command/HelpCommand.php
---- ./src/Console/Command/HelpCommand.php.rpm 2018-03-21 07:06:08.000000000 +0100
-+++ ./src/Console/Command/HelpCommand.php 2018-03-21 07:08:49.801165194 +0100
-@@ -368,6 +368,8 @@ EOF
+--- ./src/Console/Command/HelpCommand.php.rpm 2018-06-04 08:27:41.000000000 +0200
++++ ./src/Console/Command/HelpCommand.php 2018-06-04 08:32:38.764785724 +0200
+@@ -379,6 +379,8 @@ EOF
{
static $version = null;
@@ -41,9 +41,9 @@ diff -up ./src/Console/Command/HelpCommand.php.rpm ./src/Console/Command/HelpCom
return $version;
}
diff -up ./tests/AutoReview/ProjectCodeTest.php.rpm ./tests/AutoReview/ProjectCodeTest.php
---- ./tests/AutoReview/ProjectCodeTest.php.rpm 2018-03-21 07:06:08.000000000 +0100
-+++ ./tests/AutoReview/ProjectCodeTest.php 2018-03-21 07:08:49.801165194 +0100
-@@ -433,8 +433,11 @@ final class ProjectCodeTest extends Test
+--- ./tests/AutoReview/ProjectCodeTest.php.rpm 2018-06-04 08:27:41.000000000 +0200
++++ ./tests/AutoReview/ProjectCodeTest.php 2018-06-04 08:32:38.764785724 +0200
+@@ -413,8 +413,11 @@ final class ProjectCodeTest extends Test
->files()
->name('*.php')
->in(__DIR__.'/../../src')