diff --git a/src/ArchPresets/Strict.php b/src/ArchPresets/Strict.php index 655ee5a0..250a5859 100644 --- a/src/ArchPresets/Strict.php +++ b/src/ArchPresets/Strict.php @@ -14,12 +14,12 @@ final class Strict extends AbstractPreset */ public function execute(): void { - foreach ($this->userNamespaces as $namespace) { - $this->expectations[] = expect([ - 'sleep', - 'usleep', - ])->not->toBeUsed(); + $this->expectations[] = expect([ + 'sleep', + 'usleep', + ])->not->toBeUsed(); + foreach ($this->userNamespaces as $namespace) { $this->expectations[] = expect($namespace) ->toUseStrictTypes(); }