From dc4e9a97808a996584fbbadd760245c7c2720e17 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 3 Aug 2017 13:16:11 +0200 Subject: v2.2.5 --- php-cs-fixer-autoload.patch | 29 ++++++++++++++++------------- 1 file changed, 16 insertions(+), 13 deletions(-) (limited to 'php-cs-fixer-autoload.patch') diff --git a/php-cs-fixer-autoload.patch b/php-cs-fixer-autoload.patch index c411290..d8797f1 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-05-25 07:12:21.000000000 +0200 -+++ ./php-cs-fixer 2017-05-25 07:51:43.642438002 +0200 +--- ./php-cs-fixer.rpm 2017-08-03 12:19:28.000000000 +0200 ++++ ./php-cs-fixer 2017-08-03 13:03:17.794166301 +0200 @@ -42,12 +42,7 @@ set_error_handler(function ($severity, $ } }); @@ -16,25 +16,28 @@ 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; - } +--- ./src/Console/Command/HelpCommand.php.rpm 2017-08-03 13:03:17.794166301 +0200 ++++ ./src/Console/Command/HelpCommand.php 2017-08-03 13:04:12.930466672 +0200 +@@ -343,6 +343,8 @@ EOF + { + static $version = null; + return Application::VERSION; + - $currentMajor = (int) Application::VERSION; - $changelogFile = __DIR__.'/../../../CHANGELOG.md'; - $changelog = @file_get_contents($changelogFile); + if (null !== $version) { + return $version; + } diff -up ./tests/AutoReview/ProjectCodeTest.php.rpm ./tests/AutoReview/ProjectCodeTest.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 +--- ./tests/AutoReview/ProjectCodeTest.php.rpm 2017-08-03 12:19:28.000000000 +0200 ++++ ./tests/AutoReview/ProjectCodeTest.php 2017-08-03 13:04:33.084576466 +0200 +@@ -309,8 +309,10 @@ final class ProjectCodeTest extends Test ->files() ->name('*.php') ->in(__DIR__.'/../../src') + ->notName('autoload.php') ->exclude(array( 'Resources', ++ 'tests', )) + ; + -- cgit