Skip to content

Commit 772497a

Browse files
committed
Fixed broken use statements
1 parent bcc56c9 commit 772497a

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

migration.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ could look something like this::
238238
// public/index.php
239239
use App\Kernel;
240240
use App\LegacyBridge;
241-
use Symfony\Component\Debug\Debug;
241+
use Symfony\Component\ErrorHandler\Debug;
242242
use Symfony\Component\HttpFoundation\Request;
243243

244244
require dirname(__DIR__).'/vendor/autoload.php';

reference/constraints/Compound.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ you can create your own named set or requirements to be reused consistently ever
2626
// src/Validator/Constraints/PasswordRequirements.php
2727
namespace App\Validator\Constraints;
2828

29-
use Symfony\Component\Validator\Compound;
29+
use Symfony\Component\Validator\Constraints\Compound;
3030
use Symfony\Component\Validator\Constraints as Assert;
3131

3232
/**

reference/constraints/Traverse.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ that all have constraints on their properties.
2626
// src/Entity/BookCollection.php
2727
namespace App\Entity;
2828
29-
use Doctrine\Collections\ArrayCollection;
30-
use Doctrine\Collections\Collection
29+
use Doctrine\Common\Collections\ArrayCollection;
30+
use Doctrine\Common\Collections\Collection
3131
use Doctrine\ORM\Mapping as ORM;
3232
use Symfony\Component\Validator\Constraints as Assert;
3333

routing.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2247,7 +2247,7 @@ session shouldn't be used when matching a request:
22472247
22482248
// config/routes.php
22492249
use App\Controller\MainController;
2250-
use Symfony\Bundle\FrameworkBundle\Routing\Loader\Configurator\RoutingConfigurator;
2250+
use Symfony\Component\Routing\Loader\Configurator\RoutingConfigurator;
22512251
22522252
return function (RoutingConfigurator $routes) {
22532253
$routes->add('homepage', '/')

0 commit comments

Comments
 (0)