Skip to content

Commit 5a84fe2

Browse files
committed
wip
1 parent d59753b commit 5a84fe2

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

packages/core/src/DiscoveryConfig.php

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,10 @@ final class DiscoveryConfig
88

99
public function shouldSkip(string $input): bool
1010
{
11-
if (str_contains($input, 'GlobalHiddenPathDiscovery.php')) {
12-
lw($this->skipDiscovery, $input);
13-
}
14-
15-
return $this->skipDiscovery[$input] ?? $this->skipDiscovery[str_replace(['\\', '/'], DIRECTORY_SEPARATOR, $input)] ?? false;
11+
return $this->skipDiscovery[$input]
12+
?? $this->skipDiscovery[str_replace(['\\', '/'], DIRECTORY_SEPARATOR, $input)]
13+
?? $this->skipDiscovery[realpath($input)]
14+
?? false;
1615
}
1716

1817
public function skipClasses(string ...$classNames): self

0 commit comments

Comments
 (0)