1 | <?php |
||
16 | class BaseClass_FunctionsTest extends PHPUnit_Framework_TestCase |
||
|
|||
17 | { |
||
18 | |||
19 | /** |
||
20 | * A wrapper for the abstract PHPCompatibility sniff. |
||
21 | * |
||
22 | * @var PHPCompatibility_Sniff |
||
23 | */ |
||
24 | protected $helperClass; |
||
25 | |||
26 | |||
27 | public static function setUpBeforeClass() |
||
31 | |||
32 | protected function setUp() |
||
38 | |||
39 | |||
40 | /** |
||
41 | * testStripQuotes |
||
42 | * |
||
43 | * @group utilityFunctions |
||
44 | * |
||
45 | * @dataProvider dataStripQuotes |
||
46 | * |
||
47 | * @param string $input The input string. |
||
48 | * @param string $expected The expected function output. |
||
49 | */ |
||
50 | public function testStripQuotes($input, $expected) |
||
54 | |||
55 | /** |
||
56 | * dataStripQuotes |
||
57 | * |
||
58 | * @see testStripQuotes() |
||
59 | * |
||
60 | * @return array |
||
61 | */ |
||
62 | public function dataStripQuotes() |
||
72 | |||
73 | } |
||
74 |
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.