summaryrefslogtreecommitdiffstats
path: root/php-cs-fixer-autoload.patch
diff options
context:
space:
mode:
Diffstat (limited to 'php-cs-fixer-autoload.patch')
-rw-r--r--php-cs-fixer-autoload.patch19
1 files changed, 10 insertions, 9 deletions
diff --git a/php-cs-fixer-autoload.patch b/php-cs-fixer-autoload.patch
index 632dd31..e24ef55 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 2019-11-04 09:02:13.808580217 +0100
-+++ ./php-cs-fixer 2019-11-04 09:03:24.388258652 +0100
-@@ -43,38 +43,7 @@ set_error_handler(function ($severity, $
+--- ./php-cs-fixer.rpm 2020-12-08 10:29:13.190515695 +0100
++++ ./php-cs-fixer 2020-12-08 10:30:26.191258296 +0100
+@@ -52,39 +52,7 @@ set_error_handler(static function ($seve
}
});
@@ -10,6 +10,7 @@ diff -up ./php-cs-fixer.rpm ./php-cs-fixer
- // Maybe this file is used as phar-stub? Let's try!
- try {
- Phar::mapPhar('php-cs-fixer.phar');
+-
- require_once 'phar://php-cs-fixer.phar/vendor/autoload.php';
- $require = false;
- } catch (PharException $e) {
@@ -42,9 +43,9 @@ diff -up ./php-cs-fixer.rpm ./php-cs-fixer
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 2019-11-04 09:01:59.000000000 +0100
-+++ ./src/Console/Command/HelpCommand.php 2019-11-04 09:02:13.808580217 +0100
-@@ -377,6 +377,8 @@ EOF
+--- ./src/Console/Command/HelpCommand.php.rpm 2020-12-08 07:57:58.000000000 +0100
++++ ./src/Console/Command/HelpCommand.php 2020-12-08 10:29:13.190515695 +0100
+@@ -374,6 +374,8 @@ EOF
{
static $version = null;
@@ -54,9 +55,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 2019-11-04 09:01:59.000000000 +0100
-+++ ./tests/AutoReview/ProjectCodeTest.php 2019-11-04 09:02:13.808580217 +0100
-@@ -473,8 +473,11 @@ final class ProjectCodeTest extends Test
+--- ./tests/AutoReview/ProjectCodeTest.php.rpm 2020-12-08 07:57:59.000000000 +0100
++++ ./tests/AutoReview/ProjectCodeTest.php 2020-12-08 10:29:13.190515695 +0100
+@@ -690,8 +690,11 @@ final class ProjectCodeTest extends Test
->files()
->name('*.php')
->in(__DIR__.'/../../src')