| Conditions | 2 |
| Paths | 2 |
| Total Lines | 19 |
| Code Lines | 13 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 8 | public function registerBundles() |
||
| 9 | { |
||
| 10 | $bundles = [ |
||
| 11 | new Symfony\Bundle\FrameworkBundle\FrameworkBundle(), |
||
| 12 | new Symfony\Bundle\TwigBundle\TwigBundle(), |
||
|
|
|||
| 13 | new Symfony\Bundle\AsseticBundle\AsseticBundle(), |
||
| 14 | new Sensio\Bundle\FrameworkExtraBundle\SensioFrameworkExtraBundle(), |
||
| 15 | new AppBundle\AppBundle(), |
||
| 16 | new Devmachine\Bundle\FormBundle\DevmachineFormBundle(), |
||
| 17 | ]; |
||
| 18 | |||
| 19 | if (in_array($this->getEnvironment(), ['dev', 'test'])) { |
||
| 20 | $bundles[] = new Symfony\Bundle\DebugBundle\DebugBundle(); |
||
| 21 | $bundles[] = new Symfony\Bundle\WebProfilerBundle\WebProfilerBundle(); |
||
| 22 | $bundles[] = new Sensio\Bundle\DistributionBundle\SensioDistributionBundle(); |
||
| 23 | $bundles[] = new Sensio\Bundle\GeneratorBundle\SensioGeneratorBundle(); |
||
| 24 | } |
||
| 25 | |||
| 26 | return $bundles; |
||
| 27 | } |
||
| 49 |
The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g.
excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths