Passed
Pull Request — master (#1040)
by Maxim
14:41 queued 04:55
created
src/Framework/Bootloader/CommandBootloader.php 1 patch
Braces   +10 added lines, -5 removed lines patch added patch discarded remove patch
@@ -48,23 +48,28 @@
 block discarded – undo
48 48
 
49 49
     private function configureExtensions(ConsoleBootloader $console, ContainerInterface $container): void
50 50
     {
51
-        if ($container->has(TranslatorInterface::class)) {
51
+        if ($container->has(TranslatorInterface::class))
52
+        {
52 53
             $this->configureTranslator($console);
53 54
         }
54 55
 
55
-        if ($container->has(ViewsInterface::class)) {
56
+        if ($container->has(ViewsInterface::class))
57
+        {
56 58
             $this->configureViews($console);
57 59
         }
58 60
 
59
-        if ($container->has(EncryptionInterface::class)) {
61
+        if ($container->has(EncryptionInterface::class))
62
+        {
60 63
             $this->configureEncrypter($console);
61 64
         }
62 65
 
63
-        if ($container->has(RouterInterface::class)) {
66
+        if ($container->has(RouterInterface::class))
67
+        {
64 68
             $console->addCommand(Router\ListCommand::class);
65 69
         }
66 70
 
67
-        if ($container->has(ClassesInterface::class)) {
71
+        if ($container->has(ClassesInterface::class))
72
+        {
68 73
             $console->addCommand(Tokenizer\InfoCommand::class);
69 74
             $console->addCommand(Tokenizer\ValidateCommand::class);
70 75
         }
Please login to merge, or discard this patch.
src/Framework/Command/Tokenizer/ValidateCommand.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,8 @@
 block discarded – undo
23 23
         $listeners = \method_exists($registry, 'getListenerClasses') ? $registry->getListenerClasses() : [];
24 24
 
25 25
         $grid = $this->table(['Listener', 'Suggestion']);
26
-        foreach ($listeners as $class) {
26
+        foreach ($listeners as $class)
27
+        {
27 28
             $ref = new \ReflectionClass($class);
28 29
             $attribute = $reader->firstClassMetadata($ref, AbstractTarget::class);
29 30
             $suggestion = match (true) {
Please login to merge, or discard this patch.