davidyell / Learning-Symfony2

Learning Symfony2 by recreating a Stack Exchange website
MIT License
3 stars 0 forks source link

[Insight] Unused use statement should be avoided #14

Closed davidyell closed 10 years ago

davidyell commented 10 years ago

in web/app.php, line 3

The class Symfony\Component\ClassLoader\ApcClassLoader is declared but never used. You should remove the use statement.

<?php

use Symfony\Component\ClassLoader\ApcClassLoader;
use Symfony\Component\HttpFoundation\Request;

$loader = require_once __DIR__.'/../app/bootstrap.php.cache';

// Use APC for autoloading to improve performance.

Posted from SensioLabsInsight