| Conditions | 1 | 
| Paths | 1 | 
| Total Lines | 10 | 
| Code Lines | 6 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 1 | ||
| Bugs | 0 | Features | 1 | 
| 1 | <?php | ||
| 12 | public function testConfig() | ||
| 13 |     { | ||
| 14 | $app = new Application(); | ||
| 15 | |||
| 16 | $app->register(new YamlConfigurationServiceProvider(__DIR__ . self::CONFIG_FILE)); | ||
| 17 | |||
| 18 | $this->assertEquals($app['config']['db']['pass'], '123123'); | ||
| 19 | $this->assertEquals($app['config']['facebook']['debug'], true); | ||
| 20 | $this->assertEquals(count($app['config']['security']['rules']['IS_AUTHENTICATED_ANONYMOUSLY']), 2); | ||
| 21 | } | ||
| 22 | |||
| 44 | 
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.