| Total Complexity | 5 |
| Total Lines | 30 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 9 | class DotpayManager |
||
| 10 | { |
||
| 11 | private $dotpayApi; |
||
| 12 | private $response; |
||
| 13 | |||
| 14 | public function __construct(DotpayApi $dotpayApi) |
||
| 17 | } |
||
| 18 | |||
| 19 | //It will return url for dotpay transaction |
||
| 20 | |||
| 21 | public function createPayment($data) |
||
| 22 | { |
||
| 23 | return $this->dotpayApi->createPayment($data); |
||
| 24 | } |
||
| 25 | |||
| 26 | |||
| 27 | public function response() |
||
| 30 | } |
||
| 31 | |||
| 32 | //It will listen for dotpay POST with status. We need to calculate hash and check status |
||
| 33 | public function callback(array $data) |
||
| 39 | } |
||
| 40 | } |
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