Метод | Описание | |
---|---|---|
create ( Symfony\Component\Finder\SplFileInfo $file ) : |
Метод | Описание | |
---|---|---|
determineConfig ( string $config ) : array | Parses the '--CONFIG--' block of a '.test' file. | |
determineExpectedCode ( string | null $code, Symfony\Component\Finder\SplFileInfo $file ) : string | ||
determineInputCode ( string | null $code, Symfony\Component\Finder\SplFileInfo $file ) : string | null | ||
determineRequirements ( string $config ) : array | Parses the '--REQUIREMENTS--' block of a '.test' file and determines requirements. | |
determineRuleset ( string $config ) : |
Parses the '--RULESET--' block of a '.test' file and determines what fixers should be used. | |
determineSettings ( string $config ) : array | Parses the '--SETTINGS--' block of a '.test' file and determines settings. |
Метод | Описание | |
---|---|---|
determineCode ( string | null $code, Symfony\Component\Finder\SplFileInfo $file, string $suffix ) : string | null | ||
parseJson ( string | null $encoded, array $template = null ) : array |
public create ( Symfony\Component\Finder\SplFileInfo $file ) : |
||
$file | Symfony\Component\Finder\SplFileInfo | |
Результат |
protected determineConfig ( string $config ) : array | ||
$config | string | |
Результат | array |
protected determineRequirements ( string $config ) : array | ||
$config | string | |
Результат | array |
protected determineRuleset ( string $config ) : |
||
$config | string | |
Результат |
protected determineSettings ( string $config ) : array | ||
$config | string | |
Результат | array |