| 1 | <?php |
||
| 5 | class ParserTest extends \PHPUnit\Framework\TestCase |
||
|
|
|||
| 6 | { |
||
| 7 | /** |
||
| 8 | * Dataprovider for Parser |
||
| 9 | * @return array |
||
| 10 | */ |
||
| 11 | public function dpParseValueByContent() |
||
| 29 | |||
| 30 | /** |
||
| 31 | * @dataProvider dpParseValueByContent |
||
| 32 | * @param $data |
||
| 33 | * @param $expected |
||
| 34 | */ |
||
| 35 | public function testParseValueByContent($data, $expected) |
||
| 39 | } |
||
| 40 |
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.