Completed
Push — master ( 3bac70...2f9c6c )
by Craig
08:34 queued 03:52
created
src/system/RoutesModule/Form/Handler/Route/Base/AbstractEditHandler.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -282,7 +282,7 @@
 block discarded – undo
282 282
                 return $this->router->generate($routePrefix . 'view');
283 283
             case 'userOwnView':
284 284
             case 'adminOwnView':
285
-                return $this->router->generate($routePrefix . 'view', [ 'own' => 1 ]);
285
+                return $this->router->generate($routePrefix . 'view', ['own' => 1]);
286 286
             case 'userDisplay':
287 287
             case 'adminDisplay':
288 288
                 if (
Please login to merge, or discard this patch.
src/system/MailerModule/Api/MailerApi.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -256,7 +256,7 @@
 block discarded – undo
256 256
                 // access the logging channel
257 257
                 $logger = new Logger('mailer');
258 258
                 $logger->pushHandler(new StreamHandler($logFile, Logger::INFO));
259
-                $logger->addError("Could not send message to: ${emailList} :: " . $this->message->toString());
259
+                $logger->addError("Could not send message to: ${emaillist} :: " . $this->message->toString());
260 260
             }
261 261
 
262 262
             $this->eventDispatcher->dispatch($event, MailerEvents::SEND_MESSAGE_FAILURE);
Please login to merge, or discard this patch.
src/system/ExtensionsModule/Command/ZikulaExtensionUninstallCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@
 block discarded – undo
55 55
         $requiredDependents = $this->dependencyHelper->getDependentExtensions($extension);
56 56
         if (!empty($requiredDependents)) {
57 57
             if ($input->isInteractive()) {
58
-                $names = implode(', ', array_map(function ($dependent) {
58
+                $names = implode(', ', array_map(function($dependent) {
59 59
                     return $dependent->getModname();
60 60
                 }, $requiredDependents));
61 61
 
Please login to merge, or discard this patch.
src/system/ZAuthModule/Listener/UserDeleteListener.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@
 block discarded – undo
54 54
 
55 55
     public function deleteUsers(GenericEvent $event): void
56 56
     {
57
-        $deletedUid = (int) $event->getSubject();
57
+        $deletedUid = (int)$event->getSubject();
58 58
         $this->mappingRepository->removeByZikulaId($deletedUid);
59 59
         $this->verificationRepository->removeByZikulaId($deletedUid);
60 60
     }
Please login to merge, or discard this patch.
src/system/RoutesModule/Listener/Base/AbstractUserListener.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -120,7 +120,7 @@
 block discarded – undo
120 120
      */
121 121
     public function delete(GenericEvent $event): void
122 122
     {
123
-        $userId = (int) $event->getSubject();
123
+        $userId = (int)$event->getSubject();
124 124
     
125 125
         
126 126
         $repo = $this->entityFactory->getRepository('route');
Please login to merge, or discard this patch.
src/lib/Zikula/Bundle/CoreInstallerBundle/Helper/MigrationHelper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -78,7 +78,7 @@
 block discarded – undo
78 78
         }
79 79
 
80 80
         $mapping = new AuthenticationMappingEntity();
81
-        $mapping->setUid((int) $user['uid']);
81
+        $mapping->setUid((int)$user['uid']);
82 82
         $mapping->setUname($user['uname']);
83 83
         $mapping->setEmail($user['email']);
84 84
         $mapping->setVerifiedEmail(true);
Please login to merge, or discard this patch.
src/system/RoutesModule/Helper/Base/AbstractControllerHelper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -152,7 +152,7 @@
 block discarded – undo
152 152
         $templateParameters['all'] = 'csv' === $request->getRequestFormat() ? 1 : $request->query->getInt('all');
153 153
         $showOnlyOwnEntriesSetting = (bool)$request->query->getInt(
154 154
             'own',
155
-            (int) $this->variableApi->get('ZikulaRoutesModule', 'showOnlyOwnEntries')
155
+            (int)$this->variableApi->get('ZikulaRoutesModule', 'showOnlyOwnEntries')
156 156
         );
157 157
         $showOnlyOwnEntriesSetting = $showOnlyOwnEntriesSetting ? 1 : 0;
158 158
         $templateParameters['own'] = $showOnlyOwnEntriesSetting;
Please login to merge, or discard this patch.
src/lib/Zikula/Bundle/CoreBundle/Tests/Twig/Node/SwitchNodeTest.php 1 patch
Upper-Lower-Casing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -71,7 +71,7 @@  discard block
 block discarded – undo
71 71
         echo "case 0";
72 72
     default:
73 73
 }
74
-EOF
74
+eof
75 75
         ];
76 76
 
77 77
         // #2 switch with two cases, second with break
@@ -98,7 +98,7 @@  discard block
 block discarded – undo
98 98
         break;
99 99
     default:
100 100
 }
101
-EOF
101
+eof
102 102
         ];
103 103
 
104 104
         // #3 switch with two cases (second with break) and default
@@ -126,7 +126,7 @@  discard block
 block discarded – undo
126 126
     default:
127 127
         echo "default case";
128 128
 }
129
-EOF
129
+eof
130 130
         ];
131 131
 
132 132
         // #4 switch with two cases (first without body, second with break) and default
@@ -153,7 +153,7 @@  discard block
 block discarded – undo
153 153
     default:
154 154
         echo "default case";
155 155
 }
156
-EOF
156
+eof
157 157
         ];
158 158
 
159 159
         return $tests;
Please login to merge, or discard this patch.
src/system/PermissionsModule/Tests/Api/PermissionApiTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
         $this->userRepo
77 77
             ->method('findByUids')
78 78
             ->with($this->anything())
79
-            ->willReturnCallback(function (array $uids) {
79
+            ->willReturnCallback(function(array $uids) {
80 80
                 $groups = new ArrayCollection();
81 81
                 // getGroups returns [gid => $group, gid => $group, ...]
82 82
                 if (in_array(self::RANDOM_USER_ID, $uids, true)) {
@@ -144,7 +144,7 @@  discard block
 block discarded – undo
144 144
         $this->currentUserApi
145 145
             ->method('get')
146 146
             ->with($this->equalTo('uid'))
147
-            ->willReturnCallback(static function () use ($userId) {
147
+            ->willReturnCallback(static function() use ($userId) {
148 148
                 return $userId ?? Constant::USER_ID_ANONYMOUS;
149 149
             });
150 150
         $api = new PermissionApi($this->permRepo, $this->userRepo, $this->currentUserApi, $this->translator);
Please login to merge, or discard this patch.