| Total Complexity | 7 |
| Total Lines | 46 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 27 | class RatePrice extends AbstractPrice implements PriceWithRateInterface |
||
| 28 | { |
||
| 29 | protected float $rate; |
||
| 30 | |||
| 31 | public function __construct( |
||
| 32 | $id, |
||
| 33 | TypeInterface $type, |
||
| 34 | TargetInterface $target, |
||
| 35 | ?PlanInterface $plan, |
||
| 36 | float $rate |
||
| 37 | ) { |
||
| 38 | parent::__construct($id, $type, $target, $plan); |
||
| 39 | $this->rate = $rate; |
||
| 40 | } |
||
| 41 | |||
| 42 | public function getRate(): float |
||
| 45 | } |
||
| 46 | |||
| 47 | public function calculateSum(QuantityInterface $quantity): ?Money |
||
| 53 | } |
||
| 54 | |||
| 55 | public function calculatePrice(QuantityInterface $quantity): ?Money |
||
| 68 | } |
||
| 69 | |||
| 70 | public function calculateUsage(QuantityInterface $quantity): ?QuantityInterface |
||
| 75 |
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