Completed
Pull Request — master (#552)
by Greg
02:57
created
tests/src/RoboFileFixture.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 
5 5
 use Psr\Log\LoggerAwareTrait;
6 6
 use Psr\Log\LoggerAwareInterface;
7
-
8 7
 use Consolidation\AnnotatedCommand\Events\CustomEventAwareInterface;
9 8
 use Consolidation\AnnotatedCommand\Events\CustomEventAwareTrait;
10 9
 use Consolidation\OutputFormatters\StructuredData\PropertyList;
Please login to merge, or discard this patch.
tests/unit/RunnerTest.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,5 @@
 block discarded – undo
1 1
 <?php
2 2
 use Robo\Robo;
3
-
4 3
 use Robo\Config\ConfigProcessor;
5 4
 use Robo\Config\YamlConfigLoader;
6 5
 
Please login to merge, or discard this patch.
src/Collection/CollectionBuilder.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -72,6 +72,10 @@
 block discarded – undo
72 72
         $this->commandFile = $commandFile;
73 73
     }
74 74
 
75
+    /**
76
+     * @param \League\Container\ContainerInterface $container
77
+     * @param BuilderAwareInterface $commandFile
78
+     */
75 79
     public static function create($container, $commandFile)
76 80
     {
77 81
         $builder = new self($commandFile);
Please login to merge, or discard this patch.
src/Config/YamlConfigLoader.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
         if (!file_exists($path)) {
20 20
             return $this;
21 21
         }
22
-        $this->config = (array) Yaml::parse(file_get_contents($path));
22
+        $this->config = (array)Yaml::parse(file_get_contents($path));
23 23
         return $this;
24 24
     }
25 25
 }
Please login to merge, or discard this patch.
src/Robo.php 1 patch
Doc Comments   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -91,6 +91,7 @@  discard block
 block discarded – undo
91 91
 
92 92
     /**
93 93
      * Create a config object and load it from the provided paths.
94
+     * @param string[] $paths
94 95
      */
95 96
     public static function createConfiguration($paths)
96 97
     {
@@ -101,6 +102,7 @@  discard block
 block discarded – undo
101 102
 
102 103
     /**
103 104
      * Use a simple config loader to load configuration values from specified paths
105
+     * @param Config\Config $config
104 106
      */
105 107
     public static function loadConfiguration($config, $paths)
106 108
     {
@@ -300,7 +302,7 @@  discard block
 block discarded – undo
300 302
      * @param string $id
301 303
      *   The ID of the service to retrieve.
302 304
      *
303
-     * @return mixed
305
+     * @return \Symfony\Component\Console\Output\OutputInterface
304 306
      *   The specified service.
305 307
      */
306 308
     public static function service($id)
Please login to merge, or discard this patch.