Passed
Push — master ( efb428...d376d7 )
by Timo
02:13
created
src/Contract/Command/ConfiguratorInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
      * @param CommandInterface $command
25 25
      * @return bool
26 26
      */
27
-    public function accept(CommandInterface $command) : bool ;
27
+    public function accept(CommandInterface $command) : bool;
28 28
 
29 29
     /**
30 30
      * @param array $config
Please login to merge, or discard this patch.
src/Command/Configurator.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@  discard block
 block discarded – undo
24 24
     use ConfiguratorTrait;
25 25
 
26 26
     /**
27
-     * @param CommandInterface $command
27
+     * @param \Tidal\PhpSpec\ConsoleExtension\Contract\Command\CommandInterface $command
28 28
      * @return bool
29 29
      */
30 30
     protected function doAccept(CommandInterface $command): bool
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
33 33
     }
34 34
 
35 35
     /**
36
-     * @param CommandInterface $command
36
+     * @param \Tidal\PhpSpec\ConsoleExtension\Contract\Command\CommandInterface $command
37 37
      */
38 38
     protected function doConfigure(CommandInterface $command)
39 39
     {
Please login to merge, or discard this patch.
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -37,12 +37,12 @@
 block discarded – undo
37 37
      */
38 38
     protected function doConfigure(CommandInterface $command)
39 39
     {
40
-       if (!isset($this->config)) {
40
+        if (!isset($this->config)) {
41 41
             throw new RuntimeException(sprintf(
42 42
                 'Config has not been set in &s',
43 43
                 __METHOD__
44 44
             ));
45
-       }
45
+        }
46 46
     }
47 47
 }
48 48
 
Please login to merge, or discard this patch.
src/Command/InlineConfigurator.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -21,10 +21,10 @@
 block discarded – undo
21 21
 {
22 22
     use ConfiguratorTrait;
23 23
 
24
-     /**
25
-     * @param CommandInterface $command
26
-     * @return bool
27
-     */
24
+        /**
25
+         * @param CommandInterface $command
26
+         * @return bool
27
+         */
28 28
     protected function doAccept(CommandInterface $command): bool
29 29
     {
30 30
         return $command instanceof InlineConfigCommandInterface;
Please login to merge, or discard this patch.
src/Command/GenericCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
33 33
      * @param ConfiguratorInterface $configurator
34 34
      * @param array|null $config
35 35
      */
36
-    public function __construct(WriterInterface $writer, ConfiguratorInterface $configurator, ?array $config = [])
36
+    public function __construct(WriterInterface $writer, ConfiguratorInterface $configurator, ? array $config = [])
37 37
     {
38 38
         if ($config !== null) {
39 39
             $configurator->setConfig($config);
Please login to merge, or discard this patch.
src/Command/GenericInlineConfigCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@
 block discarded – undo
45 45
      * @param ConfiguratorInterface $configurator
46 46
      * @param array|null $config
47 47
      */
48
-    public function __construct(WriterInterface $writer, ConfiguratorInterface $configurator, ?array $config = [])
48
+    public function __construct(WriterInterface $writer, ConfiguratorInterface $configurator, ? array $config = [])
49 49
     {
50 50
         if ($config !== null) {
51 51
             $configurator->setConfig($config);
Please login to merge, or discard this patch.