Documentation

AbstractSniffUnitTest.php

An abstract class that all sniff unit tests must extend.

A sniff unit test checks a .inc file for expected violations of a single coding standard. Expected errors and warnings that are not found, or warnings and errors that are not expected, are considered test failures.

Tags
author

Greg Sherwood gsherwood@squiz.net

copyright

2006-2015 Squiz Pty Ltd (ABN 77 084 670 600)

license

https://github.com/squizlabs/PHP_CodeSniffer/blob/master/licence.txt BSD Licence

Interfaces, Classes and Traits

AbstractSniffUnitTest

Search results