Skip to content

Commit 91f8cfe

Browse files
committed
fix(cs): import LOCK_EX via use const instead of fallback lookup
PHPCS flagged the bare `LOCK_EX` reference in the v1 Local adapter constructor call as a fallback global name. Add `use const LOCK_EX` to match the repo's coding standard. Signed-off-by: Sebastian Mendel <github@sebastianmendel.de>
1 parent b0d7376 commit 91f8cfe

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

packages/filesystem/src/FlySystemAdapter.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@
2323

2424
use function class_exists;
2525

26+
use const LOCK_EX;
27+
2628
class FlySystemAdapter implements FileSystem
2729
{
2830
public function __construct(

0 commit comments

Comments
 (0)