Completed
Push — master ( 76f46c...a66e80 )
by Dominik
02:49
created
src/ErrorResponseProviderInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Chubbyphp\ErrorHandler;
6 6
 
Please login to merge, or discard this patch.
src/ContentTypeResolverInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Chubbyphp\ErrorHandler;
6 6
 
Please login to merge, or discard this patch.
src/ContentTypeResolver.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Chubbyphp\ErrorHandler;
6 6
 
Please login to merge, or discard this patch.
src/HttpException.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Chubbyphp\ErrorHandler;
6 6
 
Please login to merge, or discard this patch.
src/Slim/AdvancedErrorHandlerProvider.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Chubbyphp\ErrorHandler\Slim;
6 6
 
@@ -18,15 +18,15 @@  discard block
 block discarded – undo
18 18
     {
19 19
         $this->registerRequirements($container);
20 20
 
21
-        $container['errorHandler.defaultProvider'] = function () use ($container) {
21
+        $container['errorHandler.defaultProvider'] = function() use ($container) {
22 22
             throw new \RuntimeException('Please configure your default provider for error handler!');
23 23
         };
24 24
 
25
-        $container['errorHandler.providers'] = function () use ($container) {
25
+        $container['errorHandler.providers'] = function() use ($container) {
26 26
             return [];
27 27
         };
28 28
 
29
-        $container['errorHandler'] = function () use ($container) {
29
+        $container['errorHandler'] = function() use ($container) {
30 30
             return new AdvancedErrorHandler(
31 31
                 $container['errorHandler.contentTypeResolver'],
32 32
                 $container['errorHandler.defaultProvider'],
@@ -40,11 +40,11 @@  discard block
 block discarded – undo
40 40
      */
41 41
     private function registerRequirements(Container $container)
42 42
     {
43
-        $container['errorHandler.acceptNegation'] = function () use ($container) {
43
+        $container['errorHandler.acceptNegation'] = function() use ($container) {
44 44
             return new Negotiator();
45 45
         };
46 46
 
47
-        $container['errorHandler.contentTypeResolver'] = function () use ($container) {
47
+        $container['errorHandler.contentTypeResolver'] = function() use ($container) {
48 48
             return new ContentTypeResolver($container['errorHandler.acceptNegation']);
49 49
         };
50 50
     }
Please login to merge, or discard this patch.
src/Slim/AdvancedErrorHandler.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Chubbyphp\ErrorHandler\Slim;
6 6
 
Please login to merge, or discard this patch.
src/Slim/ErrorHandlerInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Chubbyphp\ErrorHandler\Slim;
6 6
 
Please login to merge, or discard this patch.
src/Slim/SimpleErrorHandler.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Chubbyphp\ErrorHandler\Slim;
6 6
 
Please login to merge, or discard this patch.
src/Slim/SimpleErrorHandlerProvider.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Chubbyphp\ErrorHandler\Slim;
6 6
 
@@ -14,11 +14,11 @@  discard block
 block discarded – undo
14 14
      */
15 15
     public function register(Container $container)
16 16
     {
17
-        $container['errorHandler.defaultProvider'] = function () use ($container) {
17
+        $container['errorHandler.defaultProvider'] = function() use ($container) {
18 18
             throw new \RuntimeException('Please configure your default provider for error handler!');
19 19
         };
20 20
 
21
-        $container['errorHandler'] = function () use ($container) {
21
+        $container['errorHandler'] = function() use ($container) {
22 22
             return new SimpleErrorHandler($container['errorHandler.defaultProvider']);
23 23
         };
24 24
     }
Please login to merge, or discard this patch.