| Total Complexity | 4 |
| Total Lines | 22 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 18 | class ClientController extends AbstractController |
||
| 19 | { |
||
| 20 | protected $client; |
||
| 21 | |||
| 22 | public function __construct(Client $client, LoggerInterface $logger = null) |
||
| 23 | { |
||
| 24 | $this->client = $client; |
||
| 25 | if ($logger) { |
||
| 26 | PhpXmlRpc::setLogger($logger); |
||
| 27 | } |
||
| 28 | } |
||
| 29 | |||
| 30 | #[Route('/getStateName/{stateNo}', name: 'getstatename', methods: ['GET'])] |
||
| 40 | } |
||
| 41 | } |
||
| 43 |
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