Passed
Push — dependabot/composer/phpstan/ph... ( 6f043e )
by
unknown
34:35
created
src/Url/Requirements/Mapping/MappingResolver.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -86,7 +86,7 @@
 block discarded – undo
86 86
             ->setAllowedTypes('entity', 'string')
87 87
             ->setAllowedTypes('requirements', 'array')
88 88
             ->setAllowedTypes('options', 'array')
89
-            ->setNormalizer('route', function (Options $options, $value) {
89
+            ->setNormalizer('route', function(Options $options, $value) {
90 90
                 if (null === $value && null === $options->offsetGet('pattern')) {
91 91
                     throw new InvalidOptionsException('A pattern or a route should be provided');
92 92
                 }
Please login to merge, or discard this patch.
src/Bridge/Doctrine/ORM/DataProvider/ORMDataProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@
 block discarded – undo
52 52
                 'array',
53 53
                 'string',
54 54
             ])
55
-            ->setNormalizer('where', function (Options $options, $value) {
55
+            ->setNormalizer('where', function(Options $options, $value) {
56 56
                 // Allow the configuration "where: article.enabled" instead of
57 57
                 // where:
58 58
                 //    - article.enabled
Please login to merge, or discard this patch.
src/Response/Handler/HtmlHandler.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -77,7 +77,7 @@
 block discarded – undo
77 77
                         $valueToFind = $accessor->getValue($entity, $property);
78 78
                         $found = false;
79 79
 
80
-                        $crawler->filter($selector)->each(function (Crawler $node) use ($valueToFind, &$found) {
80
+                        $crawler->filter($selector)->each(function(Crawler $node) use ($valueToFind, &$found) {
81 81
                             if (false !== strpos($node->text(), $valueToFind)) {
82 82
                                 $found = true;
83 83
                             }
Please login to merge, or discard this patch.
src/Url/Provider/SymfonyUrlProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -129,7 +129,7 @@
 block discarded – undo
129 129
         $urlInfo = new UrlInfo(
130 130
             $urlParts['scheme'],
131 131
             $urlParts['host'],
132
-            (int) $urlParts['port'],
132
+            (int)$urlParts['port'],
133 133
             $urlParts['path'],
134 134
             $urlParts['query'],
135 135
             $urlParts['fragment'],
Please login to merge, or discard this patch.
tests/SmokerBundle/Url/Requirements/Mapping/MappingResolverTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
 
36 36
     public function testResolveWithoutEntity()
37 37
     {
38
-        $this->assertExceptionRaised(MissingOptionsException::class, function () {
38
+        $this->assertExceptionRaised(MissingOptionsException::class, function() {
39 39
             $this->createResolver([
40 40
                 'panda' => [
41 41
                     'provider' => 'my_little_provider',
Please login to merge, or discard this patch.
SmokerBundle/Url/Requirements/Registry/RequirementsProviderRegistryTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
         $this->assertEquals($provider, $registry->get('default'));
26 26
         $this->assertEquals($provider, $registry->all()['default']);
27 27
 
28
-        $this->assertExceptionRaised(Exception::class, function () use ($registry) {
28
+        $this->assertExceptionRaised(Exception::class, function() use ($registry) {
29 29
             $registry->get('whatever');
30 30
         });
31 31
     }
Please login to merge, or discard this patch.
tests/SmokerBundle/Url/Provider/SymfonyRoutingProviderTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -96,7 +96,7 @@  discard block
 block discarded – undo
96 96
     {
97 97
         list($provider) = $this->createProvider();
98 98
 
99
-        $resolver =$this->createMock(OptionsResolver::class);
99
+        $resolver = $this->createMock(OptionsResolver::class);
100 100
 
101 101
         $provider->configure($resolver);
102 102
         $this->assertTrue(true);
@@ -109,7 +109,7 @@  discard block
 block discarded – undo
109 109
             'host' => '127.0.0.1',
110 110
             'port' => '8000',
111 111
             'base_url' => null,
112
-        ],[
112
+        ], [
113 113
             'panda_route' => [
114 114
                 'provider' => 'symfony',
115 115
             ],
Please login to merge, or discard this patch.
tests/SmokerBundle/Response/Handler/ResponseCodeHandlerTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -99,7 +99,7 @@  discard block
 block discarded – undo
99 99
                 ],
100 100
             ]
101 101
         ]);
102
-        $this->assertExceptionRaised(Exception::class, function () use ($handler, $crawler, $client) {
102
+        $this->assertExceptionRaised(Exception::class, function() use ($handler, $crawler, $client) {
103 103
             $handler->handle('existent_route', $crawler, $client);
104 104
         });
105 105
     }
@@ -117,7 +117,7 @@  discard block
 block discarded – undo
117 117
             ]
118 118
         ]);
119 119
 
120
-        $this->assertExceptionRaised(Exception::class, function () use ($handler, $crawler, $client) {
120
+        $this->assertExceptionRaised(Exception::class, function() use ($handler, $crawler, $client) {
121 121
             $handler->handle('existent_route', $crawler, $client);
122 122
         });
123 123
     }
Please login to merge, or discard this patch.
tests/SmokerBundle/Response/Registry/ResponseHandlerRegistryTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
         $this->assertCount(1, $registry->all());
29 29
         $this->assertEquals($handler, $registry->all()['my_handler']);
30 30
 
31
-        $this->assertExceptionRaised(Exception::class, function () use ($registry) {
31
+        $this->assertExceptionRaised(Exception::class, function() use ($registry) {
32 32
             $registry->get('wrong_handler');
33 33
         });
34 34
     }
Please login to merge, or discard this patch.