@@ -32,8 +32,8 @@ |
||
32 | 32 | $checkPassed = array_reduce( |
33 | 33 | $requirements->getRequirements(), |
34 | 34 | /** |
35 | - * @param bool $checkPassed |
|
36 | - * @param Requirement $requirement |
|
35 | + * @param string $checkPassed |
|
36 | + * @param boolean $requirement |
|
37 | 37 | * |
38 | 38 | * @return bool |
39 | 39 | */ |
@@ -14,7 +14,6 @@ |
||
14 | 14 | |
15 | 15 | namespace Humbug\PhpScoper\Console\Command; |
16 | 16 | |
17 | -use Closure; |
|
18 | 17 | use Humbug\PhpScoper\Autoload\ScoperAutoloadGenerator; |
19 | 18 | use Humbug\PhpScoper\Console\Configuration; |
20 | 19 | use Humbug\PhpScoper\Logger\ConsoleLogger; |
@@ -81,9 +81,6 @@ |
||
81 | 81 | * @param callable[] $patchers List of closures which can alter the content of the files being |
82 | 82 | * scoped. |
83 | 83 | * @param string[] $whitelist List of classes that will not be scoped. |
84 | - * @param Closure $globalNamespaceWhitelisters Closure taking a class name from the global namespace as an argument and |
|
85 | - * returning a boolean which if `true` means the class should be scoped |
|
86 | - * (i.e. is ignored) or scoped otherwise. |
|
87 | 84 | */ |
88 | 85 | private function __construct( |
89 | 86 | ?string $path, |
@@ -22,7 +22,6 @@ |
||
22 | 22 | use PhpParser\Node\Name\FullyQualified; |
23 | 23 | use PhpParser\Node\Scalar\String_; |
24 | 24 | use PhpParser\NodeVisitorAbstract; |
25 | -use Roave\BetterReflection\Reflector\ClassReflector; |
|
26 | 25 | |
27 | 26 | /** |
28 | 27 | * Prefixes the string scalar values. |