Documentation

RuleInclusionAbsoluteLinuxTest extends TestCase
in package

FinalYes

Tests for the \PHP_CodeSniffer\Ruleset class using a Linux-style absolute path to include a sniff.

Tags
covers

Table of Contents

Properties

$ruleset  : Ruleset
The Ruleset object.
$contents  : string
The original content of the ruleset.
$standard  : string
Path to the ruleset file.

Methods

initializeConfigAndRuleset()  : void
Initialize the config and ruleset objects.
resetRuleset()  : void
Reset ruleset file.
testLinuxStylePathRuleInclusion()  : void
Test that sniffs registed with a Linux absolute path are correctly recognized and that properties are correctly set for them.

Properties

Methods

testLinuxStylePathRuleInclusion()

Test that sniffs registed with a Linux absolute path are correctly recognized and that properties are correctly set for them.

public testLinuxStylePathRuleInclusion() : void

        
On this page

Search results