These results are based on our legacy PHP analysis, consider migrating to our new PHP analysis engine instead. Learn more
1 | <?php |
||
2 | class EcommerceStockcontrolTest extends SapphireTest { |
||
0 ignored issues
–
show
|
|||
3 | |||
4 | protected $usesDatabase = false; |
||
5 | |||
6 | protected $requiredExtensions = array(); |
||
7 | |||
8 | public function testMyMethod() { |
||
9 | $this->assertEquals(1, 1); |
||
10 | } |
||
11 | |||
12 | } |
||
13 | |||
14 |
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.