Completed
Branch master (f97670)
by Tristan
02:10
created
console/Stubs/Manager.php 2 patches
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@  discard block
 block discarded – undo
27 27
      */
28 28
     public function __construct(File $file_dispatch)
29 29
     {
30
-        $this->stubs_dir = __DIR__.'/';
30
+        $this->stubs_dir = __DIR__ . '/';
31 31
         $this->file_dispatch = $file_dispatch;
32 32
     }
33 33
 
@@ -41,7 +41,7 @@  discard block
 block discarded – undo
41 41
      */
42 42
     public function get($stub)
43 43
     {
44
-        $file = $this->stubs_dir.$stub.'.stub';
44
+        $file = $this->stubs_dir . $stub . '.stub';
45 45
 
46 46
         if (false === $this->file_dispatch->exists($file)) {
47 47
             throw new InvalidArgumentException(
@@ -64,7 +64,7 @@  discard block
 block discarded – undo
64 64
     public function hydrate($contents, array $data)
65 65
     {
66 66
         foreach ($data as $key => $value) {
67
-            $contents = str_replace('%'.$key.'%', $value, $contents);
67
+            $contents = str_replace('%' . $key . '%', $value, $contents);
68 68
         }
69 69
 
70 70
         return $contents;
Please login to merge, or discard this patch.
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
23 23
     /**
24 24
      * Create a new stub manager.
25 25
      *
26
-     * @param Enzyme\Parrot\File $file_dispatch A parrot file dispatch wrapper.
26
+     * @param File $file_dispatch A parrot file dispatch wrapper.
27 27
      */
28 28
     public function __construct(File $file_dispatch)
29 29
     {
Please login to merge, or discard this patch.
console/Commands/BaseCommand.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -158,7 +158,7 @@
 block discarded – undo
158 158
 
159 159
         $class = $dont_affix_type === true
160 160
             ? $name
161
-            : $name.$uc_type;
161
+            : $name . $uc_type;
162 162
 
163 163
         if (true === $output->isVerbose()) {
164 164
             $output->writeln("<comment>    Namespace -> {$this->namespace}</comment>");
Please login to merge, or discard this patch.
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -44,8 +44,8 @@
 block discarded – undo
44 44
     /**
45 45
      * Instantiate a new command.
46 46
      *
47
-     * @param Enzyme\Axiom\Console\Stubs\Manager $stub_manager
48
-     * @param Enzyme\Axiom\Console\Config        $config
47
+     * @param StubManager $stub_manager
48
+     * @param Config        $config
49 49
      */
50 50
     public function __construct(StubManager $stub_manager, Config $config)
51 51
     {
Please login to merge, or discard this patch.
console/Config.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -39,8 +39,8 @@
 block discarded – undo
39 39
     /**
40 40
      * Create a new configuration manager.
41 41
      *
42
-     * @param Symfony\Component\Yaml\Parser $parser
43
-     * @param Enzyme\Parrot\File            $file_dispatch
42
+     * @param Parser $parser
43
+     * @param File            $file_dispatch
44 44
      */
45 45
     public function __construct(Parser $parser, File $file_dispatch)
46 46
     {
Please login to merge, or discard this patch.