From 2ff6696bf522da039dc236a8bc6398c7e7688825 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Fri, 22 Oct 2021 10:15:00 +0000 Subject: [PATCH 1/3] [TASK] Update nimut/testing-framework (^5.1 => ^6.0) --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 963ac43..97f64e7 100644 --- a/composer.json +++ b/composer.json @@ -30,7 +30,7 @@ "codedungeon/phpunit-result-printer": "^0.31.0", "ergebnis/composer-normalize": "^2.8", "helmich/typo3-typoscript-lint": "^2.2", - "nimut/testing-framework": "^5.1", + "nimut/testing-framework": "^6.0", "php-parallel-lint/php-console-highlighter": "^0.5.0", "php-parallel-lint/php-parallel-lint": "^1.2", "phpunit/phpunit": "^6.5", From d74c018b1a87379ca02cd3563e57e909b0ef7815 Mon Sep 17 00:00:00 2001 From: Mathias Brodala Date: Fri, 22 Oct 2021 12:16:47 +0200 Subject: [PATCH 2/3] [TASK] Update phpunit/phpunit (^6.5 => ^8.5) --- .gitignore | 1 + composer.json | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index fb358dc..16c99d5 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ +/.phpunit.result.cache /composer.lock /node_modules /vendor diff --git a/composer.json b/composer.json index 97f64e7..01bda91 100644 --- a/composer.json +++ b/composer.json @@ -33,7 +33,7 @@ "nimut/testing-framework": "^6.0", "php-parallel-lint/php-console-highlighter": "^0.5.0", "php-parallel-lint/php-parallel-lint": "^1.2", - "phpunit/phpunit": "^6.5", + "phpunit/phpunit": "^8.5", "sclable/xml-lint": "^0.3.0", "slevomat/coding-standard": "^7.0", "squizlabs/php_codesniffer": "^3.0" From 112d5cf1852de7ee265287817864c4b9fb2521ca Mon Sep 17 00:00:00 2001 From: Mathias Brodala Date: Fri, 22 Oct 2021 12:17:10 +0200 Subject: [PATCH 3/3] [TASK] Update test setup/teardown return type hint --- Tests/Unit/Mail/MailMessageBuilderTest.php | 4 ++-- Tests/Unit/Mail/SwiftmailerMailMessageBuilderTest.php | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Tests/Unit/Mail/MailMessageBuilderTest.php b/Tests/Unit/Mail/MailMessageBuilderTest.php index 97b46b3..eb14053 100644 --- a/Tests/Unit/Mail/MailMessageBuilderTest.php +++ b/Tests/Unit/Mail/MailMessageBuilderTest.php @@ -22,7 +22,7 @@ final class MailMessageBuilderTest extends UnitTestCase /** * Set up this testcase */ - protected function setUp() + protected function setUp(): void { if (!is_subclass_of(MailMessage::class, Email::class)) { $this->markTestSkipped('Symfony mail only'); @@ -34,7 +34,7 @@ protected function setUp() /** * Tear down this testcase */ - protected function tearDown() + protected function tearDown(): void { GeneralUtility::purgeInstances(); } diff --git a/Tests/Unit/Mail/SwiftmailerMailMessageBuilderTest.php b/Tests/Unit/Mail/SwiftmailerMailMessageBuilderTest.php index ed3af4a..2a97fc4 100644 --- a/Tests/Unit/Mail/SwiftmailerMailMessageBuilderTest.php +++ b/Tests/Unit/Mail/SwiftmailerMailMessageBuilderTest.php @@ -21,7 +21,7 @@ final class SwiftmailerMailMessageBuilderTest extends UnitTestCase /** * Set up this testcase */ - protected function setUp() + protected function setUp(): void { if (!is_subclass_of(MailMessage::class, \Swift_Message::class)) { $this->markTestSkipped('Swiftmailer mail only'); @@ -33,7 +33,7 @@ protected function setUp() /** * Tear down this testcase */ - protected function tearDown() + protected function tearDown(): void { GeneralUtility::purgeInstances(); }