Completed
Push — master ( bbc096...38d354 )
by Craig
06:03 queued 21s
created
src/lib/Zikula/Bundle/HookBundle/Controller/HookController.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -208,7 +208,7 @@  discard block
 block discarded – undo
208 208
                 }
209 209
 
210 210
                 // does the user have admin permissions on the provider module?
211
-                if (!$this->get('zikula_permissions_module.api.permission')->hasPermission($hookproviders[$i]['name']."::", '::', ACCESS_ADMIN)) {
211
+                if (!$this->get('zikula_permissions_module.api.permission')->hasPermission($hookproviders[$i]['name'] . "::", '::', ACCESS_ADMIN)) {
212 212
                     unset($hookproviders[$i]);
213 213
                     continue;
214 214
                 }
@@ -292,7 +292,7 @@  discard block
 block discarded – undo
292 292
         if (!$this->get('kernel')->isBundle($subscriber)) {
293 293
             throw new \RuntimeException($this->get('translator.default')->__f('Subscriber module "%s" is not available.', $subscriber));
294 294
         }
295
-        if (!$this->get('zikula_permissions_module.api.permission')->hasPermission($subscriber.'::', '::', ACCESS_ADMIN)) {
295
+        if (!$this->get('zikula_permissions_module.api.permission')->hasPermission($subscriber . '::', '::', ACCESS_ADMIN)) {
296 296
             throw new AccessDeniedException();
297 297
         }
298 298
 
@@ -310,7 +310,7 @@  discard block
 block discarded – undo
310 310
         if (!$this->get('kernel')->isBundle($provider)) {
311 311
             throw new \RuntimeException($this->get('translator.default')->__f('Provider module "%s" is not available.', $provider));
312 312
         }
313
-        if (!$this->get('zikula_permissions_module.api.permission')->hasPermission($provider.'::', '::', ACCESS_ADMIN)) {
313
+        if (!$this->get('zikula_permissions_module.api.permission')->hasPermission($provider . '::', '::', ACCESS_ADMIN)) {
314 314
             throw new AccessDeniedException();
315 315
         }
316 316
 
@@ -372,7 +372,7 @@  discard block
 block discarded – undo
372 372
         if (!$this->get('kernel')->isBundle($subscriber)) {
373 373
             throw new \RuntimeException($this->get('translator.default')->__f('Subscriber module "%s" is not available.', $subscriber));
374 374
         }
375
-        if (!$this->get('zikula_permissions_module.api.permission')->hasPermission($subscriber.'::', '::', ACCESS_ADMIN)) {
375
+        if (!$this->get('zikula_permissions_module.api.permission')->hasPermission($subscriber . '::', '::', ACCESS_ADMIN)) {
376 376
             throw new AccessDeniedException();
377 377
         }
378 378
 
Please login to merge, or discard this patch.
src/system/RoutesModule/Listener/InstallerListener.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -49,7 +49,6 @@
 block discarded – undo
49 49
     /**
50 50
      * InstallerListener constructor.
51 51
      *
52
-     * @param ObjectManager $objectManager
53 52
      */
54 53
     public function __construct(
55 54
         CacheClearer $cacheClearer,
Please login to merge, or discard this patch.
src/system/RoutesModule/Form/Handler/Route/EditHandler.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -63,8 +63,8 @@
 block discarded – undo
63 63
     {
64 64
         $entity = $this->entityRef;
65 65
 
66
-        list($controller, ) = $this->sanitizeHelper->sanitizeController($entity['controller']);
67
-        list($action, ) = $this->sanitizeHelper->sanitizeAction($entity['action']);
66
+        list($controller,) = $this->sanitizeHelper->sanitizeController($entity['controller']);
67
+        list($action,) = $this->sanitizeHelper->sanitizeAction($entity['action']);
68 68
 
69 69
         $entity['controller'] = $controller;
70 70
         $entity['action'] = $action;
Please login to merge, or discard this patch.
src/system/SearchModule/Twig/TwigExtension.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -79,7 +79,7 @@  discard block
 block discarded – undo
79 79
     /**
80 80
      * Returns a list of custom Twig functions.
81 81
      *
82
-     * @return array
82
+     * @return \Twig_SimpleFunction[]
83 83
      */
84 84
     public function getFunctions()
85 85
     {
@@ -96,7 +96,7 @@  discard block
 block discarded – undo
96 96
     /**
97 97
      * Returns a list of custom Twig filters.
98 98
      *
99
-     * @return array
99
+     * @return \Twig_SimpleFilter[]
100 100
      */
101 101
     public function getFilters()
102 102
     {
Please login to merge, or discard this patch.
src/system/ExtensionsModule/Helper/ExtensionDependencyHelper.php 2 patches
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -203,9 +203,9 @@
 block discarded – undo
203 203
     /**
204 204
      * Determine if a $currentVersion value is between $requiredMin and $requiredMax.
205 205
      *
206
-     * @param $requiredMin
207
-     * @param $requiredMax
208
-     * @param $currentVersion
206
+     * @param string $requiredMin
207
+     * @param string $requiredMax
208
+     * @param string $currentVersion
209 209
      * @return bool
210 210
      */
211 211
     private function meetsVersionRequirements($requiredMin, $requiredMax, $currentVersion)
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -158,7 +158,7 @@
 block discarded – undo
158 158
      * @param ExtensionDependencyEntity $dependency
159 159
      * @return bool
160 160
      */
161
-    private function bundleDependencySatisfied(ExtensionDependencyEntity &$dependency)
161
+    private function bundleDependencySatisfied(ExtensionDependencyEntity & $dependency)
162 162
     {
163 163
         if ($dependency->getModname() == "php") {
164 164
             // Do not use PHP_VERSION constant, because it might throw off the semver parser.
Please login to merge, or discard this patch.
RoutesModule/Validator/Constraints/Base/AbstractListEntryValidator.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@
 block discarded – undo
63 63
 
64 64
         if ($constraint->propertyName == 'workflowState' && in_array($value, ['initial', 'deleted'])) {
65 65
             return;
66
-    	}
66
+        }
67 67
 
68 68
         $listEntries = $this->listEntriesHelper->getEntries($constraint->entityName, $constraint->propertyName);
69 69
         $allowedValues = [];
Please login to merge, or discard this patch.