Passed
Push — master ( 2f69bc...dff9b7 )
by Michiel
05:07
created
tests/classes/phing/tasks/ext/sonar/SonarConfigurationFileParserTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -182,7 +182,7 @@  discard block
 block discarded – undo
182 182
         $fh = fopen($tmpFile, 'w');
183 183
 
184 184
         if (false !== $fh) {
185
-            register_shutdown_function(function () use ($tmpFile) {
185
+            register_shutdown_function(function() use ($tmpFile) {
186 186
                 unlink($tmpFile);
187 187
             });
188 188
 
@@ -214,7 +214,7 @@  discard block
 block discarded – undo
214 214
 
215 215
         $fh = fopen($tmpFile, 'w');
216 216
         if (false !== $fh) {
217
-            register_shutdown_function(function () use ($tmpFile) {
217
+            register_shutdown_function(function() use ($tmpFile) {
218 218
                 unlink($tmpFile);
219 219
             });
220 220
 
Please login to merge, or discard this patch.
classes/phing/tasks/system/AdhocTaskdefTask.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -101,7 +101,7 @@
 block discarded – undo
101 101
      */
102 102
     private function filterValidTasks(array $classes): array
103 103
     {
104
-        return array_filter($classes, function ($classname) {
104
+        return array_filter($classes, function($classname) {
105 105
             $t = new ReflectionClass($classname);
106 106
 
107 107
             if (!$t->isSubclassOf(Task::class) || !$t->isInstantiable()) {
Please login to merge, or discard this patch.