| @@ 64-71 (lines=8) @@ | ||
| 61 | $sourceFile = realpath($sourceFile); |
|
| 62 | } |
|
| 63 | ||
| 64 | foreach ($this->excludePaths as $excludePath) { |
|
| 65 | $exclude = str_replace('\\', '/', realpath($excludePath)); |
|
| 66 | $current = str_replace('\\', '/', $sourceFile); |
|
| 67 | ||
| 68 | if (strpos($current, $exclude) !== false) { |
|
| 69 | continue 2; |
|
| 70 | } |
|
| 71 | } |
|
| 72 | ||
| 73 | $proxyFile = str_replace($path, $this->trait_proxies_directory, $sourceFile); |
|
| 74 | if (file_exists($proxyFile)) { |
|
| @@ 83-90 (lines=8) @@ | ||
| 80 | $sourceFile = realpath($sourceFile); |
|
| 81 | } |
|
| 82 | ||
| 83 | foreach ($this->excludePaths as $excludePath) { |
|
| 84 | $exclude = str_replace('\\', '/', realpath($excludePath)); |
|
| 85 | $current = str_replace('\\', '/', $sourceFile); |
|
| 86 | ||
| 87 | if (strpos($current, $exclude) !== false) { |
|
| 88 | continue 2; |
|
| 89 | } |
|
| 90 | } |
|
| 91 | ||
| 92 | $proxyFile = str_replace($path, $this->trait_proxies_directory, $sourceFile); |
|
| 93 | if (file_exists($proxyFile)) { |
|