1 | <?php |
||
5 | class ShapeFileTest 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 | * @param integer $parts Expected number of parts in first record |
||
13 | * |
||
14 | * @return void |
||
15 | * |
||
16 | * @dataProvider provideFiles |
||
17 | */ |
||
18 | public function testLoad($filename, $records, $parts) |
||
27 | |||
28 | /** |
||
29 | * Data provider for file loading tests. |
||
30 | * |
||
31 | * @return array |
||
32 | */ |
||
33 | public function provideFiles() |
||
41 | |||
42 | /** |
||
43 | * Tests creating file |
||
44 | * |
||
45 | * @return void |
||
46 | */ |
||
47 | public function testCreate() |
||
86 | } |
||
87 |
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.