Property | Type | Description | |
---|---|---|---|
$fixer | null | PhpCsFixer\Fixer\FixerInterface | ||
$linter | PhpCsFixer\Linter\LinterInterface |
Method | Description | |
---|---|---|
createFixer ( ) : PhpCsFixer\Fixer\FixerInterface | ||
createFixerFactory ( ) : |
Create fixer factory with all needed fixers registered. | |
doTest ( string $expected, string | null $input = null, SplFileInfo $file = null ) | Tests if a fixer fixes a given string to match the expected result. | |
getFixerName ( ) : string | ||
getTestFile ( string $filename = __FILE__ ) : SplFileInfo | ||
lintSource ( string $source ) : string | null | ||
setUp ( ) |
Method | Description | |
---|---|---|
assertTokens ( |
||
getFixerClassName ( ) : string | ||
getLinter ( ) : PhpCsFixer\Linter\LinterInterface |
protected createFixer ( ) : PhpCsFixer\Fixer\FixerInterface | ||
return | PhpCsFixer\Fixer\FixerInterface |
protected createFixerFactory ( ) : |
||
return |
protected getTestFile ( string $filename = __FILE__ ) : SplFileInfo | ||
$filename | string | |
return | SplFileInfo |
protected null|FixerInterface,PhpCsFixer\Fixer $fixer | ||
return | null | PhpCsFixer\Fixer\FixerInterface |