Test Failed
Push — develop ( 2de2bf...7fb7cc )
by nguereza
02:31
created
src/Http/Middleware/ErrorHandlerMiddleware.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -148,7 +148,7 @@
 block discarded – undo
148 148
         ServerRequestInterface $request,
149 149
         RequestHandlerInterface $handler
150 150
     ): ResponseInterface {
151
-        set_error_handler(static function (
151
+        set_error_handler(static function(
152 152
             int $severity,
153 153
             string $message,
154 154
             string $file,
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
@@ -74,7 +74,7 @@  discard block
 block discarded – undo
74 74
     public function register(): void
75 75
     {
76 76
         $this->app->share('app', $this->app);
77
-        $this->app->share(ConsoleApp::class, function () {
77
+        $this->app->share(ConsoleApp::class, function() {
78 78
             return new ConsoleApp('PLATINE CONSOLE', '1.6.8');
79 79
         });
80 80
         $this->app->instance($this->app);
@@ -83,7 +83,7 @@  discard block
 block discarded – undo
83 83
         $this->app->bind(ContainerInterface::class, $this->app);
84 84
         $this->app->bind(ResolverInterface::class, ConstructorResolver::class);
85 85
         $this->app->bind(MiddlewareResolverInterface::class, MiddlewareResolver::class);
86
-        $this->app->bind(EmitterInterface::class, function (ContainerInterface $app) {
86
+        $this->app->bind(EmitterInterface::class, function(ContainerInterface $app) {
87 87
             return new ResponseEmitter(
88 88
                 $app->get(Config::class)->get('app.response_length', null)
89 89
             );
Please login to merge, or discard this patch.
src/Service/Provider/SessionServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@
 block discarded – undo
66 66
      */
67 67
     public function register(): void
68 68
     {
69
-        $this->app->bind(Configuration::class, function (ContainerInterface $app) {
69
+        $this->app->bind(Configuration::class, function(ContainerInterface $app) {
70 70
             return new Configuration($app->get(Config::class)->get('session', []));
71 71
         });
72 72
         $this->app->bind(Session::class);
Please login to merge, or discard this patch.
src/Service/Provider/TemplateServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -69,7 +69,7 @@
 block discarded – undo
69 69
      */
70 70
     public function register(): void
71 71
     {
72
-        $this->app->bind(Configuration::class, function (ContainerInterface $app) {
72
+        $this->app->bind(Configuration::class, function(ContainerInterface $app) {
73 73
             return new Configuration($app->get(Config::class)->get('template', []));
74 74
         });
75 75
         $this->app->bind(AbstractCache::class, NullCache::class);
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
@@ -67,7 +67,7 @@
 block discarded – undo
67 67
      */
68 68
     public function register(): void
69 69
     {
70
-        $this->app->bind(Configuration::class, function (ContainerInterface $app) {
70
+        $this->app->bind(Configuration::class, function(ContainerInterface $app) {
71 71
             return new Configuration($app->get(Config::class)->get('cache', []));
72 72
         });
73 73
         $this->app->bind(AdapterInterface::class);
Please login to merge, or discard this patch.
src/Service/Provider/DatabaseServiceProvider.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -69,17 +69,17 @@
 block discarded – undo
69 69
      */
70 70
     public function register(): void
71 71
     {
72
-        $this->app->bind(Configuration::class, function (ContainerInterface $app) {
72
+        $this->app->bind(Configuration::class, function(ContainerInterface $app) {
73 73
             /** @template T @var Config<T> $config */
74 74
             $config = $app->get(Config::class);
75 75
             $driver = $config->get('database.default', 'default');
76 76
 
77 77
             return new Configuration($config->get('database.connections.' . $driver, []));
78 78
         });
79
-        $this->app->bind(Pool::class, function (ContainerInterface $app) {
79
+        $this->app->bind(Pool::class, function(ContainerInterface $app) {
80 80
             return new Pool($app->get(Config::class)->get('database', []));
81 81
         });
82
-        $this->app->share(Connection::class, function (ContainerInterface $app) {
82
+        $this->app->share(Connection::class, function(ContainerInterface $app) {
83 83
             return new Connection(
84 84
                 $app->get(Configuration::class),
85 85
                 $app->get(LoggerInterface::class)
Please login to merge, or discard this patch.