1 | <?php |
||
9 | class RelativeNamespaceDiscoveryTest extends \Codeception\Test\Unit |
||
|
|||
10 | { |
||
11 | public function testGetClasses() |
||
24 | |||
25 | /** |
||
26 | * @dataProvider testConvertPathToNamespaceData |
||
27 | * |
||
28 | * @param $path |
||
29 | * @param $expected |
||
30 | */ |
||
31 | public function testConvertPathToNamespace($path, $expected) |
||
37 | |||
38 | public function testConvertPathToNamespaceData() |
||
47 | |||
48 | /** |
||
49 | * @dataProvider testConvertNamespaceToPathData |
||
50 | * |
||
51 | * @param $namespace |
||
52 | * @param $expected |
||
53 | */ |
||
54 | public function testConvertNamespaceToPath($namespace, $expected) |
||
60 | |||
61 | public function testConvertNamespaceToPathData() |
||
69 | |||
70 | function callProtected($object, $method, $args = []) |
||
76 | } |
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.