|
14 | 14 |
|
15 | 15 | namespace Humbug\PhpScoper; |
16 | 16 |
|
17 | | -use function array_key_exists; |
18 | | -use Closure; |
19 | 17 | use InvalidArgumentException; |
20 | 18 | use Iterator; |
21 | 19 | use RuntimeException; |
22 | 20 | use SplFileInfo; |
23 | 21 | use Symfony\Component\Filesystem\Filesystem; |
24 | 22 | use Symfony\Component\Finder\Finder; |
25 | 23 | use const DIRECTORY_SEPARATOR; |
| 24 | +use function array_key_exists; |
26 | 25 | use function dirname; |
27 | 26 | use function file_exists; |
28 | 27 | use function gettype; |
@@ -139,15 +138,15 @@ public static function load(string $path = null, array $paths = []): self |
139 | 138 | } |
140 | 139 |
|
141 | 140 | /** |
142 | | - * @param string|null $path Absolute path to the configuration file loaded. |
143 | | - * @param string|null $prefix The prefix applied. |
144 | | - * @param string[][] $filesWithContents Array of tuple with the first argument being the file path and the second its contents |
145 | | - * @param callable[] $patchers List of closures which can alter the content of the files being |
146 | | - * scoped. |
147 | | - * @param Whitelist $whitelist List of classes that will not be scoped. |
148 | | - * returning a boolean which if `true` means the class should be scoped |
149 | | - * (i.e. is ignored) or scoped otherwise. |
150 | | - * @param string[] $whitelistedFiles List of absolute paths of files to completely ignore |
| 141 | + * @param string|null $path Absolute path to the configuration file loaded. |
| 142 | + * @param string|null $prefix The prefix applied. |
| 143 | + * @param string[][] $filesWithContents Array of tuple with the first argument being the file path and the second its contents |
| 144 | + * @param callable[] $patchers List of closures which can alter the content of the files being |
| 145 | + * scoped. |
| 146 | + * @param Whitelist $whitelist List of classes that will not be scoped. |
| 147 | + * returning a boolean which if `true` means the class should be scoped |
| 148 | + * (i.e. is ignored) or scoped otherwise. |
| 149 | + * @param string[] $whitelistedFiles List of absolute paths of files to completely ignore |
151 | 150 | */ |
152 | 151 | private function __construct( |
153 | 152 | ?string $path, |
|
0 commit comments