Stinger-Soft /
EntitySearchBundle
These results are based on our legacy PHP analysis, consider migrating to our new PHP analysis engine instead. Learn more
| 1 | <?php |
||
| 2 | declare(strict_types=1); |
||
| 3 | |||
| 4 | /* |
||
| 5 | * This file is part of the Stinger Entity Search package. |
||
| 6 | * |
||
| 7 | * (c) Oliver Kotte <[email protected]> |
||
| 8 | * (c) Florian Meyer <[email protected]> |
||
| 9 | * |
||
| 10 | * For the full copyright and license information, please view the LICENSE |
||
| 11 | * file that was distributed with this source code. |
||
| 12 | */ |
||
| 13 | |||
| 14 | namespace StingerSoft\EntitySearchBundle; |
||
| 15 | |||
| 16 | use StingerSoft\EntitySearchBundle\DependencyInjection\Compiler\FacetCompilerPass; |
||
| 17 | use StingerSoft\EntitySearchBundle\Services\Facet\FacetServiceInterface; |
||
| 18 | use Symfony\Component\DependencyInjection\ContainerBuilder; |
||
| 19 | use Symfony\Component\HttpKernel\Bundle\Bundle; |
||
| 20 | |||
| 21 | /** |
||
| 22 | */ |
||
| 23 | class StingerSoftEntitySearchBundle extends Bundle { |
||
| 24 | |||
| 25 | public static function getRequiredBundles($env) { |
||
|
0 ignored issues
–
show
|
|||
| 26 | $bundles = array(); |
||
| 27 | $bundles['StingerSoftEntitySearchBundle'] = '\StingerSoft\EntitySearchBundle\StingerSoftEntitySearchBundle'; |
||
| 28 | $bundles['KnpPaginatorBundle'] = 'Knp\Bundle\PaginatorBundle\KnpPaginatorBundle'; |
||
| 29 | return $bundles; |
||
| 30 | } |
||
| 31 | |||
| 32 | public function build(ContainerBuilder $container) { |
||
| 33 | $container->registerForAutoconfiguration(FacetServiceInterface::class)->addTag(FacetServiceInterface::TAG_NAME); |
||
| 34 | $container->addCompilerPass(new FacetCompilerPass()); |
||
| 35 | } |
||
| 36 | } |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.