| 1 | <?php |
||
| 9 | class MarkdownTest extends SapphireTest |
||
|
|
|||
| 10 | { |
||
| 11 | /** |
||
| 12 | * Integration-esque tests ensuring that markdown is correctly parsed to HTML |
||
| 13 | * |
||
| 14 | * @dataProvider markdownProvider |
||
| 15 | * |
||
| 16 | * @param string $markdown |
||
| 17 | * @param string $expected |
||
| 18 | */ |
||
| 19 | public function testParseMarkdown($markdown, $expected) |
||
| 25 | |||
| 26 | /** |
||
| 27 | * @return array |
||
| 28 | */ |
||
| 29 | public function markdownProvider() |
||
| 62 | } |
||
| 63 |
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.