| Conditions | 1 |
| Paths | 1 |
| Total Lines | 10 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| 1 | <?php |
||
| 13 | public function testConstruct() |
||
| 14 | { |
||
| 15 | $console = new Console(); |
||
| 16 | $startTime = microtime(true); |
||
| 17 | |||
| 18 | $profiler = new PhpQuickProfiler($console, $startTime); |
||
| 19 | |||
| 20 | $this->assertAttributeSame($console, 'console', $profiler); |
||
| 21 | $this->assertAttributeEquals($startTime, 'startTime', $profiler); |
||
| 22 | } |
||
| 23 | } |
||
| 24 |
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.