PhpCsFixer\FixerFactory::getFixersConflicts PHP Method

getFixersConflicts() private method

private getFixersConflicts ( PhpCsFixer\Fixer\FixerInterface $fixer ) : string[] | null
$fixer PhpCsFixer\Fixer\FixerInterface
return string[] | null
    private function getFixersConflicts(FixerInterface $fixer)
    {
        static $conflictMap = array('no_blank_lines_before_namespace' => array('single_blank_line_before_namespace'));
        $fixerName = $fixer->getName();
        return array_key_exists($fixerName, $conflictMap) ? $conflictMap[$fixerName] : array();
    }