1 | <?php |
||
9 | class MethodParserTest extends PHPUnit_Framework_TestCase |
||
|
|||
10 | { |
||
11 | private $_methodName; |
||
12 | private $_methodDoc; |
||
13 | |||
14 | protected function setUp() |
||
28 | |||
29 | /** |
||
30 | * @test |
||
31 | */ |
||
32 | public function shouldParseMethodData() |
||
44 | |||
45 | /** |
||
46 | * @test |
||
47 | */ |
||
48 | public function shouldParseMethodAndReturnRawParameters() |
||
60 | |||
61 | /** |
||
62 | * @test |
||
63 | */ |
||
64 | public function shouldParseMethodAndReturnRawReturn() |
||
72 | } |
||
73 |
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.