Skip to content

Ruleset will always be ruleset.xml #13

@Tristanhx

Description

@Tristanhx

It is not possible to provide a custom ruleset file. For instance --standard=phpcs.xml which is available in phpcs will be ignored and the used coding standard must come from a file named ruleset.xml. The source code suggests that a different value could be provided.

$phpcsOutput = $this->runPhpcs($fileDiff);

protected function runPhpcs(array $files = [], string $ruleset = 'ruleset.xml')

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions