Test Failed
Push — develop ( 7fb7cc...c3d980 )
by nguereza
02:34
created
src/Kernel/ConsoleKernel.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 ConsoleKernel
58 58
  * @package Platine\Framework\Kernel
59 59
  */
60
-class ConsoleKernel
61
-{
60
+class ConsoleKernel {
62 61
 
63 62
     protected ConsoleApp $console;
64 63
     protected Application $app;
@@ -80,8 +79,7 @@  discard block
 block discarded – undo
80 79
      * @param Application $app
81 80
      * @param ConsoleApp $console
82 81
      */
83
-    public function __construct(Application $app, ConsoleApp $console)
84
-    {
82
+    public function __construct(Application $app, ConsoleApp $console) {
85 83
         $this->app = $app;
86 84
         $this->console = $console;
87 85
     }
Please login to merge, or discard this patch.
src/Service/Provider/BaseServiceProvider.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
     {
77 77
         $this->app->share(Application::class, $this->app);
78 78
         $this->app->share('app', $this->app);
79
-        $this->app->share(ConsoleApp::class, function () {
79
+        $this->app->share(ConsoleApp::class, function() {
80 80
             return new ConsoleApp('PLATINE CONSOLE', '1.6.8');
81 81
         });
82 82
         $this->app->bind(ContainerInterface::class, $this->app);
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
84 84
         $this->app->bind(RouteCollectionInterface::class, RouteCollection::class);
85 85
         $this->app->bind(Router::class);
86 86
         $this->app->bind(MiddlewareResolverInterface::class, MiddlewareResolver::class);
87
-        $this->app->bind(EmitterInterface::class, function (ContainerInterface $app) {
87
+        $this->app->bind(EmitterInterface::class, function(ContainerInterface $app) {
88 88
             return new ResponseEmitter(
89 89
                 $app->get(Config::class)->get('app.response_chunck_size', null)
90 90
             );
Please login to merge, or discard this patch.
src/Service/Provider/CacheServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -70,7 +70,7 @@
 block discarded – undo
70 70
      */
71 71
     public function register(): void
72 72
     {
73
-        $this->app->bind(Configuration::class, function (ContainerInterface $app) {
73
+        $this->app->bind(Configuration::class, function(ContainerInterface $app) {
74 74
             return new Configuration($app->get(Config::class)->get('cache', []));
75 75
         });
76 76
         $this->app->bind(AdapterInterface::class, LocalAdapter::class);
Please login to merge, or discard this patch.
src/Demo/ConfigCommand.php 1 patch
Braces   +3 added lines, -6 removed lines patch added patch discarded remove patch
@@ -17,16 +17,14 @@  discard block
 block discarded – undo
17 17
  *
18 18
  * @author tony
19 19
  */
20
-class ConfigCommand extends Command
21
-{
20
+class ConfigCommand extends Command {
22 21
 
23 22
     protected Application $application;
24 23
 
25 24
     /**
26 25
      *
27 26
      */
28
-    public function __construct(Application $application)
29
-    {
27
+    public function __construct(Application $application) {
30 28
         parent::__construct('config', 'Command to manage configuration');
31 29
         $this->setAlias('c');
32 30
 
@@ -36,8 +34,7 @@  discard block
 block discarded – undo
36 34
         $this->application = $application;
37 35
     }
38 36
 
39
-    public function execute()
40
-    {
37
+    public function execute() {
41 38
         if ($this->getArgumentValue('list')) {
42 39
             $this->showConfigList();
43 40
         }
Please login to merge, or discard this patch.
src/Demo/TemplateResponse.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -16,8 +16,7 @@
 block discarded – undo
16 16
  *
17 17
  * @author tony
18 18
  */
19
-class TemplateResponse extends Response
20
-{
19
+class TemplateResponse extends Response {
21 20
 
22 21
     protected Template $template;
23 22
 
Please login to merge, or discard this patch.