anime-db / catalog-bundle

Catalog anime
GNU General Public License v3.0
0 stars 1 forks source link

[Insight] Unused use statement should be avoided - in src/Service/…/Search/Driver/SqlLike.php, line 16 #240

Closed peter-gribanov closed 8 years ago

peter-gribanov commented 8 years ago

in src/Service/Item/Search/Driver/SqlLike.php, line 16

The class Doctrine\ORM\QueryBuilder is declared but never used. You should remove the use statement.

use AnimeDb\Bundle\CatalogBundle\Entity\Search;
use AnimeDb\Bundle\CatalogBundle\Repository\Item;
use AnimeDb\Bundle\CatalogBundle\Service\Item\Search\DriverInterface;
use Doctrine\Bundle\DoctrineBundle\Registry;
use AnimeDb\Bundle\CatalogBundle\Service\Item\Search\Selector;
use Doctrine\ORM\QueryBuilder;

/**
 * Search driver use a SQL LIKE for select name.
 *
 * @author  Peter Gribanov <info@peter-gribanov.ru>

Posted from SensioLabsInsight