Skip to content

Commit e0e4dc3

Browse files
committed
Merge branch '5.4' into 6.2
* 5.4: Remove some unused use
2 parents 5c954af + b2f315d commit e0e4dc3

File tree

4 files changed

+1
-9
lines changed

4 files changed

+1
-9
lines changed

components/event_dispatcher.rst

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,6 @@ determine which instance is passed.
182182

183183
use Symfony\Component\DependencyInjection\ContainerBuilder;
184184
use Symfony\Component\DependencyInjection\ParameterBag\ParameterBag;
185-
use Symfony\Component\DependencyInjection\Reference;
186185
use Symfony\Component\EventDispatcher\DependencyInjection\RegisterListenersPass;
187186
use Symfony\Component\EventDispatcher\EventDispatcher;
188187

@@ -213,7 +212,6 @@ determine which instance is passed.
213212
use Symfony\Component\DependencyInjection\Compiler\PassConfig;
214213
use Symfony\Component\DependencyInjection\ContainerBuilder;
215214
use Symfony\Component\DependencyInjection\ParameterBag\ParameterBag;
216-
use Symfony\Component\DependencyInjection\Reference;
217215
use Symfony\Component\EventDispatcher\DependencyInjection\AddEventAliasesPass;
218216
use Symfony\Component\EventDispatcher\DependencyInjection\RegisterListenersPass;
219217
use Symfony\Component\EventDispatcher\EventDispatcher;

configuration.rst

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -831,7 +831,7 @@ In PHP >= 8, you can remove the two arguments when autoconfiguration is enabled
831831
# config/services.yaml
832832
services:
833833
Symfony\Component\Dotenv\Command\DotenvDumpCommand: ~
834-
834+
835835
Then, run the command:
836836

837837
.. code-block:: terminal
@@ -1052,8 +1052,6 @@ whenever a service/controller defines a ``$projectDir`` argument, use this:
10521052
// config/services.php
10531053
namespace Symfony\Component\DependencyInjection\Loader\Configurator;
10541054
1055-
use App\Controller\LuckyController;
1056-
10571055
return static function (ContainerConfigurator $container): void {
10581056
$container->services()
10591057
->defaults()

frontend/custom_version_strategy.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,6 @@ After creating the strategy PHP class, register it as a Symfony service.
128128
namespace Symfony\Component\DependencyInjection\Loader\Configurator;
129129
130130
use App\Asset\VersionStrategy\GulpBusterVersionStrategy;
131-
use Symfony\Component\DependencyInjection\Definition;
132131
133132
return function(ContainerConfigurator $container): void {
134133
$services = $container->services();

service_container.rst

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -883,10 +883,7 @@ You can also use the ``bind`` keyword to bind specific arguments by name or type
883883
// config/services.php
884884
namespace Symfony\Component\DependencyInjection\Loader\Configurator;
885885
886-
use App\Controller\LuckyController;
887886
use Psr\Log\LoggerInterface;
888-
use Symfony\Component\DependencyInjection\Definition;
889-
use Symfony\Component\DependencyInjection\Reference;
890887
891888
return function(ContainerConfigurator $container): void {
892889
$services = $container->services()

0 commit comments

Comments
 (0)