| @@ 77-84 (lines=8) @@ | ||
| 74 | $sourceFile = realpath($sourceFile); |
|
| 75 | } |
|
| 76 | ||
| 77 | foreach ($this->excludePaths as $excludePath) { |
|
| 78 | $exclude = str_replace('\\', '/', realpath($excludePath)); |
|
| 79 | $current = str_replace('\\', '/', $sourceFile); |
|
| 80 | ||
| 81 | if (strpos($current, $exclude) !== false) { |
|
| 82 | continue 2; |
|
| 83 | } |
|
| 84 | } |
|
| 85 | ||
| 86 | $proxyFile = str_replace($path, $this->trait_proxies_directory, $sourceFile); |
|
| 87 | if (file_exists($proxyFile)) { |
|
| @@ 95-102 (lines=8) @@ | ||
| 92 | $sourceFile = realpath($sourceFile); |
|
| 93 | } |
|
| 94 | ||
| 95 | foreach ($this->excludePaths as $excludePath) { |
|
| 96 | $exclude = str_replace('\\', '/', realpath($excludePath)); |
|
| 97 | $current = str_replace('\\', '/', $sourceFile); |
|
| 98 | ||
| 99 | if (strpos($current, $exclude) !== false) { |
|
| 100 | continue 2; |
|
| 101 | } |
|
| 102 | } |
|
| 103 | ||
| 104 | $proxyFile = str_replace($path, $this->trait_proxies_directory, $sourceFile); |
|
| 105 | if (file_exists($proxyFile)) { |
|