From 8e062ff114edbcd40e0f611bd1efc214a9f8c1c1 Mon Sep 17 00:00:00 2001 From: Clemens Schwaighofer Date: Thu, 12 Jan 2023 15:07:12 +0900 Subject: [PATCH] Add comment to unit test skip condition --- test/phpUnitTests/DotEnvTest.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/phpUnitTests/DotEnvTest.php b/test/phpUnitTests/DotEnvTest.php index 91d2e71..ce538a6 100644 --- a/test/phpUnitTests/DotEnvTest.php +++ b/test/phpUnitTests/DotEnvTest.php @@ -156,6 +156,8 @@ final class DotEnvTest extends TestCase array $expected_env, ?string $chmod ): void { + // skip if chmod is set to 10000 (000 no rights) if we are root + // as root there is no stop reading a file if ( !empty($chmod) && $chmod == '100000' &&