| Conditions | 2 |
| Paths | 2 |
| Total Lines | 9 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 34 | public function send(string $identifier, string $message) { |
||
| 35 | $config = $this->getConfig(); |
||
| 36 | $user = $config->getUser(); |
||
| 37 | $password = $config->getPassword(); |
||
| 38 | $host = $config->getHost(); |
||
| 39 | try { |
||
| 40 | $this->client->get('http://'.$host.'/SendSMS/username='.$user.'&password='.$password.'&phone='.$identifier.'&message='.$message); |
||
| 41 | } catch (Exception $ex) { |
||
| 42 | throw new SmsTransmissionException(); |
||
| 43 | } |
||
| 53 |
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