From 6f570a08e53ced88e31a73ac0c658338d9c30abe Mon Sep 17 00:00:00 2001 From: Art4 Date: Sun, 22 Dec 2024 18:48:46 +0000 Subject: [PATCH] declare strict mode in unit tests --- tests/Unit/Util/BasePathTest.php | 2 ++ tests/Unit/Util/CryptoTest.php | 2 ++ 2 files changed, 4 insertions(+) diff --git a/tests/Unit/Util/BasePathTest.php b/tests/Unit/Util/BasePathTest.php index e969f963af..10eb9e8e7a 100644 --- a/tests/Unit/Util/BasePathTest.php +++ b/tests/Unit/Util/BasePathTest.php @@ -5,6 +5,8 @@ // // SPDX-License-Identifier: AGPL-3.0-or-later +declare(strict_types = 1); + namespace Friendica\Test\Unit\Util; use Friendica\Util\BasePath; diff --git a/tests/Unit/Util/CryptoTest.php b/tests/Unit/Util/CryptoTest.php index 1e728746f2..9dbffb29b4 100644 --- a/tests/Unit/Util/CryptoTest.php +++ b/tests/Unit/Util/CryptoTest.php @@ -5,6 +5,8 @@ // // SPDX-License-Identifier: AGPL-3.0-or-later +declare(strict_types = 1); + namespace Friendica\Test\Unit\Util; use Friendica\Util\Crypto;