Passed
Push — master ( 3c3e0f...fb7646 )
by Craig
08:48
created
src/lib/Zikula/Core/Response/Ajax/AbstractBaseResponse.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -99,7 +99,7 @@
 block discarded – undo
99 99
     /**
100 100
      * Generates payload.
101 101
      *
102
-     * @return array
102
+     * @return string
103 103
      */
104 104
     protected function generatePayload()
105 105
     {
Please login to merge, or discard this patch.
src/system/BlocksModule/Entity/BlockEntity.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -277,7 +277,7 @@
 block discarded – undo
277 277
     /**
278 278
      * set the filters for the block
279 279
      *
280
-     * @param array $filter the blocks's filters
280
+     * @param array $filters the blocks's filters
281 281
      */
282 282
     public function setFilters($filters)
283 283
     {
Please login to merge, or discard this patch.
src/system/UsersModule/Entity/UserAttributeEntity.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -75,7 +75,7 @@
 block discarded – undo
75 75
     /**
76 76
      * set the user item
77 77
      *
78
-     * @param User $user the user item
78
+     * @param integer $user the user item
79 79
      */
80 80
     public function setUser($user)
81 81
     {
Please login to merge, or discard this patch.
src/system/BlocksModule/Tests/Helper/InstallerHelperTest.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
             ->getMock();
55 55
         $kernel
56 56
             ->method('getModule')
57
-            ->will($this->returnCallback(function ($moduleName) {
57
+            ->will($this->returnCallback(function($moduleName) {
58 58
                 if ($moduleName == 'ExceptionModule') {
59 59
                     // mocks situation where module is not namespaced.
60 60
                     throw new \Exception();
Please login to merge, or discard this patch.
src/system/ExtensionsModule/Tests/Helper/ComposerValidationHelperTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -76,6 +76,6 @@
 block discarded – undo
76 76
 
77 77
     private function getSplFileInfo($file)
78 78
     {
79
-        return new SplFileInfo(realpath(__DIR__ . '/../Fixtures/'. $file), '/../Fixtures', '/../Fixtures/' . $file);
79
+        return new SplFileInfo(realpath(__DIR__ . '/../Fixtures/' . $file), '/../Fixtures', '/../Fixtures/' . $file);
80 80
     }
81 81
 }
Please login to merge, or discard this patch.
src/system/RoutesModule/Entity/Base/AbstractRouteEntity.php 1 patch
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1130,7 +1130,7 @@
 block discarded – undo
1130 1130
      * 
1131 1131
      * @return array of entity objects
1132 1132
      */
1133
-    public function getRelatedObjectsToPersist(&$objects = []) 
1133
+    public function getRelatedObjectsToPersist(&$objects = [])
1134 1134
     {
1135 1135
         return [];
1136 1136
     }
Please login to merge, or discard this patch.
src/system/UsersModule/Form/Type/DeleteType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
23 23
     {
24 24
         $builder
25 25
             ->add('users', EntityType::class, [
26
-                'choice_attr' => function () {
26
+                'choice_attr' => function() {
27 27
                     return ['class' => 'user-checkboxes'];
28 28
                 },
29 29
                 'class' => 'ZikulaUsersModule:UserEntity',
Please login to merge, or discard this patch.
src/lib/Zikula/Component/SortableColumns/Tests/SortableColumnsTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
31 31
 
32 32
         $router
33 33
             ->method('generate')
34
-            ->will($this->returnCallback(function ($id, $params) {
34
+            ->will($this->returnCallback(function($id, $params) {
35 35
                 return '/foo?' . http_build_query($params);
36 36
             }));
37 37
 
Please login to merge, or discard this patch.
src/lib/Zikula/Core/Doctrine/EntityAccess.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -128,7 +128,7 @@
 block discarded – undo
128 128
             return $getMethod;
129 129
         }
130 130
 
131
-        $isMethod  = 'is' . ucfirst($name);
131
+        $isMethod = 'is' . ucfirst($name);
132 132
         if (method_exists($this, $isMethod)) {
133 133
             return $isMethod;
134 134
         }
Please login to merge, or discard this patch.