Passed
Push — master ( 049a2e...ce0a25 )
by
unknown
08:54 queued 05:37
created
src/Zicht/Tool/Command/InfoCommand.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,6 @@
 block discarded – undo
5 5
  */
6 6
 namespace Zicht\Tool\Command;
7 7
 
8
-use Symfony\Component\Console\Input;
9 8
 use Symfony\Component\Console\Output\OutputInterface;
10 9
 use Symfony\Component\Console\Input\InputInterface;
11 10
 
Please login to merge, or discard this patch.
src/Zicht/Tool/Application.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -158,7 +158,7 @@
 block discarded – undo
158 158
                 new InputOption('--verbose', '-v|vv|vvv', InputOption::VALUE_NONE, 'Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug'),
159 159
                 new InputOption('--no-cache', '-c', InputOption::VALUE_NONE, 'Force recompilation of container code'),
160 160
                 new InputOption('--version', '-V', InputOption::VALUE_NONE, 'Display this application version.'),
161
-                new InputOption('--no-ansi', '',  InputOption::VALUE_NONE, 'Disable ANSI output'),
161
+                new InputOption('--no-ansi', '', InputOption::VALUE_NONE, 'Disable ANSI output'),
162 162
             )
163 163
         );
164 164
     }
Please login to merge, or discard this patch.
src/Zicht/Tool/Container/Container.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -184,7 +184,7 @@  discard block
 block discarded – undo
184 184
      * Return the raw context value at the specified path.
185 185
      *
186 186
      * @param array|string $path
187
-     * @return mixed
187
+     * @return string|null
188 188
      */
189 189
     public function get($path)
190 190
     {
@@ -278,7 +278,7 @@  discard block
 block discarded – undo
278 278
      * This is useful for commands that need the shell regardless of the 'explain' value setting.
279 279
      *
280 280
      * @param string $cmd
281
-     * @return mixed
281
+     * @return string|null
282 282
      */
283 283
     public function helperExec($cmd)
284 284
     {
Please login to merge, or discard this patch.
src/Zicht/Tool/Command/TaskCommand.php 2 patches
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -98,6 +98,8 @@
 block discarded – undo
98 98
 
99 99
     /**
100 100
      * @{@inheritDoc}
101
+     * @param string $shortcut
102
+     * @param string $help
101 103
      */
102 104
     public function addOption($name, $shortcut = null, $mode = null, $help = null, $default = null)
103 105
     {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -82,7 +82,7 @@
 block discarded – undo
82 82
 
83 83
         if (!is_null($application)) {
84 84
             try {
85
-                foreach($this->getContainer()->plugins as $plugin) {
85
+                foreach ($this->getContainer()->plugins as $plugin) {
86 86
                     if ($plugin instanceof PluginTaskListenerInterface) {
87 87
                         $name = implode('.', array_slice($this->getTaskReference(), 1));
88 88
                         $listeners = $plugin->getTaskListeners();
Please login to merge, or discard this patch.