| Conditions | 2 |
| Paths | 2 |
| Total Lines | 15 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php declare(strict_types=1); |
||
| 13 | public function registerBundles() |
||
| 14 | { |
||
| 15 | $bundles = [ |
||
| 16 | new \Symfony\Bundle\FrameworkBundle\FrameworkBundle(), |
||
| 17 | new \Symfony\Bundle\MonologBundle\MonologBundle(), |
||
| 18 | new \KleijnWeb\SwaggerBundle\KleijnWebSwaggerBundle(), |
||
| 19 | new \KleijnWeb\SwaggerBundle\Tests\Functional\PetStore\PetStoreBundle(), |
||
| 20 | ]; |
||
| 21 | |||
| 22 | if (0 === strpos($this->getEnvironment(), 'secure')) { |
||
| 23 | $bundles[] = new \Symfony\Bundle\SecurityBundle\SecurityBundle(); |
||
| 24 | } |
||
| 25 | |||
| 26 | return $bundles; |
||
| 27 | } |
||
| 28 | |||
| 37 |