PHPCSUtils 1.1.0

RulesetDouble extends Ruleset
in package

FinalYes

Ruleset class for use in the tests.

The PHP_CodeSniffer Ruleset will throw an error when no (valid) sniffs are registered, but for utility method tests, we're not concerned about that.

This ruleset double will catch this error and discard it.

Tags
since
1.1.0

Table of Contents

Methods

__construct()  : void
Initialise the ruleset that the run will use.

Methods

__construct()

Initialise the ruleset that the run will use.

public __construct(Config $config) : void
Parameters
$config : Config

The config data for the run.

Tags
since
1.1.0

        
On this page

Search results