| 1 | <?php |
||
| 15 | abstract class BaseAbstractClassMethodTest extends BaseSniffTest |
||
|
|
|||
| 16 | { |
||
| 17 | |||
| 18 | public $filename; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * The PHP_CodeSniffer_File object containing parsed contents of this file. |
||
| 22 | * |
||
| 23 | * @var PHP_CodeSniffer_File |
||
| 24 | */ |
||
| 25 | protected $_phpcsFile; |
||
| 26 | |||
| 27 | /** |
||
| 28 | * A wrapper for the abstract PHPCompatibility sniff. |
||
| 29 | * |
||
| 30 | * @var PHPCompatibility_Sniff |
||
| 31 | */ |
||
| 32 | protected $helperClass; |
||
| 33 | |||
| 34 | |||
| 35 | public static function setUpBeforeClass() |
||
| 39 | |||
| 40 | protected function setUp() |
||
| 71 | |||
| 72 | /** |
||
| 73 | * Clean up after finished test. |
||
| 74 | * |
||
| 75 | * @return void |
||
| 76 | */ |
||
| 77 | public function tearDown() |
||
| 82 | |||
| 83 | } |
||
| 84 |
You can fix this by adding a namespace to your class:
When choosing a vendor namespace, try to pick something that is not too generic to avoid conflicts with other libraries.