Conditions | 1 |
Paths | 1 |
Total Lines | 10 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
11 | public function testEntityRouting() |
||
12 | { |
||
13 | self::bootKernel(); |
||
14 | |||
15 | $this->doRequest('/api/entity/my-entity/create', 'POST', []); |
||
16 | $this->doRequest('/api/entity/my-entity/read', 'GET', []); |
||
17 | $this->doRequest('/api/entity/my-entity/update', 'POST', []); |
||
18 | $this->doRequest('/api/entity/my-entity/delete', 'POST', []); |
||
19 | $this->doRequest('/api/entity/my-entity/search', 'GET', []); |
||
20 | } |
||
21 | |||
29 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.