From e645d02259250c9cfac92a8ab4f1328106765e79 Mon Sep 17 00:00:00 2001 From: Maxim Smakouz Date: Mon, 6 Nov 2023 15:29:47 +0200 Subject: [PATCH] Change default permissions --- src/Queue/BoltdbCreateInfo.php | 2 +- tests/Unit/Queue/BoltdbCreateInfoTest.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Queue/BoltdbCreateInfo.php b/src/Queue/BoltdbCreateInfo.php index 66a8e3c..686e838 100644 --- a/src/Queue/BoltdbCreateInfo.php +++ b/src/Queue/BoltdbCreateInfo.php @@ -11,7 +11,7 @@ final class BoltdbCreateInfo extends CreateInfo { public const PREFETCH_DEFAULT_VALUE = 10000; public const FILE_DEFAULT_VALUE = 'rr.db'; - public const PERMISSIONS_DEFAULT_VALUE = 0777; + public const PERMISSIONS_DEFAULT_VALUE = 0755; /** * @param non-empty-string $name diff --git a/tests/Unit/Queue/BoltdbCreateInfoTest.php b/tests/Unit/Queue/BoltdbCreateInfoTest.php index bb21c79..1628c4f 100644 --- a/tests/Unit/Queue/BoltdbCreateInfoTest.php +++ b/tests/Unit/Queue/BoltdbCreateInfoTest.php @@ -51,7 +51,7 @@ public function testToArray(): void 'priority' => $priority, 'prefetch' => $prefetch, 'file' => $file, - 'permissions' => 0777, + 'permissions' => 0755, ]; $this->assertEquals($expectedArray, $boltdbCreateInfo->toArray());