Passed
Pull Request — master (#263)
by Théo
02:36
created
src/Reflector.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,6 @@
 block discarded – undo
18 18
 use ReflectionFunction;
19 19
 use Roave\BetterReflection\Identifier\Exception\InvalidIdentifierName;
20 20
 use Roave\BetterReflection\Reflector\ClassReflector;
21
-use Roave\BetterReflection\Reflector\Exception\IdentifierNotFound;
22 21
 use Roave\BetterReflection\Reflector\FunctionReflector;
23 22
 use function array_key_exists;
24 23
 use function array_values;
Please login to merge, or discard this patch.
src/PhpParser/NodeVisitor/Resolver/FullyQualifiedNameResolver.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -70,6 +70,9 @@
 block discarded – undo
70 70
         );
71 71
     }
72 72
 
73
+    /**
74
+     * @param null|Name $use
75
+     */
73 76
     private function resolveNodeName(Name $name, ?Name $namespace, ?Name $use): Name
74 77
     {
75 78
         if (null !== $use) {
Please login to merge, or discard this patch.
src/Configuration.php 1 patch
Doc Comments   -3 removed lines patch added patch discarded remove patch
@@ -107,9 +107,6 @@
 block discarded – undo
107 107
      * @param callable[]         $patchers                    List of closures which can alter the content of the files being
108 108
      *                                                        scoped.
109 109
      * @param Whitelist          $whitelist                   List of classes that will not be scoped.
110
-     * @param Closure            $globalNamespaceWhitelisters Closure taking a class name from the global namespace as an argument and
111
-     *                                                        returning a boolean which if `true` means the class should be scoped
112
-     *                                                        (i.e. is ignored) or scoped otherwise.
113 110
      * @param string[]           $whitelistedFiles            List of absolute paths of files to completely ignore
114 111
      */
115 112
     private function __construct(
Please login to merge, or discard this patch.