1 | <?php |
||
19 | class TasksResolverTest extends JsonApiTestCase |
||
20 | { |
||
21 | public function testTasksResolver() : void |
||
25 | |||
26 | public function testTasksFilteredByTitleResolver() : void |
||
30 | |||
31 | public function testTasksFilteredByParentResolver() : void |
||
37 | |||
38 | // public function testTasksFilteredByProjectResolver() : void |
||
|
|||
39 | // { |
||
40 | // $this->tasksResolver('access-token-2', ['projectId' => 'Task 1'], '/tasks_filtered_by_project'); |
||
41 | // } |
||
42 | |||
43 | public function testTasksFilteredByPriorityResolver() : void |
||
47 | |||
48 | public function testTasksFilteredByProgressResolver() : void |
||
52 | |||
53 | // public function testTasksFilteredByAssigneeResolver() : void |
||
54 | // { |
||
55 | // $this->tasksResolver('access-token-2', ['assigneeId' => ''], '/tasks_filtered_by_assignee'); |
||
56 | // } |
||
57 | // |
||
58 | // public function testTasksFilteredByCreatorResolver() : void |
||
59 | // { |
||
60 | // $this->tasksResolver('access-token-2', ['creatorId' => ''], '/tasks_filtered_by_creator'); |
||
61 | // } |
||
62 | |||
63 | public function testTasksWithAfter3AndFirst2() : void |
||
67 | |||
68 | public function testTasksWithOtherUserResolver() : void |
||
72 | |||
73 | private function tasksResolver(string $token, array $taskConnectionInput, string $jsonResult) : void |
||
116 | } |
||
117 |
Sometimes obsolete code just ends up commented out instead of removed. In this case it is better to remove the code once you have checked you do not need it.
The code might also have been commented out for debugging purposes. In this case it is vital that someone uncomments it again or your project may behave in very unexpected ways in production.
This check looks for comments that seem to be mostly valid code and reports them.