From bfd05bfe12ecb7090977968943e737fbb8a038d0 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 26 Jun 2017 10:16:20 +0200 Subject: v1.24.1 --- Autoload-pr78.patch | 36 ------------------------------------ 1 file changed, 36 deletions(-) delete mode 100644 Autoload-pr78.patch (limited to 'Autoload-pr78.patch') diff --git a/Autoload-pr78.patch b/Autoload-pr78.patch deleted file mode 100644 index 979ab0a..0000000 --- a/Autoload-pr78.patch +++ /dev/null @@ -1,36 +0,0 @@ -From ff3e1ccdca5792de7a1aed654272f04bffe833ba Mon Sep 17 00:00:00 2001 -From: Remi Collet -Date: Mon, 26 Jun 2017 09:04:17 +0200 -Subject: [PATCH] restore PHP 5.3 compatibility - ---- - src/CollectorResult.php | 2 +- - tests/DuplicateDetectionTest.php | 2 +- - 2 files changed, 2 insertions(+), 2 deletions(-) - -diff --git a/src/CollectorResult.php b/src/CollectorResult.php -index 9556767..3538140 100644 ---- a/src/CollectorResult.php -+++ b/src/CollectorResult.php -@@ -44,7 +44,7 @@ public function addParseResult(\SplFileInfo $file, ParseResult $result) { - } - if (isset($this->units[$unit])) { - if (!isset($this->duplicates[$unit])) { -- $this->duplicates[$unit] = [ $this->units[$unit] ]; -+ $this->duplicates[$unit] = array( $this->units[$unit] ); - } - $this->duplicates[$unit][] = $filename; - continue; -diff --git a/tests/DuplicateDetectionTest.php b/tests/DuplicateDetectionTest.php -index cf88701..4b02da1 100644 ---- a/tests/DuplicateDetectionTest.php -+++ b/tests/DuplicateDetectionTest.php -@@ -43,7 +43,7 @@ - class DuplicateDetectionTest extends \PHPUnit\Framework\TestCase { - - public function testBugIsFixed() { -- $config = new Config([]); -+ $config = new Config(array()); - $config->setLowercaseMode(true); - - $factory = new Factory(); -- cgit