src/Lingua/NativeConverter.php
Showing 4 of 4 total issues
Missing class import via use statement (line '16', column '23'). Open
Open
throw new \Exception('Unable to find native language named "' . $this->original . '"');
- Read upRead up
- Exclude checks
Missing class import via use statement (line '33', column '23'). Open
Open
throw new \Exception('Language "' . $converter . '" could not be converted to its native name since it is not registered in the Lingua repository');
- Read upRead up
- Exclude checks
Avoid using static access to class 'WhiteCube\Lingua\LanguagesRepository' in method 'parse'. Open
Open
$this->repository = LanguagesRepository::find('native', $this->original);
- Read upRead up
- Exclude checks
Avoid using static access to class 'WhiteCube\Lingua\LanguagesRepository' in method 'check'. Open
Open
if(LanguagesRepository::find('native', self::prepare($format))) return true;
- Read upRead up
- Exclude checks