| Total Complexity | 2 |
| Total Lines | 33 |
| Duplicated Lines | 0 % |
| Changes | 3 | ||
| Bugs | 1 | Features | 0 |
| 1 | <?php |
||
| 13 | class CrefoPayUniqueIdGenerator implements CrefoPayUniqueIdGeneratorInterface |
||
| 14 | { |
||
| 15 | /** |
||
| 16 | * @var int |
||
| 17 | */ |
||
| 18 | protected const CREFO_PAY_ORDER_ID_LENGTH = 30; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * @var \SprykerEco\Service\CrefoPay\Dependency\Service\CrefoPayToUtilTextServiceInterface $utilTextService |
||
| 22 | */ |
||
| 23 | protected $utilTextService; |
||
| 24 | |||
| 25 | /** |
||
| 26 | * @param \SprykerEco\Service\CrefoPay\Dependency\Service\CrefoPayToUtilTextServiceInterface $utilTextService |
||
| 27 | */ |
||
| 28 | public function __construct(CrefoPayToUtilTextServiceInterface $utilTextService) |
||
| 31 | } |
||
| 32 | |||
| 33 | /** |
||
| 34 | * @param \Generated\Shared\Transfer\QuoteTransfer $quoteTransfer |
||
| 35 | * |
||
| 36 | * @return string |
||
| 37 | */ |
||
| 38 | public function generateCrefoPayOrderId(QuoteTransfer $quoteTransfer): string |
||
| 49 |
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