Total Complexity | 2 |
Total Lines | 24 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
9 | class GameController extends Controller |
||
10 | { |
||
11 | |||
12 | /** |
||
13 | * Display the specified game resource. |
||
14 | * |
||
15 | * @param int $id |
||
16 | * @return \Illuminate\Http\Response |
||
17 | */ |
||
18 | public function show($id) |
||
19 | { |
||
20 | return reponse(Game::findOrFail($id), 200); |
||
21 | } |
||
22 | |||
23 | /** |
||
24 | * Display the versions of a specified game resource. |
||
25 | * |
||
26 | * @param int $id |
||
27 | * @return \Illuminate\Http\Response |
||
28 | */ |
||
29 | public function showVersions($id) // Depricated |
||
33 | } |
||
34 | |||
36 |
The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g.
excluded_paths: ["lib/*"]
, you can move it to the dependency path list as follows:For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths