| Conditions | 2 |
| Paths | 2 |
| Total Lines | 16 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 8 | public function registerBundles() |
||
| 9 | { |
||
| 10 | $bundles = []; |
||
| 11 | |||
| 12 | if (in_array($this->getEnvironment(), ['test'])) { |
||
| 13 | $bundles[] = new Symfony\Bundle\FrameworkBundle\FrameworkBundle(); |
||
| 14 | $bundles[] = new Symfony\Bundle\TwigBundle\TwigBundle(); |
||
| 15 | $bundles[] = new Symfony\Bundle\MonologBundle\MonologBundle(); |
||
| 16 | $bundles[] = new Doctrine\Bundle\DoctrineBundle\DoctrineBundle(); |
||
| 17 | $bundles[] = new Sensio\Bundle\GeneratorBundle\SensioGeneratorBundle(); |
||
| 18 | $bundles[] = new IrishDan\NotificationBundle\NotificationBundle(); |
||
| 19 | $bundles[] = new Symfony\Bundle\SwiftmailerBundle\SwiftmailerBundle(); |
||
| 20 | } |
||
| 21 | |||
| 22 | return $bundles; |
||
| 23 | } |
||
| 24 | |||
| 34 | } |