| Total Complexity | 3 |
| Total Lines | 37 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 9 | final class JsonpRenderer extends JsonRenderer |
||
| 10 | { |
||
| 11 | |||
| 12 | /** |
||
| 13 | * @var string |
||
| 14 | */ |
||
| 15 | private $callbackParameter = 'callback'; |
||
| 16 | /** |
||
| 17 | * @var string|null |
||
| 18 | */ |
||
| 19 | private $callback = null; |
||
| 20 | |||
| 21 | 3 | public function render(\Throwable $t): string |
|
| 26 | } |
||
| 27 | |||
| 28 | /** |
||
| 29 | * @param string the name of the GET parameter that specifies the callback. |
||
|
|
|||
| 30 | * @return static |
||
| 31 | */ |
||
| 32 | 3 | public function setCallbackParameter(string $name) |
|
| 36 | } |
||
| 37 | |||
| 38 | /** |
||
| 39 | * @param string|null callback used. If NULL, callback will use from GET. |
||
| 40 | * @return static |
||
| 41 | */ |
||
| 42 | 3 | public function setCallback(?string $name) |
|
| 48 |
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