Completed
Pull Request — master (#4041)
by Craig
05:07
created
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/lib/Zikula/Bundle/CoreBundle/Tests/Translation/PhpFileExtractorTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -82,7 +82,7 @@
 block discarded – undo
82 82
             $kernel = $this->getMockBuilder(ZikulaHttpKernelInterface::class)->getMock();
83 83
             $kernel
84 84
                 ->method('getBundles')
85
-                ->willReturnCallback(function () {
85
+                ->willReturnCallback(function() {
86 86
                     $bundle = $this->getMockForAbstractClass(
87 87
                         AbstractBundle::class, [],
88 88
                         '',
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.