| Conditions | 1 |
| Paths | 1 |
| Total Lines | 10 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 18 | public function setUp() |
||
| 19 | { |
||
| 20 | $manager = new Manager(new \Mattbit\MysqlCompat\ConnectionFactory()); |
||
| 21 | $this->bridge = new Bridge($manager); |
||
| 22 | |||
| 23 | $this->bridge->connect($this->config['dbhost'], $this->config['dbuser'], $this->config['dbpass']); |
||
| 24 | $this->bridge->selectDb($this->config['dbname']); |
||
| 25 | |||
| 26 | $this->loadFixtures(); |
||
| 27 | } |
||
| 28 | |||
| 40 | } |
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.