We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
| Total Complexity | 2 |
| Total Lines | 32 |
| Duplicated Lines | 0 % |
| Coverage | 62.5% |
| Changes | 0 | ||
| 1 | <?php |
||
| 27 | abstract class AbstractLocaleWrapper extends AbstractWrapper |
||
| 28 | { |
||
| 29 | /** |
||
| 30 | * @var string |
||
| 31 | */ |
||
| 32 | private $countryCode; |
||
| 33 | |||
| 34 | /** |
||
| 35 | * Initializes the rule. |
||
| 36 | * |
||
| 37 | * @param string $countryCode |
||
| 38 | * |
||
| 39 | * @throws ComponentException when country is not supported |
||
| 40 | */ |
||
| 41 | 1 | public function __construct(string $countryCode) |
|
| 51 | } |
||
| 52 | |||
| 53 | /** |
||
| 54 | * Returns the class name based on the identifier. |
||
| 55 | * |
||
| 56 | * @return string |
||
| 57 | */ |
||
| 58 | abstract protected function getSuffix(): string; |
||
| 59 | } |
||
| 60 |