| Total Complexity | 6 |
| Total Lines | 32 |
| Duplicated Lines | 0 % |
| Coverage | 53.85% |
| Changes | 0 | ||
| 1 | <?php |
||
| 16 | class midcom_response_relocate extends RedirectResponse |
||
| 17 | { |
||
| 18 | /** |
||
| 19 | * The helper actually can distinguish between site-local, absolute redirects and external |
||
| 20 | * redirects. If the url does not start with http[s] or /, it is taken as a URL relative to |
||
| 21 | * the current anchor prefix, which gets prepended automatically (no other characters |
||
| 22 | * as the anchor prefix get inserted). |
||
| 23 | * |
||
| 24 | * Fully qualified urls are used as-is. |
||
| 25 | * |
||
| 26 | * {@inheritDoc} |
||
| 27 | */ |
||
| 28 | 56 | public function setTargetUrl($url) |
|
| 37 | } |
||
| 38 | |||
| 39 | public function send() |
||
| 50 |
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