1 | <?php |
||
5 | class ShapeMoFilesTest extends PHPUnit_Framework_TestCase |
||
|
|||
6 | { |
||
7 | /** |
||
8 | * Tests loading of a file |
||
9 | * |
||
10 | * @param string $filename Name of file |
||
11 | * @param integer $records Expected number of records |
||
12 | * |
||
13 | * @return void |
||
14 | * |
||
15 | * @dataProvider provideFiles |
||
16 | */ |
||
17 | public function testLoad($filename, $records) |
||
23 | |||
24 | /** |
||
25 | * Data provider for file loading tests. |
||
26 | * |
||
27 | * @return array |
||
28 | */ |
||
29 | public function provideFiles() |
||
36 | |||
37 | /** |
||
38 | * Tests creating file |
||
39 | * |
||
40 | * @return void |
||
41 | */ |
||
42 | public function testCreate() |
||
81 | } |
||
82 |
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.