Completed
Pull Request — master (#257)
by Alexander
02:36
created
src/Console/Command/DebugAdvisorCommand.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,6 @@
 block discarded – undo
11 11
 namespace Go\Console\Command;
12 12
 
13 13
 use Go\Aop\Advisor;
14
-use Go\Aop\Pointcut;
15 14
 use Go\Core\AdviceMatcher;
16 15
 use Go\Core\AspectContainer;
17 16
 use Go\Core\AspectLoader;
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -110,7 +110,7 @@
 block discarded – undo
110 110
         $iterator->rewind();
111 111
 
112 112
         foreach ($iterator as $file) {
113
-            $reflectionFile       = new ReflectionFile((string)$file);
113
+            $reflectionFile       = new ReflectionFile((string) $file);
114 114
             $reflectionNamespaces = $reflectionFile->getFileNamespaces();
115 115
             foreach ($reflectionNamespaces as $reflectionNamespace) {
116 116
                 foreach ($reflectionNamespace->getClasses() as $reflectionClass) {
Please login to merge, or discard this patch.
src/Console/Command/DebugAspectCommand.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -129,7 +129,7 @@
 block discarded – undo
129 129
      *
130 130
      * @param string $comment
131 131
      *
132
-     * @return mixed|string
132
+     * @return string
133 133
      */
134 134
     private function getPrettyText($comment)
135 135
     {
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@  discard block
 block discarded – undo
55 55
 
56 56
         $aspectName = $input->getOption('aspect');
57 57
         if (!$aspectName) {
58
-            $io->text('<info>' . get_class($this->aspectKernel). '</info> has following enabled aspects:');
58
+            $io->text('<info>' . get_class($this->aspectKernel) . '</info> has following enabled aspects:');
59 59
             $aspects = $container->getByTag('aspect');
60 60
         } else {
61 61
             $aspect    = $container->getAspect($aspectName);
@@ -112,7 +112,7 @@  discard block
 block discarded – undo
112 112
         $aspectItems     = $aspectLoader->load($aspect);
113 113
         $aspectItemsInfo = [];
114 114
         foreach ($aspectItems as $itemId => $item) {
115
-            $itemType   = 'Unknown';
115
+            $itemType = 'Unknown';
116 116
             if ($item instanceof Pointcut) {
117 117
                 $itemType = 'Pointcut';
118 118
             }
Please login to merge, or discard this patch.