From 68ec36aaf8358036881cbd91ce04dabe57cbe0c4 Mon Sep 17 00:00:00 2001 From: Imani Manyara Date: Tue, 13 Oct 2026 11:53:56 -0400 Subject: [PATCH] Drop the no-op Closure import from CommitFlowTest The file has no namespace, so `use Closure;` imports a global class into the global scope. PHP emits "The use statement with non-compound name 'Closure' has no effect" on every test run. The type hint on line 73 resolves to \Closure without it. --- tests/Feature/CommitFlowTest.php | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/Feature/CommitFlowTest.php b/tests/Feature/CommitFlowTest.php index 12b01d5..490909d 100644 --- a/tests/Feature/CommitFlowTest.php +++ b/tests/Feature/CommitFlowTest.php @@ -2,7 +2,6 @@ declare(strict_types=1); -use Closure; use Simtabi\Laranail\EnvKit\Headless\Session\EditSession; use Simtabi\Laranail\EnvKit\Headless\Backup\BackupManager; use Simtabi\Laranail\EnvKit\Headless\Document\EnvDocument;