summaryrefslogtreecommitdiffstats
path: root/Autoload-pr78.patch
diff options
context:
space:
mode:
Diffstat (limited to 'Autoload-pr78.patch')
-rw-r--r--Autoload-pr78.patch36
1 files changed, 0 insertions, 36 deletions
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 <remi@remirepo.net>
-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();