Completed
Pull Request — master (#117)
by Théo
02:43
created
src/Console/Command/AddPrefixCommand.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,6 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
src/Console/Configuration.php 1 patch
Doc Comments   -3 removed lines patch added patch discarded remove patch
@@ -81,9 +81,6 @@
 block discarded – undo
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,
Please login to merge, or discard this patch.
src/NodeVisitor/StringScalarPrefixer.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,6 @@
 block discarded – undo
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.
Please login to merge, or discard this patch.