Completed
Push — 2.x ( 6946d0...9e5583 )
by Akihito
29s queued 15s
created
src/di/DependencyFactory.php 2 patches
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -43,6 +43,8 @@
 block discarded – undo
43 43
      * Create ToConstructor binding
44 44
      *
45 45
      * @param ReflectionClass<object> $class
46
+     * @param InjectionPoints $injectionPoints
47
+     * @param ReflectionMethod $postConstruct
46 48
      */
47 49
     public function newToConstructor(
48 50
         ReflectionClass $class,
Please login to merge, or discard this patch.
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -4,9 +4,6 @@
 block discarded – undo
4 4
 
5 5
 namespace Ray\Di;
6 6
 
7
-use Doctrine\Common\Annotations\AnnotationReader;
8
-use Koriym\Attributes\AttributesReader;
9
-use Koriym\Attributes\DualReader;
10 7
 use Ray\ServiceLocator\ServiceLocator;
11 8
 use ReflectionClass;
12 9
 use ReflectionMethod;
Please login to merge, or discard this patch.
src/di/NewInstance.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -26,6 +26,7 @@
 block discarded – undo
26 26
 
27 27
     /**
28 28
      * @phpstan-param ReflectionClass<object> $class
29
+     * @param Name $constructorName
29 30
      */
30 31
     public function __construct(
31 32
         ReflectionClass $class,
Please login to merge, or discard this patch.
src/di/SetterMethods.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -29,6 +29,9 @@
 block discarded – undo
29 29
         }
30 30
     }
31 31
 
32
+    /**
33
+     * @param SetterMethod $setterMethod
34
+     */
32 35
     public function add(?SetterMethod $setterMethod = null): void
33 36
     {
34 37
         if ($setterMethod) {
Please login to merge, or discard this patch.
src/di/AnnotatedClassMethods.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,6 @@
 block discarded – undo
7 7
 use Doctrine\Common\Annotations\Reader;
8 8
 use Ray\Di\Di\InjectInterface;
9 9
 use Ray\Di\Di\Named;
10
-use Reflection;
11 10
 use ReflectionClass;
12 11
 use ReflectionMethod;
13 12
 
Please login to merge, or discard this patch.
src/di/Arguments.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -4,9 +4,6 @@
 block discarded – undo
4 4
 
5 5
 namespace Ray\Di;
6 6
 
7
-use Doctrine\Common\Annotations\AnnotationReader;
8
-use Koriym\Attributes\AttributesReader;
9
-use Koriym\Attributes\DualReader;
10 7
 use Ray\Di\Exception\Unbound;
11 8
 use Ray\ServiceLocator\ServiceLocator;
12 9
 use ReflectionMethod;
Please login to merge, or discard this patch.
src/compiler/FunctionCode.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,6 @@
 block discarded – undo
5 5
 namespace Ray\Compiler;
6 6
 
7 7
 use Doctrine\Common\Annotations\Reader;
8
-use Koriym\Attributes\AttributesReader;
9 8
 use LogicException;
10 9
 use PhpParser\Node;
11 10
 use PhpParser\Node\Expr;
Please login to merge, or discard this patch.
src/di/Matcher/AssistedInjectMatcher.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,6 @@
 block discarded – undo
6 6
 
7 7
 use LogicException;
8 8
 use Ray\Aop\AbstractMatcher;
9
-use Ray\Di\Di\Inject;
10 9
 use Ray\Di\Di\InjectInterface;
11 10
 use ReflectionAttribute;
12 11
 use ReflectionClass;
Please login to merge, or discard this patch.