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.patch22
1 files changed, 17 insertions, 5 deletions
diff --git a/php-cs-fixer-autoload.patch b/php-cs-fixer-autoload.patch
index b3202a2..c411290 100644
--- a/php-cs-fixer-autoload.patch
+++ b/php-cs-fixer-autoload.patch
@@ -1,6 +1,6 @@
diff -up ./php-cs-fixer.rpm ./php-cs-fixer
---- ./php-cs-fixer.rpm 2017-04-01 08:35:52.000000000 +0200
-+++ ./php-cs-fixer 2017-04-01 08:48:58.016723873 +0200
+--- ./php-cs-fixer.rpm 2017-05-25 07:12:21.000000000 +0200
++++ ./php-cs-fixer 2017-05-25 07:51:43.642438002 +0200
@@ -42,12 +42,7 @@ set_error_handler(function ($severity, $
}
});
@@ -15,10 +15,22 @@ diff -up ./php-cs-fixer.rpm ./php-cs-fixer
use PhpCsFixer\Console\Application;
+diff -up ./src/Console/Command/HelpCommand.php.rpm ./src/Console/Command/HelpCommand.php
+--- ./src/Console/Command/HelpCommand.php.rpm 2017-05-25 08:09:15.037812996 +0200
++++ ./src/Console/Command/HelpCommand.php 2017-05-25 08:11:00.701454099 +0200
+@@ -338,6 +338,8 @@ EOF
+ return $version;
+ }
+
++ return Application::VERSION;
++
+ $currentMajor = (int) Application::VERSION;
+ $changelogFile = __DIR__.'/../../../CHANGELOG.md';
+ $changelog = @file_get_contents($changelogFile);
diff -up ./tests/AutoReview/ProjectCodeTest.php.rpm ./tests/AutoReview/ProjectCodeTest.php
---- ./tests/AutoReview/ProjectCodeTest.php.rpm 2017-04-01 08:50:31.217299123 +0200
-+++ ./tests/AutoReview/ProjectCodeTest.php 2017-04-01 08:51:10.127539283 +0200
-@@ -314,6 +314,7 @@ final class ProjectCodeTest extends \PHP
+--- ./tests/AutoReview/ProjectCodeTest.php.rpm 2017-05-25 07:12:21.000000000 +0200
++++ ./tests/AutoReview/ProjectCodeTest.php 2017-05-25 07:51:43.642438002 +0200
+@@ -315,6 +315,7 @@ final class ProjectCodeTest extends Test
->files()
->name('*.php')
->in(__DIR__.'/../../src')