From e504c646d7bee45134d7b089cdaf6823b663a158 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 3 Aug 2017 12:18:48 +0200 Subject: v2.4.0 --- php-cs-fixer-autoload.patch | 31 +++++++++++++++++-------------- 1 file changed, 17 insertions(+), 14 deletions(-) (limited to 'php-cs-fixer-autoload.patch') diff --git a/php-cs-fixer-autoload.patch b/php-cs-fixer-autoload.patch index a2e31fd..549be98 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 2017-05-25 08:40:58.000000000 +0200 -+++ ./php-cs-fixer 2017-05-25 08:44:03.319555699 +0200 -@@ -42,12 +42,7 @@ set_error_handler(function ($severity, $ +--- ./php-cs-fixer.rpm 2017-08-03 11:05:45.000000000 +0200 ++++ ./php-cs-fixer 2017-08-03 11:52:15.526145624 +0200 +@@ -40,12 +40,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:45:34.935117875 +0200 -+++ ./src/Console/Command/HelpCommand.php 2017-05-25 08:45:44.276175193 +0200 -@@ -338,6 +338,8 @@ EOF - return $version; - } +--- ./src/Console/Command/HelpCommand.php.rpm 2017-08-03 11:05:45.000000000 +0200 ++++ ./src/Console/Command/HelpCommand.php 2017-08-03 11:52:15.526145624 +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 08:40:58.000000000 +0200 -+++ ./tests/AutoReview/ProjectCodeTest.php 2017-05-25 08:44:03.319555699 +0200 -@@ -316,6 +316,7 @@ final class ProjectCodeTest extends Test +--- ./tests/AutoReview/ProjectCodeTest.php.rpm 2017-08-03 11:05:45.000000000 +0200 ++++ ./tests/AutoReview/ProjectCodeTest.php 2017-08-03 11:52:47.461317357 +0200 +@@ -310,8 +310,10 @@ final class ProjectCodeTest extends Test ->files() ->name('*.php') ->in(__DIR__.'/../../src') + ->notName('autoload.php') ->exclude([ 'Resources', ++ 'tests', ]) + ; + -- cgit