From c24f5fb256f53836727d3479e0fcf79d680ca2ca Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Fri, 2 May 2025 14:00:10 +0200 Subject: test: Finish migrating tests/Core/ to PHPUnit 10 compatible code Signed-off-by: Joas Schilling --- tests/Core/Command/Encryption/EncryptAllTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/Core/Command/Encryption/EncryptAllTest.php') diff --git a/tests/Core/Command/Encryption/EncryptAllTest.php b/tests/Core/Command/Encryption/EncryptAllTest.php index 6e72e87b973..1c59a3705af 100644 --- a/tests/Core/Command/Encryption/EncryptAllTest.php +++ b/tests/Core/Command/Encryption/EncryptAllTest.php @@ -99,7 +99,7 @@ class EncryptAllTest extends TestCase { $this->invokePrivate($command, 'execute', [$this->consoleInput, $this->consoleOutput]); } - public function dataTestExecute() { + public static function dataTestExecute(): array { return [ ['y', true], ['Y', true], ['n', false], ['N', false], ['', false] ]; -- cgit v1.2.3