OneTraitPerFileUnitTest
extends AbstractSniffUnitTest
in package
FinalYes
Unit test class for the OneTraitPerFile sniff.
Tags
Table of Contents
Methods
- getErrorList() : mixed
- Returns the lines where errors should occur.
- getWarningList() : mixed
- Returns the lines where warnings should occur.
Methods
getErrorList()
Returns the lines where errors should occur.
public
getErrorList() : mixed
The key of the array should represent the line number and the value should represent the number of errors that should occur on that line.
Tags
getWarningList()
Returns the lines where warnings should occur.
public
getWarningList() : mixed
The key of the array should represent the line number and the value should represent the number of warnings that should occur on that line.