Passed
Push — master ( ef2e88...efb428 )
by Timo
02:16
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/GenericCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
      * @param WriterInterface $writer
33 33
      * @param ConfiguratorInterface|null $configurator
34 34
      */
35
-    public function __construct(WriterInterface $writer, ConfiguratorInterface $configurator, ?array $config = [])
35
+    public function __construct(WriterInterface $writer, ConfiguratorInterface $configurator, ? array $config = [])
36 36
     {
37 37
         if ($config !== null) {
38 38
             $configurator->setConfig($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.