Skip to content

Commit

Permalink
minor #4445 Removed unnecessary use statement (Alex Salguero)
Browse files Browse the repository at this point in the history
This PR was merged into the 2.3 branch.

Discussion
----------

Removed unnecessary use statement

| Q             | A
| ------------- | ---
| Doc fix?      | yes
| New docs?     | no
| Applies to    | all
| Fixed tickets |

Found a rather unnecessary "use" statement in the code example in the "debugging" cookbook. Makes it difficult to spot the changes between one code example and the following one and know what changed.

Commits
-------

6a9162b Removed unnecessary use statement in code example in the debugging cookbook
  • Loading branch information
weaverryan committed Nov 20, 2014
2 parents 85bf906 + 6a9162b commit 21afb4c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions cookbook/debugging.rst
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,6 @@ below::
$loader = require_once __DIR__.'/../app/autoload.php';
require_once __DIR__.'/../app/AppKernel.php';

use Symfony\Component\HttpFoundation\Request;

$kernel = new AppKernel('dev', true);
// $kernel->loadClassCache();
$request = Request::createFromGlobals();
Expand Down

0 comments on commit 21afb4c

Please sign in to comment.