These results are based on our legacy PHP analysis, consider migrating to our new PHP analysis engine instead. Learn more
1 | <?php |
||
2 | /** |
||
3 | * This file is part of the IrishDan\ResponsiveImageBundle package. |
||
4 | * |
||
5 | * (c) Daniel Byrne <[email protected]> |
||
6 | * |
||
7 | * For the full copyright and license information, please view the LICENSE file that was distributed with this source |
||
8 | * code. |
||
9 | */ |
||
10 | |||
11 | namespace IrishDan\ResponsiveImageBundle; |
||
12 | |||
13 | use IrishDan\ResponsiveImageBundle\DependencyInjection\Compiler\DefaultConfigurationPass; |
||
14 | use Symfony\Component\DependencyInjection\ContainerBuilder; |
||
15 | use Symfony\Component\HttpKernel\Bundle\Bundle; |
||
16 | |||
17 | /** |
||
18 | * Class ResponsiveImageBundle |
||
19 | * |
||
20 | * @package IrishDan\ResponsiveImageBundle |
||
21 | */ |
||
22 | class ResponsiveImageBundle extends Bundle |
||
23 | { |
||
24 | public function build(ContainerBuilder $container) |
||
25 | { |
||
26 | // $container->addCompilerPass(new DefaultConfigurationPass()); |
||
0 ignored issues
–
show
|
|||
27 | } |
||
28 | } |
Sometimes obsolete code just ends up commented out instead of removed. In this case it is better to remove the code once you have checked you do not need it.
The code might also have been commented out for debugging purposes. In this case it is vital that someone uncomments it again or your project may behave in very unexpected ways in production.
This check looks for comments that seem to be mostly valid code and reports them.