1 | <?php |
||
5 | class ParserTest extends TestCase |
||
|
|||
6 | { |
||
7 | /** |
||
8 | * @expectedException Exception |
||
9 | */ |
||
10 | public function testParserMetadataException() |
||
14 | |||
15 | public function testParser() |
||
34 | |||
35 | /** |
||
36 | * @depends testParser |
||
37 | */ |
||
38 | public function testMetadata($parser) |
||
43 | |||
44 | /** |
||
45 | * @depends testParser |
||
46 | */ |
||
47 | public function testMetadataByIndex($parser) |
||
52 | |||
53 | /** |
||
54 | * @depends testParser |
||
55 | */ |
||
56 | public function testContent($parser) |
||
61 | } |
||
62 |
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.