Completed
Push — master ( adf5db...d2bae3 )
by Jan
90:12 queued 86:14
created
src/Security/Voter/GroupVoter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@
 block discarded – undo
51 51
     protected function voteOnUser($attribute, $subject, User $user): bool
52 52
     {
53 53
         if ($subject instanceof Group) {
54
-            return $this->resolver->inherit($user,'groups', $attribute) ?? false;
54
+            return $this->resolver->inherit($user, 'groups', $attribute) ?? false;
55 55
         }
56 56
 
57 57
         return false;
Please login to merge, or discard this patch.
src/Form/Permissions/PermissionsType.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@  discard block
 block discarded – undo
57 57
     {
58 58
         $resolver->setDefaults([
59 59
             'show_legend' => true,
60
-            'constraints' => function (Options $options) {
60
+            'constraints' => function(Options $options) {
61 61
                 if (!$options['disabled']) {
62 62
                     return [new NoLockout()];
63 63
                 }
@@ -78,7 +78,7 @@  discard block
 block discarded – undo
78 78
         $groups = $this->perm_structure['groups'];
79 79
 
80 80
         foreach ($groups as $key => $group) {
81
-            $builder->add($key,PermissionGroupType::class, [
81
+            $builder->add($key, PermissionGroupType::class, [
82 82
                 'group_name' => $key,
83 83
                 'mapped' => false,
84 84
                 'data' => $builder->getData(),
Please login to merge, or discard this patch.
src/Twig/AppExtension.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -86,7 +86,7 @@  discard block
 block discarded – undo
86 86
     public function getTests()
87 87
     {
88 88
         return [
89
-            new TwigTest('instanceof', function ($var, $instance) {
89
+            new TwigTest('instanceof', function($var, $instance) {
90 90
                 return $var instanceof $instance;
91 91
             } )
92 92
         ];
@@ -112,7 +112,7 @@  discard block
 block discarded – undo
112 112
      */
113 113
     public function loginPath(string $path) : string
114 114
     {
115
-        $parts = explode("/" ,$path);
115
+        $parts = explode("/", $path);
116 116
         //Remove the part with
117 117
         unset($parts[1]);
118 118
         return implode("/", $parts);
Please login to merge, or discard this patch.
src/Controller/RedirectController.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -53,13 +53,13 @@
 block discarded – undo
53 53
         //Check if a user has set a preferred language setting:
54 54
         $user = $this->getUser();
55 55
         if ($user instanceof User) {
56
-           if(!empty($user->getLanguage())) {
56
+           if (!empty($user->getLanguage())) {
57 57
                $locale = $user->getLanguage();
58 58
            }
59 59
         }
60 60
 
61 61
         //$new_url = str_replace($request->getPathInfo(), '/' . $locale . $request->getPathInfo(), $request->getUri());
62
-        $new_url = $request->getUriForPath('/' . $locale . $request->getPathInfo());
62
+        $new_url = $request->getUriForPath('/'.$locale.$request->getPathInfo());
63 63
 
64 64
         return $this->redirect($new_url);
65 65
     }
Please login to merge, or discard this patch.
src/Helpers/UTCDateTimeType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -65,7 +65,7 @@
 block discarded – undo
65 65
             self::$utc ? self::$utc : self::$utc = new \DateTimeZone('UTC')
66 66
         );
67 67
 
68
-        if (! $converted) {
68
+        if (!$converted) {
69 69
             throw ConversionException::conversionFailedFormat(
70 70
                 $value,
71 71
                 $this->getName(),
Please login to merge, or discard this patch.