whiteCube/lingua

View on GitHub
src/Lingua/Iso_639_2tConverter.php

Summary

Maintainability
A
0 mins
Test Coverage

Showing 2 of 2 total issues

Avoid using static access to class 'WhiteCube\Lingua\LanguagesRepository' in method 'parse'.
Open

$this->repository = LanguagesRepository::find('iso-639-2t', $this->original);
Severity: Minor
Found in src/Lingua/Iso_639_2tConverter.php by phpmd

The class Iso_639_2tConverter is not named in CamelCase.
Open

class Iso_639_2tConverter extends Converter implements ConverterInterface
{
public static function check($format)
{
if(preg_match('/^([A-Za-z]{3})$/', static::prepare($format))) return true;
Severity: Minor
Found in src/Lingua/Iso_639_2tConverter.php by phpmd
Category
Status