Test Failed
Push — develop ( acdfb2...2de2bf )
by nguereza
02:53
created
src/Service/Provider/BaseServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -81,7 +81,7 @@
 block discarded – undo
81 81
         $this->app->bind(ResolverInterface::class, ConstructorResolver::class);
82 82
         $this->app->bind(CallableResolverInterface::class, CallableResolver::class);
83 83
         $this->app->bind(RequestHandlerInterface::class, $this->app);
84
-        $this->app->bind(EmitterInterface::class, function (ContainerInterface $app) {
84
+        $this->app->bind(EmitterInterface::class, function(ContainerInterface $app) {
85 85
             return new ResponseEmitter(
86 86
                 $app->get(Config::class)->get('app.response_length', null)
87 87
             );
Please login to merge, or discard this patch.
src/Service/Provider/ErrorHandlerServiceProvider.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -67,11 +67,11 @@
 block discarded – undo
67 67
      */
68 68
     public function register(): void
69 69
     {
70
-        $this->app->bind(ErrorHandlerInterface::class, function (ContainerInterface $app) {
70
+        $this->app->bind(ErrorHandlerInterface::class, function(ContainerInterface $app) {
71 71
             return new ErrorHandler($app->get(LoggerInterface::class));
72 72
         });
73 73
 
74
-        $this->app->bind(ErrorHandlerMiddleware::class, function (ContainerInterface $app) {
74
+        $this->app->bind(ErrorHandlerMiddleware::class, function(ContainerInterface $app) {
75 75
             return new ErrorHandlerMiddleware(
76 76
                 $app->get(Config::class)->get('app.debug'),
77 77
                 $app->get(LoggerInterface::class)
Please login to merge, or discard this patch.
src/Service/Provider/LoggerServiceProvider.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(LoggerInterface::class, function (ContainerInterface $app) {
69
+        $this->app->bind(LoggerInterface::class, function(ContainerInterface $app) {
70 70
             return new Logger(
71 71
                 new LoggerConfiguration($app->get(Config::class)->get('logging', []))
72 72
             );
Please login to merge, or discard this patch.
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 (int $severity, string $message, string $file, int $line): bool {
151
+        set_error_handler(static function(int $severity, string $message, string $file, int $line): bool {
152 152
             // https://www.php.net/manual/en/function.error-reporting.php#8866
153 153
             // Usages the defined levels of `error_reporting()`.
154 154
             if (!(error_reporting() & $severity)) {
Please login to merge, or discard this patch.