Completed
Pull Request — master (#240)
by Alexander
05:40
created
src/Core/GoAspectContainer.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,6 @@
 block discarded – undo
16 16
 use Go\Aop\Pointcut\PointcutLexer;
17 17
 use Go\Aop\Pointcut\PointcutGrammar;
18 18
 use Go\Aop\Pointcut\PointcutParser;
19
-use Go\Instrument\RawAnnotationReader;
20 19
 use Go\Instrument\ClassLoading\CachePathManager;
21 20
 use Doctrine\Common\Annotations\AnnotationReader;
22 21
 
Please login to merge, or discard this patch.
src/Instrument/Transformer/WeavingTransformer.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,6 @@
 block discarded – undo
18 18
 use Go\Core\AspectKernel;
19 19
 use Go\Core\AspectLoader;
20 20
 use Go\Instrument\ClassLoading\CachePathManager;
21
-use Go\Instrument\CleanableMemory;
22 21
 use Go\ParserReflection\ReflectionFile;
23 22
 use Go\ParserReflection\ReflectionFileNamespace;
24 23
 use Go\Proxy\ClassProxy;
Please login to merge, or discard this patch.
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -253,7 +253,7 @@
 block discarded – undo
253 253
      * Save AOP proxy to the separate file anr returns the php source code for inclusion
254 254
      *
255 255
      * @param ReflectionClass $class Original class reflection
256
-     * @param string|ClassProxy $child
256
+     * @param ClassProxy $child
257 257
      *
258 258
      * @return string
259 259
      */
Please login to merge, or discard this patch.
src/Proxy/AbstractProxy.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -88,7 +88,7 @@
 block discarded – undo
88 88
     /**
89 89
      * Returns list of string representation of parameters
90 90
      *
91
-     * @param array|ReflectionParameter[] $parameters List of parameters
91
+     * @param ReflectionParameter[] $parameters List of parameters
92 92
      *
93 93
      * @return array
94 94
      */
Please login to merge, or discard this patch.
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -126,7 +126,7 @@
 block discarded – undo
126 126
         $defaultValue = null;
127 127
         $isDefaultValueAvailable = $parameter->isDefaultValueAvailable();
128 128
         if ($isDefaultValueAvailable) {
129
-             $defaultValue = var_export($parameter->getDefaultValue(), true);
129
+                $defaultValue = var_export($parameter->getDefaultValue(), true);
130 130
         } elseif ($parameter->isOptional()) {
131 131
             $defaultValue = 'null';
132 132
         }
Please login to merge, or discard this patch.