src/Lingua/Iso_639_2bConverter.php
Showing 2 of 2 total issues
Avoid using static access to class 'WhiteCube\Lingua\LanguagesRepository' in method 'parse'. Open
Open
$this->repository = LanguagesRepository::find('iso-639-2b', $this->original);
- Read upRead up
- Exclude checks
The class Iso_639_2bConverter is not named in CamelCase. Open
Open
class Iso_639_2bConverter extends Converter implements ConverterInterface{ public static function check($format) { if(preg_match('/^([A-Za-z]{3})$/', static::prepare($format))) return true;
- Read upRead up
- Exclude checks