Passed
Push — develop ( ac3052...955933 )
by nguereza
04:41
created
src/Console/Command/VendorPublishCommand.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -61,8 +61,7 @@  discard block
 block discarded – undo
61 61
  * @package Platine\Framework\Console\Command
62 62
  * @template T
63 63
  */
64
-class VendorPublishCommand extends Command
65
-{
64
+class VendorPublishCommand extends Command {
66 65
     /**
67 66
      * Application instance
68 67
      * @var Application
@@ -130,8 +129,7 @@  discard block
 block discarded – undo
130 129
     /**
131 130
      * {@inheritdoc}
132 131
      */
133
-    public function execute()
134
-    {
132
+    public function execute() {
135 133
         $writer = $this->io()->writer();
136 134
         $name = $this->getArgumentValue('name');
137 135
         $writer->boldGreen(sprintf('PUBLISH OF PACKAGE [%s]', $name), true)->eol();
Please login to merge, or discard this patch.
src/Console/Command/RouteCommand.php 1 patch
Braces   +3 added lines, -6 removed lines patch added patch discarded remove patch
@@ -61,8 +61,7 @@  discard block
 block discarded – undo
61 61
  * @package Platine\Framework\Console\Command
62 62
  * @template T
63 63
  */
64
-class RouteCommand extends Command
65
-{
64
+class RouteCommand extends Command {
66 65
     /**
67 66
      * The configuration instance
68 67
      * @var Config<T>
@@ -77,8 +76,7 @@  discard block
 block discarded – undo
77 76
      * @param Config<T> $config
78 77
      * @param Router $router
79 78
      */
80
-    public function __construct(Application $application, Config $config, Router $router)
81
-    {
79
+    public function __construct(Application $application, Config $config, Router $router) {
82 80
         parent::__construct('route', 'Command to manage route');
83 81
 
84 82
         $this->addOption('-l|--list', 'Show route list', null, false);
@@ -91,8 +89,7 @@  discard block
 block discarded – undo
91 89
     /**
92 90
      * {@inheritdoc}
93 91
      */
94
-    public function execute()
95
-    {
92
+    public function execute() {
96 93
         if ($this->getOptionValue('list')) {
97 94
             $this->showRouteList();
98 95
         }
Please login to merge, or discard this patch.
src/Console/MakeCommand.php 5 patches
Indentation   +1 added lines, -5 removed lines patch added patch discarded remove patch
@@ -571,8 +571,4 @@
 block discarded – undo
571 571
     protected function getUsesTemplate(string $className): string
572 572
     {
573 573
         return <<<EOF
574
-        use $className; 
575
-        
576
-        EOF;
577
-    }
578
-}
574
+        use $className
579 575
\ No newline at end of file
Please login to merge, or discard this patch.
Switch Indentation   +1 added lines, -5 removed lines patch added patch discarded remove patch
@@ -571,8 +571,4 @@
 block discarded – undo
571 571
     protected function getUsesTemplate(string $className): string
572 572
     {
573 573
         return <<<EOF
574
-        use $className; 
575
-        
576
-        EOF;
577
-    }
578
-}
574
+        use $className
579 575
\ No newline at end of file
Please login to merge, or discard this patch.
Spacing   +1 added lines, -5 removed lines patch added patch discarded remove patch
@@ -571,8 +571,4 @@
 block discarded – undo
571 571
     protected function getUsesTemplate(string $className): string
572 572
     {
573 573
         return <<<EOF
574
-        use $className; 
575
-        
576
-        EOF;
577
-    }
578
-}
574
+        use $className
579 575
\ No newline at end of file
Please login to merge, or discard this patch.
Braces   +3 added lines, -9 removed lines patch added patch discarded remove patch
@@ -59,8 +59,7 @@  discard block
 block discarded – undo
59 59
  * @class MakeCommand
60 60
  * @package Platine\Framework\Console
61 61
  */
62
-abstract class MakeCommand extends Command
63
-{
62
+abstract class MakeCommand extends Command {
64 63
     /**
65 64
      * The Application instance
66 65
      * @var Application
@@ -117,8 +116,7 @@  discard block
 block discarded – undo
117 116
     /**
118 117
      * {@inheritdoc}
119 118
      */
120
-    public function execute()
121
-    {
119
+    public function execute() {
122 120
         $io = $this->io();
123 121
         $writer = $io->writer();
124 122
         $name = $this->className;
@@ -571,8 +569,4 @@  discard block
 block discarded – undo
571 569
     protected function getUsesTemplate(string $className): string
572 570
     {
573 571
         return <<<EOF
574
-        use $className; 
575
-        
576
-        EOF;
577
-    }
578
-}
572
+        use $className
579 573
\ No newline at end of file
Please login to merge, or discard this patch.
Upper-Lower-Casing   +1 added lines, -5 removed lines patch added patch discarded remove patch
@@ -571,8 +571,4 @@
 block discarded – undo
571 571
     protected function getUsesTemplate(string $className): string
572 572
     {
573 573
         return <<<EOF
574
-        use $className; 
575
-        
576
-        EOF;
577
-    }
578
-}
574
+        use $className
579 575
\ No newline at end of file
Please login to merge, or discard this patch.
src/Kernel/ConsoleKernel.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -58,8 +58,7 @@  discard block
 block discarded – undo
58 58
  * @package Platine\Framework\Kernel
59 59
  * @template T
60 60
  */
61
-class ConsoleKernel extends BaseKernel
62
-{
61
+class ConsoleKernel extends BaseKernel {
63 62
     /**
64 63
      * Console application instance
65 64
      * @var ConsoleApp
@@ -83,8 +82,7 @@  discard block
 block discarded – undo
83 82
      * @param Application $app
84 83
      * @param ConsoleApp $console
85 84
      */
86
-    public function __construct(Application $app, ConsoleApp $console)
87
-    {
85
+    public function __construct(Application $app, ConsoleApp $console) {
88 86
         parent::__construct($app);
89 87
         $this->console = $console;
90 88
     }
Please login to merge, or discard this patch.