From bf788909f1c119f102e952b1511e742e6b4f0112 Mon Sep 17 00:00:00 2001 From: Simon Berton Date: Sat, 23 Nov 2019 13:46:51 +0100 Subject: [PATCH 1/4] Add Symfony 5 support --- composer.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index f5e257b..9250868 100644 --- a/composer.json +++ b/composer.json @@ -12,11 +12,11 @@ ], "require": { "php": ">=5.3.3", - "symfony/yaml": "^2.3 || ^3.0 || ^4.0" + "symfony/yaml": "^2.3 || ^3.0 || ^4.0 || ^5.0" }, "require-dev": { "composer/composer": "^1.0@dev", - "symfony/filesystem": "^2.3 || ^3 || ^4", + "symfony/filesystem": "^2.3 || ^3 || ^4 || ^5", "symfony/phpunit-bridge": "^4.0" }, "autoload": { From 6d60a6fbd1040c8fcc5c12438b48059989ed32ab Mon Sep 17 00:00:00 2001 From: Simon Berton Date: Mon, 25 Nov 2019 09:18:19 +0100 Subject: [PATCH 2/4] Added setup(): void return type --- Tests/ProcessorTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tests/ProcessorTest.php b/Tests/ProcessorTest.php index 4a1163d..7e7118b 100644 --- a/Tests/ProcessorTest.php +++ b/Tests/ProcessorTest.php @@ -17,7 +17,7 @@ class ProcessorTest extends TestCase */ private $processor; - protected function setUp() + protected function setUp(): void { parent::setUp(); From b0a686244c9724bb33308756ce7255fc324e1554 Mon Sep 17 00:00:00 2001 From: Simon Berton Date: Mon, 25 Nov 2019 09:29:50 +0100 Subject: [PATCH 3/4] void to PHPUnit base class extended function --- Tests/ProcessorTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tests/ProcessorTest.php b/Tests/ProcessorTest.php index 7e7118b..1873830 100644 --- a/Tests/ProcessorTest.php +++ b/Tests/ProcessorTest.php @@ -25,7 +25,7 @@ protected function setUp(): void $this->processor = new Processor($this->io->reveal()); } - protected function tearDown() + protected function tearDown(): void { parent::tearDown(); From aa30f769af4a8fc493c6600769069e75886bd415 Mon Sep 17 00:00:00 2001 From: Simon Berton Date: Mon, 25 Nov 2019 09:34:56 +0100 Subject: [PATCH 4/4] ScriptHandler void function --- Tests/ScriptHandlerTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tests/ScriptHandlerTest.php b/Tests/ScriptHandlerTest.php index 7430200..145dbd5 100644 --- a/Tests/ScriptHandlerTest.php +++ b/Tests/ScriptHandlerTest.php @@ -11,7 +11,7 @@ class ScriptHandlerTest extends TestCase private $io; private $package; - protected function setUp() + protected function setUp(): void { parent::setUp();