Hatooz /
weather-module
| 1 | <?php |
||
| 2 | |||
| 3 | use Anax\Route\Router; |
||
|
0 ignored issues
–
show
|
|||
| 4 | |||
| 5 | /** |
||
| 6 | * Configuration file for routes. |
||
| 7 | */ |
||
| 8 | return [ |
||
| 9 | //"mode" => Router::DEVELOPMENT, // default, verbose execeptions |
||
| 10 | //"mode" => Router::PRODUCTION, // exceptions turn into 500 |
||
| 11 | |||
| 12 | // Path where to mount the routes, is added to each route path. |
||
| 13 | "mount" => null, |
||
| 14 | |||
| 15 | // Load routes in order, start with these and the those found in |
||
| 16 | // router/*.php. |
||
| 17 | "routes" => [ |
||
| 18 | // [ |
||
| 19 | // "info" => "Just say hi.", |
||
| 20 | // "method" => null, |
||
| 21 | // "path" => "", |
||
| 22 | // "handler" => function () { |
||
| 23 | // return ["Anax: Just saying Hi!", 200]; |
||
| 24 | // }, |
||
| 25 | // ], |
||
| 26 | ], |
||
| 27 | ]; |
||
| 28 |
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