Passed
Push — dependabot/composer/guzzlehttp... ( a5fb88 )
by
unknown
21:33 queued 11:48
created
src/Orm/DataMappers/UserSqlDataMapper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -229,7 +229,7 @@
 block discarded – undo
229 229
             $data['user_language_identifier'],
230 230
             ''
231 231
         );
232
-        $userGroups   = $this->loadUserGroups($data);
232
+        $userGroups = $this->loadUserGroups($data);
233 233
 
234 234
         return new Entity(
235 235
             $data['id'],
Please login to merge, or discard this patch.
src/Bootstrappers/Http/Views/BuildersBootstrapper.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
 
32 32
         $viewFactory->registerBuilder(
33 33
             'layouts/backend/default',
34
-            function (IView $view) use ($container) {
34
+            function(IView $view) use ($container) {
35 35
                 /** @var ISession $session */
36 36
                 $session = $container->resolve(ISession::class);
37 37
 
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
         );
60 60
         $viewFactory->registerBuilder(
61 61
             'layouts/backend/login',
62
-            function (IView $view) use ($container) {
62
+            function(IView $view) use ($container) {
63 63
                 /** @var AssetManager $assets */
64 64
                 $assets = $container->resolve(AssetManager::class);
65 65
 
@@ -72,7 +72,7 @@  discard block
 block discarded – undo
72 72
         );
73 73
         $viewFactory->registerBuilder(
74 74
             'layouts/backend/empty',
75
-            function (IView $view) use ($container) {
75
+            function(IView $view) use ($container) {
76 76
                 /** @var ISession $session */
77 77
                 $session = $container->resolve(ISession::class);
78 78
 
@@ -88,7 +88,7 @@  discard block
 block discarded – undo
88 88
         );
89 89
         $viewFactory->registerBuilder(
90 90
             'errors/html/Error',
91
-            function (IView $view) {
91
+            function(IView $view) {
92 92
                 /** @see HtmlErrorBuilder::build() */
93 93
                 return (new HtmlErrorBuilder())->build($view);
94 94
             }
Please login to merge, or discard this patch.
src/Oauth2/Entity/Scope.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
      */
20 20
     public function __construct(string $identifier)
21 21
     {
22
-        $this->identifier  = $identifier;
22
+        $this->identifier = $identifier;
23 23
     }
24 24
 
25 25
     /**
Please login to merge, or discard this patch.
src/Grid/Factory/BaseFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -140,7 +140,7 @@
 block discarded – undo
140 140
     {
141 141
         $urlGenerator = $this->urlGenerator;
142 142
 
143
-        $hrefClosure = function ($attribute, IEntity $entity) use ($urlGenerator) {
143
+        $hrefClosure = function($attribute, IEntity $entity) use ($urlGenerator) {
144 144
             // @phan-suppress-next-line PhanTypeMismatchArgument
145 145
             return $urlGenerator->createFromName($attribute, $entity->getId());
146 146
         };
Please login to merge, or discard this patch.
login-routes.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
15 15
  */
16 16
 $router->group(
17 17
     ['controllerNamespace' => 'AbterPhp\Admin\\Http\\Controllers'],
18
-    function (Router $router) {
18
+    function(Router $router) {
19 19
         /** @see \AbterPhp\Admin\Http\Controllers\Admin\Form\Login::display() */
20 20
         $router->get(
21 21
             RoutesConfig::getLoginPath(),
Please login to merge, or discard this patch.
admin-routes.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@  discard block
 block discarded – undo
19 19
  */
20 20
 $router->group(
21 21
     ['controllerNamespace' => 'AbterPhp\Admin\\Http\\Controllers'],
22
-    function (Router $router) {
22
+    function(Router $router) {
23 23
         $router->group(
24 24
             [
25 25
                 'path'       => RoutesConfig::getAdminBasePath(),
@@ -27,7 +27,7 @@  discard block
 block discarded – undo
27 27
                     Authentication::class,
28 28
                 ],
29 29
             ],
30
-            function (Router $router) {
30
+            function(Router $router) {
31 31
                 $entities = [
32 32
                     'user-groups' => 'UserGroup',
33 33
                     'users'       => 'User',
Please login to merge, or discard this patch.
api-routes.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -16,12 +16,12 @@  discard block
 block discarded – undo
16 16
  */
17 17
 $router->group(
18 18
     ['controllerNamespace' => 'AbterPhp\Admin\\Http\\Controllers'],
19
-    function (Router $router) {
19
+    function(Router $router) {
20 20
         $router->group(
21 21
             [
22 22
                 'path' => RoutesConfig::getApiBasePath(),
23 23
             ],
24
-            function (Router $router) {
24
+            function(Router $router) {
25 25
                 /** @see \AbterPhp\Admin\Http\Controllers\Api\AccessToken::create() */
26 26
                 $router->post(
27 27
                     '/access-tokens',
@@ -39,7 +39,7 @@  discard block
 block discarded – undo
39 39
                     Api::class,
40 40
                 ],
41 41
             ],
42
-            function (Router $router) {
42
+            function(Router $router) {
43 43
                 $entities = [
44 44
                     'user-groups'    => 'UserGroup',
45 45
                     'user-languages' => 'UserLanguage',
Please login to merge, or discard this patch.
fallback-routes.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@  discard block
 block discarded – undo
16 16
  */
17 17
 $router->group(
18 18
     ['controllerNamespace' => 'AbterPhp\Admin\\Http\\Controllers'],
19
-    function (Router $router) {
19
+    function(Router $router) {
20 20
         $router->group(
21 21
             [
22 22
                 'path'       => RoutesConfig::getApiBasePath(),
@@ -24,7 +24,7 @@  discard block
 block discarded – undo
24 24
                     Api::class,
25 25
                 ],
26 26
             ],
27
-            function (Router $router) {
27
+            function(Router $router) {
28 28
                 /** @see \AbterPhp\Admin\Http\Controllers\Api\Index::notFound() */
29 29
                 $router->any(
30 30
                     '/:anything',
Please login to merge, or discard this patch.
src/Form/Factory/User.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -92,7 +92,7 @@  discard block
 block discarded – undo
92 92
      */
93 93
     protected function addJsOnly(): User
94 94
     {
95
-        $content    = sprintf(
95
+        $content = sprintf(
96 96
             '<i class="material-icons">warning</i>&nbsp;%s',
97 97
             $this->translator->translate('admin:jsOnly')
98 98
         );
@@ -269,7 +269,7 @@  discard block
 block discarded – undo
269 269
             'is_gravatar_allowed',
270 270
             'admin:userIsGravatarAllowed'
271 271
         );
272
-        $help  = new Help('admin:userIsGravatarAllowedHelp');
272
+        $help = new Help('admin:userIsGravatarAllowedHelp');
273 273
 
274 274
         $this->form[] = new CheckboxGroup($input, $label, $help);
275 275
 
@@ -333,7 +333,7 @@  discard block
 block discarded – undo
333 333
      */
334 334
     protected function createUserGroupSelect(array $options): Select
335 335
     {
336
-        $size       = $this->getMultiSelectSize(
336
+        $size = $this->getMultiSelectSize(
337 337
             count($options),
338 338
             static::MULTISELECT_MIN_SIZE,
339 339
             static::MULTISELECT_MAX_SIZE
@@ -410,7 +410,7 @@  discard block
 block discarded – undo
410 410
      */
411 411
     protected function createUserLanguageSelect(array $options): Select
412 412
     {
413
-        $size       = $this->getMultiSelectSize(
413
+        $size = $this->getMultiSelectSize(
414 414
             count($options),
415 415
             static::MULTISELECT_MIN_SIZE,
416 416
             static::MULTISELECT_MAX_SIZE
Please login to merge, or discard this patch.