Skip to content

Commit 4a55a2b

Browse files
committed
Fixed test case for phpcs
1 parent b90e7ab commit 4a55a2b

File tree

3 files changed

+5
-0
lines changed

3 files changed

+5
-0
lines changed

phpcs.xml.dist

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
<?xml version="1.0"?>
22
<ruleset name="CakePHP Core">
33
<file>./src</file>
4+
<file>./tests</file>
45
<rule ref="./vendor/cakephp/cakephp-codesniffer/CakePHP"/>
56
</ruleset>

tests/TestCase/AclExtrasTest.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -303,6 +303,7 @@ public function testUpdateWithPlugins()
303303
}
304304
$return = ['CommentsController.php', 'PostsController.php', 'BigLongNamesController.php'];
305305
}
306+
306307
return $return;
307308
}));
308309

@@ -356,6 +357,7 @@ public function testSyncWithNestedPlugin()
356357
default:
357358
$return = ['CommentsController.php', 'PostsController.php', 'BigLongNamesController.php'];
358359
}
360+
359361
return $return;
360362
}));
361363

@@ -383,6 +385,7 @@ public function testSyncWithNestedPlugin()
383385
default:
384386
$return = ['CommentsController.php', 'PostsController.php', 'BigLongNamesController.php'];
385387
}
388+
386389
return $return;
387390
}));
388391

tests/TestCase/Model/Behavior/AclBehaviorTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ public function parentNode()
7979
if (!$motherId) {
8080
return null;
8181
}
82+
8283
return ['AclPeople' => ['id' => $motherId]];
8384
}
8485
}

0 commit comments

Comments
 (0)