Test Failed
Push — develop ( afcd85...c5c862 )
by nguereza
03:41
created
src/Service/Provider/PaginationServiceProvider.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -61,8 +61,7 @@
 block discarded – undo
61 61
  * @class PaginationServiceProvider
62 62
  * @package Platine\Framework\Service\Provider
63 63
  */
64
-class PaginationServiceProvider extends ServiceProvider
65
-{
64
+class PaginationServiceProvider extends ServiceProvider {
66 65
 
67 66
     /**
68 67
      * {@inheritdoc}
Please login to merge, or discard this patch.
src/Console/Command/MakeActionCommand.php 1 patch
Braces   +1 added lines, -30 removed lines patch added patch discarded remove patch
@@ -55,8 +55,7 @@  discard block
 block discarded – undo
55 55
  * @class MakeActionCommand
56 56
  * @package Platine\Framework\Console\Command
57 57
  */
58
-class MakeActionCommand extends MakeCommand
59
-{
58
+class MakeActionCommand extends MakeCommand {
60 59
 
61 60
     /**
62 61
      * {@inheritodc}
@@ -85,31 +84,3 @@  discard block
 block discarded – undo
85 84
     public function getClassTemplate(): string
86 85
     {
87 86
         return <<<EOF
88
-        <?php
89
-        
90
-        declare(strict_types=1);
91
-        
92
-        namespace %namespace%;
93
-
94
-        use Platine\Http\Handler\RequestHandlerInterface;
95
-        use Platine\Http\ResponseInterface;
96
-        use Platine\Http\ServerRequestInterface;
97
-
98
-        /**
99
-        * @class %classname%
100
-        * @package %namespace%
101
-        */
102
-        class %classname% implements RequestHandlerInterface
103
-        {
104
-
105
-            /**
106
-            * {@inheritodc}
107
-            */
108
-            public function handle(ServerRequestInterface \$request): ResponseInterface
109
-            {
110
-            }
111
-        }
112
-        
113
-        EOF;
114
-    }
115
-}
Please login to merge, or discard this patch.
src/Console/MakeCommand.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -57,8 +57,7 @@  discard block
 block discarded – undo
57 57
  * @class MakeCommand
58 58
  * @package Platine\Framework\Console
59 59
  */
60
-abstract class MakeCommand extends Command
61
-{
60
+abstract class MakeCommand extends Command {
62 61
 
63 62
     /**
64 63
      * The Application instance
@@ -111,8 +110,7 @@  discard block
 block discarded – undo
111 110
     /**
112 111
      * {@inheritodc}
113 112
      */
114
-    public function execute()
115
-    {
113
+    public function execute() {
116 114
         $writer = $this->io()->writer();
117 115
         $name = $this->getArgumentValue('name');
118 116
         $cleanName = str_replace('/', '\\', $name);
Please login to merge, or discard this patch.
src/Pagination/BootstrapRenderer.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -54,8 +54,7 @@
 block discarded – undo
54 54
  * @class BootstrapRenderer
55 55
  * @package Platine\Framework\Pagination
56 56
  */
57
-class BootstrapRenderer implements RendererInterface
58
-{
57
+class BootstrapRenderer implements RendererInterface {
59 58
 
60 59
     /**
61 60
      * {@inheritdoc}
Please login to merge, or discard this patch.
src/Pagination/ServerRequestUrlGenerator.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -54,8 +54,7 @@  discard block
 block discarded – undo
54 54
  * @class ServerRequestUrlGenerator
55 55
  * @package Platine\Framework\Pagination
56 56
  */
57
-class ServerRequestUrlGenerator implements UrlGeneratorInterface
58
-{
57
+class ServerRequestUrlGenerator implements UrlGeneratorInterface {
59 58
 
60 59
     /**
61 60
      * The server request instance
@@ -80,8 +79,7 @@  discard block
 block discarded – undo
80 79
      * @param ServerRequestInterface $request
81 80
      * @param string $queryName
82 81
      */
83
-    public function __construct(ServerRequestInterface $request, string $queryName)
84
-    {
82
+    public function __construct(ServerRequestInterface $request, string $queryName) {
85 83
         $this->request = $request;
86 84
         $this->queryVarName = $queryName;
87 85
 
Please login to merge, or discard this patch.