Passed
Branch master (b4ac3b)
by Tarmo
05:51
created
src/Command/User/CreateRolesCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 /**
4 4
  * /src/Command/User/CreateRolesCommand.php
5 5
  *
Please login to merge, or discard this patch.
src/Command/User/RemoveUserGroupCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 /**
4 4
  * /src/Command/User/RemoveUserGroupCommand.php
5 5
  *
Please login to merge, or discard this patch.
src/Command/User/UserHelper.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@  discard block
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 /**
4 4
  * /src/Command/User/UserHelper.php
5 5
  *
@@ -58,7 +58,7 @@  discard block
 block discarded – undo
58 58
          *
59 59
          * @param UserEntity $user
60 60
          */
61
-        $iterator = function (UserEntity $user) use (&$choices): void {
61
+        $iterator = function(UserEntity $user) use (&$choices): void {
62 62
             $message = \sprintf(
63 63
                 '%s (%s %s <%s>)',
64 64
                 $user->getUsername(),
@@ -92,7 +92,7 @@  discard block
 block discarded – undo
92 92
          *
93 93
          * @param UserGroupEntity $userGroup
94 94
          */
95
-        $iterator = function (UserGroupEntity $userGroup) use (&$choices): void {
95
+        $iterator = function(UserGroupEntity $userGroup) use (&$choices): void {
96 96
             $choices[$userGroup->getId()] = \sprintf('%s (%s)', $userGroup->getName(), $userGroup->getRole()->getId());
97 97
         };
98 98
 
Please login to merge, or discard this patch.
src/Command/User/ManagementCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 /**
4 4
  * /src/Command/User/ManagementCommand.php
5 5
  *
Please login to merge, or discard this patch.
src/Command/User/ListUsersCommand.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@  discard block
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 /**
4 4
  * /src/Command/User/ListUsersCommand.php
5 5
  *
@@ -91,7 +91,7 @@  discard block
 block discarded – undo
91 91
          *
92 92
          * @return string
93 93
          */
94
-        $formatterGroup = function (UserGroup $userGroup): string {
94
+        $formatterGroup = function(UserGroup $userGroup): string {
95 95
             return \sprintf(
96 96
                 '%s (%s)',
97 97
                 $userGroup->getName(),
@@ -104,7 +104,7 @@  discard block
 block discarded – undo
104 104
          *
105 105
          * @return array
106 106
          */
107
-        $formatterUser = function (User $user) use ($formatterGroup): array {
107
+        $formatterUser = function(User $user) use ($formatterGroup): array {
108 108
             return [
109 109
                 $user->getId(),
110 110
                 $user->getUsername(),
Please login to merge, or discard this patch.
src/Command/User/CreateUserGroupCommand.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@  discard block
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 /**
4 4
  * /src/Command/User/CreateUserGroupCommand.php
5 5
  *
@@ -85,7 +85,7 @@  discard block
 block discarded – undo
85 85
          *
86 86
          * @return InputOption
87 87
          */
88
-        $iterator = function (array $input): InputOption {
88
+        $iterator = function(array $input): InputOption {
89 89
             return new InputOption(
90 90
                 $input['name'],
91 91
                 $input['shortcut'] ?? null,
Please login to merge, or discard this patch.
src/Command/User/RemoveUserCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 /**
4 4
  * /src/Command/User/RemoveUserCommand.php
5 5
  *
Please login to merge, or discard this patch.
src/Command/User/ListUserGroupsCommand.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@  discard block
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 /**
4 4
  * /src/Command/User/ListUserGroupsCommand.php
5 5
  *
@@ -81,7 +81,7 @@  discard block
 block discarded – undo
81 81
          *
82 82
          * @return string
83 83
          */
84
-        $formatterUser = function (User $user): string {
84
+        $formatterUser = function(User $user): string {
85 85
             return \sprintf(
86 86
                 '%s %s <%s>',
87 87
                 $user->getFirstname(),
@@ -95,7 +95,7 @@  discard block
 block discarded – undo
95 95
          *
96 96
          * @return array
97 97
          */
98
-        $formatterGroup = function (UserGroup $userGroup) use ($formatterUser): array {
98
+        $formatterGroup = function(UserGroup $userGroup) use ($formatterUser): array {
99 99
             return [
100 100
                 $userGroup->getId(),
101 101
                 $userGroup->getName(),
Please login to merge, or discard this patch.
src/Command/User/CreateUserCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 /**
4 4
  * /src/Command/User/CreateUserCommand.php
5 5
  *
Please login to merge, or discard this patch.