| Conditions | 2 |
| Paths | 2 |
| Total Lines | 8 |
| Lines | 8 |
| Ratio | 100 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 15 | View Code Duplication | public function _before(\AcceptanceTester $I) |
|
| 16 | { |
||
| 17 | $fixtures = __DIR__.'/../_data/plugin_fixtures.php'; |
||
| 18 | if (file_exists($fixtures)) { |
||
| 19 | $this->plugins = require $fixtures; |
||
| 20 | } |
||
| 21 | $I->loginAsAdmin(); |
||
| 22 | } |
||
| 23 | |||
| 47 |
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.