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