Completed
Push — master ( 445b0e...f2c439 )
by Neomerx
02:52
created
src/Packages/Authorization/AuthorizationContainerConfigurator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
      */
36 36
     public static function configureContainer(LimoncelloContainerInterface $container)
37 37
     {
38
-        $container[AuthorizationManagerInterface::class] = function (PsrContainerInterface $container) {
38
+        $container[AuthorizationManagerInterface::class] = function(PsrContainerInterface $container) {
39 39
             $settingsProvider = $container->get(SettingsProviderInterface::class);
40 40
             $settings         = $settingsProvider->get(S::class);
41 41
 
Please login to merge, or discard this patch.
src/Data/ModelSchemeInfo.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -102,7 +102,7 @@
 block discarded – undo
102 102
     public function setData(array $data)
103 103
     {
104 104
         list($this->foreignKeys, $this->belongsToMany, $this->relationshipTypes,
105
-            $this->reversedRelationships,$this->tableNames, $this->primaryKeys,
105
+            $this->reversedRelationships, $this->tableNames, $this->primaryKeys,
106 106
             $this->attributeTypes, $this->attributeLengths, $this->attributes, $this->reversedClasses) = $data;
107 107
     }
108 108
 
Please login to merge, or discard this patch.
src/ExceptionHandlers/DefaultHandler.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
     private function handle(Throwable $exception, SapiInterface $sapi, ContainerInterface $container)
71 71
     {
72
-        $message  = 'Internal Server Error';
72
+        $message = 'Internal Server Error';
73 73
 
74 74
         $this->logException($exception, $container, $message);
75 75
 
Please login to merge, or discard this patch.
src/Packages/Application/Application.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -97,7 +97,7 @@  discard block
 block discarded – undo
97 97
 
98 98
         $routeConfigurators = [];
99 99
         if (empty($method) === false && empty($path) === false) {
100
-            list(, , , , , $routeConfigurators) = $this->initRouter($coreSettings)->match($method, $path);
100
+            list(,,,,, $routeConfigurators) = $this->initRouter($coreSettings)->match($method, $path);
101 101
         }
102 102
 
103 103
         // configure container
@@ -210,7 +210,7 @@  discard block
 block discarded – undo
210 210
      */
211 211
     protected function createThrowableHandler(SapiInterface $sapi, PsrContainerInterface $container): Closure
212 212
     {
213
-        return function (Throwable $throwable) use ($sapi, $container) {
213
+        return function(Throwable $throwable) use ($sapi, $container) {
214 214
             $handler = $this->createExceptionHandler($container);
215 215
             $handler->handleThrowable($throwable, $sapi, $container);
216 216
         };
@@ -224,7 +224,7 @@  discard block
 block discarded – undo
224 224
      */
225 225
     protected function createErrorHandler(SapiInterface $sapi, PsrContainerInterface $container): Closure
226 226
     {
227
-        return function ($severity, $message, $fileName, $lineNumber) use ($sapi, $container) {
227
+        return function($severity, $message, $fileName, $lineNumber) use ($sapi, $container) {
228 228
             $errorException = new ErrorException($message, 0, $severity, $fileName, $lineNumber);
229 229
             $handler = $this->createThrowableHandler($sapi, $container);
230 230
             $handler($errorException);
@@ -239,7 +239,7 @@  discard block
 block discarded – undo
239 239
      */
240 240
     protected function createFatalErrorHandler(PsrContainerInterface $container): Closure
241 241
     {
242
-        return function () use ($container) {
242
+        return function() use ($container) {
243 243
             $error = $this->getLastError();
244 244
             if ($error !== null && ((int)$error['type'] & (E_ERROR | E_COMPILE_ERROR))) {
245 245
                 $handler = $this->createExceptionHandler($container);
Please login to merge, or discard this patch.
src/Packages/Data/DataContainerConfigurator.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
      */
38 38
     public static function configureContainer(LimoncelloContainerInterface $container)
39 39
     {
40
-        $container[ModelSchemeInfoInterface::class] = function (PsrContainerInterface $container) {
40
+        $container[ModelSchemeInfoInterface::class] = function(PsrContainerInterface $container) {
41 41
             $settings = $container->get(SettingsProviderInterface::class)->get(DataSettings::class);
42 42
             $data     = $settings[DataSettings::KEY_MODELS_SCHEME_INFO];
43 43
             $schemes  = new ModelSchemeInfo();
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
             return $schemes;
47 47
         };
48 48
 
49
-        $container[Connection::class] = function (PsrContainerInterface $container) {
49
+        $container[Connection::class] = function(PsrContainerInterface $container) {
50 50
             $settings = $container->get(SettingsProviderInterface::class)->get(DoctrineSettings::class);
51 51
             $params   = array_filter([
52 52
                 'driver'   => $settings[DoctrineSettings::KEY_DRIVER] ?? null,
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
                 'memory'   => $settings[DoctrineSettings::KEY_MEMORY] ?? null,
60 60
                 'path'     => $settings[DoctrineSettings::KEY_PATH] ?? null,
61 61
                 'charset'  => $settings[DoctrineSettings::KEY_CHARSET] ?? 'UTF8',
62
-            ], function ($value) {
62
+            ], function($value) {
63 63
                 return $value !== null;
64 64
             });
65 65
             $extra = $settings[DoctrineSettings::KEY_EXTRA] ?? [];
Please login to merge, or discard this patch.