Total Complexity | 5 |
Total Lines | 24 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 3 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
23 | class SubscriptionStatuses { |
||
24 | /** |
||
25 | * Transform a MemberPress subscription status to a WordPress Pay subscription status. |
||
26 | * |
||
27 | * @link https://github.com/wp-premium/memberpress-basic/blob/master/app/models/MeprSubscription.php#L5-L9 |
||
28 | * |
||
29 | * @param string $status MemberPress subscription status value. |
||
30 | * |
||
31 | * @return string|null |
||
32 | */ |
||
33 | 5 | public static function transform( $status ) { |
|
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