<?php/** * A PHP_CodeSniffer specific test suite for PHPUnit. * * @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 */namespacePHP_CodeSniffer\Tests;usePHPUnit\Framework\TestSuiteasPHPUnit_TestSuite;usePHPUnit\Framework\TestResult;classTestSuiteextendsPHPUnit_TestSuite{/** * Runs the tests and collects their result in a TestResult. * * @param \PHPUnit\Framework\TestResult $result A test result. * * @return \PHPUnit\Framework\TestResult */publicfunctionrun(TestResult$result=null){$result=parent::run($result);printPHPCodeSnifferTestOutput();return$result;}//end run()}//end class