Unused use statement should be avoided 8

More information: https://insight.symfony.com/what-we-analyse/php.unused_use_statement

  1. use eZ\Bundle\EzPublishCoreBundle\DependencyInjection\Configuration\SiteAccessAware\ConfigurationProcessor;
  2. use eZ\Bundle\EzPublishCoreBundle\DependencyInjection\Configuration\SiteAccessAware\ContextualizerInterface;
  3. use InvalidArgumentException;
  4. use Symfony\Component\DependencyInjection\ContainerBuilder;
  5. use Symfony\Component\Config\FileLocator;
  6. use Symfony\Component\DependencyInjection\Extension\PrependExtensionInterface;

    The class Symfony\Component\DependencyInjection\Extension\PrependExtensionInterface is declared but never used. You should remove the use statement.

    Time to fix: about 15 minutes
    Permalink
    Last edited by Jérôme Vieilledent
  7. use Symfony\Component\HttpKernel\DependencyInjection\Extension;
  8. use Symfony\Component\DependencyInjection\Loader;
  9. class EzCoreExtraExtension extends Extension
  10. {
  1. */
  2. namespace Lolautruche\EzCoreExtraBundle\DependencyInjection;
  3. use eZ\Bundle\EzPublishCoreBundle\DependencyInjection\Configuration\SiteAccessAware\ConfigurationProcessor;
  4. use eZ\Bundle\EzPublishCoreBundle\DependencyInjection\Configuration\SiteAccessAware\ContextualizerInterface;

    The class eZ\Bundle\EzPublishCoreBundle\DependencyInjection\Configuration\SiteAccessAware\ContextualizerInterface is declared but never used. You should remove the use statement.

    Time to fix: about 15 minutes
    Permalink
    Last edited by Jérôme Vieilledent
  5. use InvalidArgumentException;
  6. use Symfony\Component\DependencyInjection\ContainerBuilder;
  7. use Symfony\Component\Config\FileLocator;
  8. use Symfony\Component\DependencyInjection\Extension\PrependExtensionInterface;
  9. use Symfony\Component\HttpKernel\DependencyInjection\Extension;
  1. namespace Lolautruche\EzCoreExtraBundle\DependencyInjection;
  2. use eZ\Bundle\EzPublishCoreBundle\DependencyInjection\Configuration\SiteAccessAware\ConfigurationProcessor;
  3. use eZ\Bundle\EzPublishCoreBundle\DependencyInjection\Configuration\SiteAccessAware\ContextualizerInterface;
  4. use InvalidArgumentException;

    The class InvalidArgumentException is declared but never used. You should remove the use statement.

    Time to fix: about 15 minutes
    Permalink
    Last edited by Jérôme Vieilledent
  5. use Symfony\Component\DependencyInjection\ContainerBuilder;
  6. use Symfony\Component\Config\FileLocator;
  7. use Symfony\Component\DependencyInjection\Extension\PrependExtensionInterface;
  8. use Symfony\Component\HttpKernel\DependencyInjection\Extension;
  9. use Symfony\Component\DependencyInjection\Loader;
in EzCoreExtraBundle.php, line 18
  1. use Lolautruche\EzCoreExtraBundle\DependencyInjection\Compiler\AssetPathResolutionPass;
  2. use Lolautruche\EzCoreExtraBundle\DependencyInjection\Compiler\AssetThemePass;
  3. use Lolautruche\EzCoreExtraBundle\DependencyInjection\Compiler\ParameterProviderPass;
  4. use Lolautruche\EzCoreExtraBundle\DependencyInjection\Compiler\PHPStormPass;
  5. use Lolautruche\EzCoreExtraBundle\DependencyInjection\Compiler\TwigThemePass;

    The class Lolautruche\EzCoreExtraBundle\DependencyInjection\Compiler\TwigThemePass is declared but never used. You should remove the use statement.

    Time to fix: about 15 minutes
    Permalink
    Last edited by Jérôme Vieilledent
  6. use Symfony\Component\DependencyInjection\Compiler\PassConfig;
  7. use Symfony\Component\DependencyInjection\ContainerBuilder;
  8. use Symfony\Component\HttpKernel\Bundle\Bundle;
  9. class EzCoreExtraBundle extends Bundle
in EzCoreExtraBundle.php, line 19
  1. use Lolautruche\EzCoreExtraBundle\DependencyInjection\Compiler\AssetPathResolutionPass;
  2. use Lolautruche\EzCoreExtraBundle\DependencyInjection\Compiler\AssetThemePass;
  3. use Lolautruche\EzCoreExtraBundle\DependencyInjection\Compiler\ParameterProviderPass;
  4. use Lolautruche\EzCoreExtraBundle\DependencyInjection\Compiler\PHPStormPass;
  5. use Lolautruche\EzCoreExtraBundle\DependencyInjection\Compiler\TwigThemePass;
  6. use Symfony\Component\DependencyInjection\Compiler\PassConfig;

    The class Symfony\Component\DependencyInjection\Compiler\PassConfig is declared but never used. You should remove the use statement.

    Time to fix: about 15 minutes
    Permalink
    Last edited by Jérôme Vieilledent
  7. use Symfony\Component\DependencyInjection\ContainerBuilder;
  8. use Symfony\Component\HttpKernel\Bundle\Bundle;
  9. class EzCoreExtraBundle extends Bundle
  10. {
in EzCoreExtraBundle.php, line 17
  1. namespace Lolautruche\EzCoreExtraBundle;
  2. use Lolautruche\EzCoreExtraBundle\DependencyInjection\Compiler\AssetPathResolutionPass;
  3. use Lolautruche\EzCoreExtraBundle\DependencyInjection\Compiler\AssetThemePass;
  4. use Lolautruche\EzCoreExtraBundle\DependencyInjection\Compiler\ParameterProviderPass;
  5. use Lolautruche\EzCoreExtraBundle\DependencyInjection\Compiler\PHPStormPass;

    The class Lolautruche\EzCoreExtraBundle\DependencyInjection\Compiler\PHPStormPass is declared but never used. You should remove the use statement.

    Time to fix: about 15 minutes
    Permalink
    Last edited by Jérôme Vieilledent
  6. use Lolautruche\EzCoreExtraBundle\DependencyInjection\Compiler\TwigThemePass;
  7. use Symfony\Component\DependencyInjection\Compiler\PassConfig;
  8. use Symfony\Component\DependencyInjection\ContainerBuilder;
  9. use Symfony\Component\HttpKernel\Bundle\Bundle;
in EzCoreExtraBundle.php, line 15
  1. */
  2. namespace Lolautruche\EzCoreExtraBundle;
  3. use Lolautruche\EzCoreExtraBundle\DependencyInjection\Compiler\AssetPathResolutionPass;
  4. use Lolautruche\EzCoreExtraBundle\DependencyInjection\Compiler\AssetThemePass;

    The class Lolautruche\EzCoreExtraBundle\DependencyInjection\Compiler\AssetThemePass is declared but never used. You should remove the use statement.

    Time to fix: about 15 minutes
    Permalink
    Last edited by Jérôme Vieilledent
  5. use Lolautruche\EzCoreExtraBundle\DependencyInjection\Compiler\ParameterProviderPass;
  6. use Lolautruche\EzCoreExtraBundle\DependencyInjection\Compiler\PHPStormPass;
  7. use Lolautruche\EzCoreExtraBundle\DependencyInjection\Compiler\TwigThemePass;
  8. use Symfony\Component\DependencyInjection\Compiler\PassConfig;
  9. use Symfony\Component\DependencyInjection\ContainerBuilder;
in EzCoreExtraBundle.php, line 14
  1. * file that was distributed with this source code.
  2. */
  3. namespace Lolautruche\EzCoreExtraBundle;
  4. use Lolautruche\EzCoreExtraBundle\DependencyInjection\Compiler\AssetPathResolutionPass;

    The class Lolautruche\EzCoreExtraBundle\DependencyInjection\Compiler\AssetPathResolutionPass is declared but never used. You should remove the use statement.

    Time to fix: about 15 minutes
    Permalink
    Last edited by Jérôme Vieilledent
  5. use Lolautruche\EzCoreExtraBundle\DependencyInjection\Compiler\AssetThemePass;
  6. use Lolautruche\EzCoreExtraBundle\DependencyInjection\Compiler\ParameterProviderPass;
  7. use Lolautruche\EzCoreExtraBundle\DependencyInjection\Compiler\PHPStormPass;
  8. use Lolautruche\EzCoreExtraBundle\DependencyInjection\Compiler\TwigThemePass;
  9. use Symfony\Component\DependencyInjection\Compiler\PassConfig;