Passed
Push — develop ( 6a0476...300eb3 )
by
unknown
03:13
created
Form/Type/SiteType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
     {
27 27
         $resolver->setDefaults([
28 28
             'choices' => $this->siteRepository->findAll(),
29
-            'choice_label' => function (SiteInterface $site = null) {
29
+            'choice_label' => function(SiteInterface $site = null) {
30 30
                 return (string) $site;
31 31
             },
32 32
             'choice_value' => 'id'
Please login to merge, or discard this patch.
Form/Type/IdentifiedSiteType.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -31,9 +31,9 @@
 block discarded – undo
31 31
             'exclude_sites' => []
32 32
         ]);
33 33
 
34
-        $resolver->setNormalizer('choices', function (Options $options, $value) {
34
+        $resolver->setNormalizer('choices', function(Options $options, $value) {
35 35
             if ($options['exclude_sites']) {
36
-                $value = array_filter($value, function (IdentifiedSiteInterface $site) use ($options): bool {
36
+                $value = array_filter($value, function(IdentifiedSiteInterface $site) use ($options): bool {
37 37
                     return !in_array($site->getIdentifier(), $options['exclude_sites']);
38 38
                 });
39 39
             }
Please login to merge, or discard this patch.
DependencyInjection/Configuration.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
34 34
                 ->arrayNode('resolver')
35 35
                     ->canBeEnabled()
36 36
                     ->beforeNormalization()
37
-                        ->ifTrue(function (array $config) {
37
+                        ->ifTrue(function(array $config) {
38 38
                             if (!$config['enabled']) {
39 39
                                 return false;
40 40
                             }
@@ -43,7 +43,7 @@  discard block
 block discarded – undo
43 43
                         ->thenInvalid('A "host_mapping" is required for the hostname_identified resolver')
44 44
                     ->end()
45 45
                     ->beforeNormalization()
46
-                        ->ifTrue(function (array $config) {
46
+                        ->ifTrue(function(array $config) {
47 47
                             if (!$config['enabled']) {
48 48
                                 return false;
49 49
                             }
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
                         ->thenInvalid('"identifiers" are required for the prefixed_path_identified resolver')
54 54
                     ->end()
55 55
                     ->beforeNormalization()
56
-                        ->ifTrue(function (array $config) {
56
+                        ->ifTrue(function(array $config) {
57 57
                             if (!$config['enabled']) {
58 58
                                 return false;
59 59
                             }
Please login to merge, or discard this patch.