Completed
Push — master ( 407a4d...684992 )
by Neomerx
02:31
created
src/Session/SessionFunctions.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -165,19 +165,19 @@
 block discarded – undo
165 165
     public function __construct()
166 166
     {
167 167
         $this
168
-            ->setRetrieveCallable(function (string $key) {
168
+            ->setRetrieveCallable(function(string $key) {
169 169
                 return $_SESSION[$key];
170 170
             })
171
-            ->setPutCallable(function (string $key, $serializable): void {
171
+            ->setPutCallable(function(string $key, $serializable): void {
172 172
                 $_SESSION[$key] = $serializable;
173 173
             })
174
-            ->setHasCallable(function (string $key): bool {
174
+            ->setHasCallable(function(string $key): bool {
175 175
                 return array_key_exists($key, $_SESSION);
176 176
             })
177
-            ->setDeleteCallable(function (string $key): void {
177
+            ->setDeleteCallable(function(string $key): void {
178 178
                 unset($_SESSION[$key]);
179 179
             })
180
-            ->setIteratorCallable(function (): Iterator {
180
+            ->setIteratorCallable(function(): Iterator {
181 181
                 return new ArrayIterator($_SESSION);
182 182
             })
183 183
             ->setAbortCallable('\session_abort')
Please login to merge, or discard this patch.
src/Packages/Session/SessionContainerConfigurator.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
34 34
      */
35 35
     public static function configureContainer(LimoncelloContainerInterface $container): void
36 36
     {
37
-        $container[SessionInterface::class] = function (PsrContainerInterface $container): SessionInterface {
37
+        $container[SessionInterface::class] = function(PsrContainerInterface $container): SessionInterface {
38 38
             /** @var SessionFunctionsInterface $functions */
39 39
             $functions = $container->get(SessionFunctionsInterface::class);
40 40
             $session   = new Session($functions);
@@ -42,7 +42,7 @@  discard block
 block discarded – undo
42 42
             return $session;
43 43
         };
44 44
 
45
-        $container[SessionFunctionsInterface::class] = function (): SessionFunctionsInterface {
45
+        $container[SessionFunctionsInterface::class] = function(): SessionFunctionsInterface {
46 46
             $functions = new SessionFunctions();
47 47
 
48 48
             return $functions;
Please login to merge, or discard this patch.
src/Packages/Authorization/AuthorizationSettings.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -61,7 +61,7 @@
 block discarded – undo
61 61
             "Invalid Policies folder `$policiesFolder`."
62 62
         );
63 63
         assert(empty($policiesFileMask) === false, "Invalid Policies file mask `$policiesFileMask`.");
64
-        $policiesPath = $policiesFolder . DIRECTORY_SEPARATOR . $policiesFileMask;
64
+        $policiesPath = $policiesFolder.DIRECTORY_SEPARATOR.$policiesFileMask;
65 65
 
66 66
         $topPolicyName = $defaults[static::KEY_TOP_POLICY_NAME];
67 67
 
Please login to merge, or discard this patch.
src/Packages/Cookies/CookieContainerConfigurator.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
     public static function configureContainer(LimoncelloContainerInterface $container): void
39 39
     {
40 40
         $container[CookieJarInterface::class] =
41
-            function (PsrContainerInterface $container): CookieJarInterface {
41
+            function(PsrContainerInterface $container): CookieJarInterface {
42 42
                 $settings = $container->get(SettingsProviderInterface::class)->get(CookieSettings::class);
43 43
 
44 44
                 return new CookieJar(
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
             };
52 52
 
53 53
         $container[CookieFunctionsInterface::class] =
54
-            function (PsrContainerInterface $container): CookieFunctionsInterface {
54
+            function(PsrContainerInterface $container): CookieFunctionsInterface {
55 55
                 return new CookieFunctions();
56 56
             };
57 57
     }
Please login to merge, or discard this patch.
src/Commands/DataCommand.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -100,7 +100,7 @@  discard block
 block discarded – undo
100 100
         return [
101 101
             [
102 102
                 static::OPTION_NAME        => static::OPT_PATH,
103
-                static::OPTION_DESCRIPTION => 'Path to a list of migrations or seeds. ' .
103
+                static::OPTION_DESCRIPTION => 'Path to a list of migrations or seeds. '.
104 104
                     'If not given a path from settings will be used.',
105 105
                 static::OPTION_SHORTCUT    => 'i',
106 106
                 static::OPTION_MODE        => static::OPTION_MODE__REQUIRED,
@@ -148,7 +148,7 @@  discard block
 block discarded – undo
148 148
                 $this->createSeedRunner($inOut, $path, $seedInit)->run($container);
149 149
                 break;
150 150
             default:
151
-                $inOut->writeError("Unsupported action `$action`." . PHP_EOL);
151
+                $inOut->writeError("Unsupported action `$action`.".PHP_EOL);
152 152
                 break;
153 153
         }
154 154
     }
Please login to merge, or discard this patch.
src/Packages/Application/Application.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -108,7 +108,7 @@
 block discarded – undo
108 108
         $routeConfigurators = [];
109 109
         $coreData           = $this->getCoreData();
110 110
         if (empty($method) === false && empty($path) === false) {
111
-            list(, , , , , $routeConfigurators) = $this->initRouter($coreData)->match($method, $path);
111
+            list(,,,,, $routeConfigurators) = $this->initRouter($coreData)->match($method, $path);
112 112
         }
113 113
 
114 114
         // configure container
Please login to merge, or discard this patch.
src/Data/BaseSeedRunner.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -86,12 +86,12 @@
 block discarded – undo
86 86
     public function run(ContainerInterface $container): void
87 87
     {
88 88
         foreach ($this->getSeeds($container) as $seederClass) {
89
-            $this->getIO()->writeInfo("Starting seed for `$seederClass`..." . PHP_EOL, IoInterface::VERBOSITY_VERBOSE);
89
+            $this->getIO()->writeInfo("Starting seed for `$seederClass`...".PHP_EOL, IoInterface::VERBOSITY_VERBOSE);
90 90
             $this->executeSeedInit($container, $seederClass);
91 91
             /** @var SeedInterface $seeder */
92 92
             $seeder = new $seederClass();
93 93
             $seeder->init($container)->run();
94
-            $this->getIO()->writeInfo("Seed finished for `$seederClass`." . PHP_EOL, IoInterface::VERBOSITY_NORMAL);
94
+            $this->getIO()->writeInfo("Seed finished for `$seederClass`.".PHP_EOL, IoInterface::VERBOSITY_NORMAL);
95 95
         }
96 96
     }
97 97
 
Please login to merge, or discard this patch.
src/Data/FileSeedRunner.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@
 block discarded – undo
64 64
 
65 65
         $path = $this->getSeedsPath();
66 66
         assert($fileSystem->exists($path) === true);
67
-        $this->getIO()->writeInfo("Seeds `$path` started." . PHP_EOL, IoInterface::VERBOSITY_VERBOSE);
67
+        $this->getIO()->writeInfo("Seeds `$path` started.".PHP_EOL, IoInterface::VERBOSITY_VERBOSE);
68 68
 
69 69
         $seedClasses = $fileSystem->requireFile($path);
70 70
         $this->setSeedClasses($seedClasses);
Please login to merge, or discard this patch.
src/Data/BaseMigrationRunner.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -73,11 +73,11 @@  discard block
 block discarded – undo
73 73
     {
74 74
         foreach ($this->getMigrations($container) as $class) {
75 75
             assert(is_string($class));
76
-            $this->getIO()->writeInfo("Starting migration for `$class`..." . PHP_EOL, IoInterface::VERBOSITY_VERBOSE);
76
+            $this->getIO()->writeInfo("Starting migration for `$class`...".PHP_EOL, IoInterface::VERBOSITY_VERBOSE);
77 77
             /** @var MigrationInterface $migration */
78 78
             $migration = new $class($container);
79 79
             $migration->init($container)->migrate();
80
-            $this->getIO()->writeInfo("Migration finished for `$class`." . PHP_EOL, IoInterface::VERBOSITY_NORMAL);
80
+            $this->getIO()->writeInfo("Migration finished for `$class`.".PHP_EOL, IoInterface::VERBOSITY_NORMAL);
81 81
         }
82 82
     }
83 83
 
@@ -90,11 +90,11 @@  discard block
 block discarded – undo
90 90
     {
91 91
         foreach ($this->getRollbacks($container) as $class) {
92 92
             assert(is_string($class));
93
-            $this->getIO()->writeInfo("Starting rollback for `$class`..." . PHP_EOL, IoInterface::VERBOSITY_VERBOSE);
93
+            $this->getIO()->writeInfo("Starting rollback for `$class`...".PHP_EOL, IoInterface::VERBOSITY_VERBOSE);
94 94
             /** @var MigrationInterface $migration */
95 95
             $migration = new $class($container);
96 96
             $migration->init($container)->rollback();
97
-            $this->getIO()->writeInfo("Rollback finished for `$class`." . PHP_EOL, IoInterface::VERBOSITY_NORMAL);
97
+            $this->getIO()->writeInfo("Rollback finished for `$class`.".PHP_EOL, IoInterface::VERBOSITY_NORMAL);
98 98
         }
99 99
 
100 100
         $manager = $this->getConnection($container)->getSchemaManager();
Please login to merge, or discard this patch.