From 56d0d4c947857c1ec3a083235f478bb230f5d84c Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 15 Oct 2018 07:58:27 +0200 Subject: add adapted upstream patch for PHP 7.3 --- 227f803c33aad0c004f77ca61815ee8e76d94788.patch | 52 ++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 227f803c33aad0c004f77ca61815ee8e76d94788.patch (limited to '227f803c33aad0c004f77ca61815ee8e76d94788.patch') diff --git a/227f803c33aad0c004f77ca61815ee8e76d94788.patch b/227f803c33aad0c004f77ca61815ee8e76d94788.patch new file mode 100644 index 0000000..c9a726a --- /dev/null +++ b/227f803c33aad0c004f77ca61815ee8e76d94788.patch @@ -0,0 +1,52 @@ +Adapted for version 1 from + + +From 227f803c33aad0c004f77ca61815ee8e76d94788 Mon Sep 17 00:00:00 2001 +From: Sebastian Bergmann +Date: Mon, 28 May 2018 15:38:20 +0200 +Subject: [PATCH] Make this code compatible with PHP 7.3. + +See https://externals.io/message/102147 for details. +--- + tests/ParserTest.php | 8 ++++---- + 1 file changed, 4 insertions(+), 4 deletions(-) + +diff -up tests/ParserTest.php.old tests/ParserTest.php +--- a/tests/ParserTest.php.old 2017-05-22 09:24:03.000000000 +0200 ++++ b/tests/ParserTest.php 2018-10-15 07:54:39.422740416 +0200 +@@ -74,7 +74,7 @@ class ParserTest extends TestCase + + public function testParseWithRemovedLines() + { +- $content = <<parser->parse($content); + $this->assertInternalType('array', $diffs); + $this->assertContainsOnlyInstancesOf('SebastianBergmann\Diff\Diff', $diffs); +@@ -117,7 +117,7 @@ A; + + public function testParseDiffForMulitpleFiles() + { +- $content = <<parser->parse($content); + $this->assertCount(2, $diffs); + -- cgit