Passed
Push — master ( 1c3fc4...16ea9e )
by Dāvis
03:43
created
Http/StreamResponse.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
         $chunked = $this->headers->has('Transfer-Encoding');
25 25
         $this->content->seek(0);
26 26
 
27
-        for (; ;) {
27
+        for (;;) {
28 28
             $chunk = $this->content->read($this->bufferSize);
29 29
 
30 30
             if ($chunked) {
Please login to merge, or discard this patch.
Captcha/Configurator/CaptchaConfigurator.php 1 patch
Braces   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -5,8 +5,8 @@
 block discarded – undo
5 5
 use Symfony\Component\Config\Definition\Builder\NodeBuilder;
6 6
 use Symfony\Component\DependencyInjection\ContainerBuilder;
7 7
 
8
-interface CaptchaConfigurator
9
-{
8
+interface CaptchaConfigurator
9
+{
10 10
     public function buildConfiguration(NodeBuilder $node);
11 11
 
12 12
     public function configureClient(ContainerBuilder $container, $clientServiceKey, array $options = []);
Please login to merge, or discard this patch.
Guzzle/GuzzleHttp/Middleware/CacheMiddleware.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
     {
40 40
         return $handler($request, $options)->then(function(ResponseInterface $response) use ($request) {
41 41
             $code = (int)floor(intval($response->getStatusCode()) / 100);
42
-            if($code === 2) {
42
+            if ($code === 2) {
43 43
                 $this->adapter->save($request, $response);
44 44
             }
45 45
 
Please login to merge, or discard this patch.
Guzzle/GuzzleHttp/MessageFormatter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -124,7 +124,7 @@
 block discarded – undo
124 124
     {
125 125
         $cache = [];
126 126
 
127
-        return preg_replace_callback('/{\s*([A-Za-z_\-\.0-9]+)\s*}/', function (array $matches) use ($request, $response, $error, &$cache) {
127
+        return preg_replace_callback('/{\s*([A-Za-z_\-\.0-9]+)\s*}/', function(array $matches) use ($request, $response, $error, &$cache) {
128 128
             if (isset($cache[$matches[1]])) {
129 129
                 return $cache[$matches[1]];
130 130
             }
Please login to merge, or discard this patch.
DependencyInjection/Component/Extension.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,7 @@
 block discarded – undo
7 7
 
8 8
 interface Extension extends Configurable
9 9
 {
10
-    public function buildClientConfiguration(NodeDefinition &$node);
10
+    public function buildClientConfiguration(NodeDefinition & $node);
11 11
 
12 12
     public function configureClient(ContainerBuilder $container, $clientServiceKey, array $options = []);
13 13
 }
Please login to merge, or discard this patch.
Translatable/Form/Type/TranslatorType.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -88,7 +88,7 @@  discard block
 block discarded – undo
88 88
         }
89 89
 
90 90
         // 'populate' fields by *hook on form generation
91
-        $builder->addEventListener(FormEvents::PRE_SET_DATA, function (FormEvent $event) use ($fieldName, $translations, $fieldType, $class, $required, $className, $id) {
91
+        $builder->addEventListener(FormEvents::PRE_SET_DATA, function(FormEvent $event) use ($fieldName, $translations, $fieldType, $class, $required, $className, $id) {
92 92
             $form = $event->getForm();
93 93
             foreach ($this->locales as $locale) {
94 94
                 $data = (array_key_exists($locale, $translations) && array_key_exists($fieldName, $translations[$locale])) ? $translations[$locale][$fieldName] : null;
@@ -109,7 +109,7 @@  discard block
 block discarded – undo
109 109
             $form->add('currentFieldName', 'hidden', ['data' => $fieldName]);
110 110
         });
111 111
 
112
-        $builder->addEventListener(FormEvents::POST_SUBMIT, function (FormEvent $event) use ($fieldName, $className, $id) {
112
+        $builder->addEventListener(FormEvents::POST_SUBMIT, function(FormEvent $event) use ($fieldName, $className, $id) {
113 113
             $form = $event->getForm();
114 114
             $this->manager->persistTranslations($form, $className, $fieldName, $id, $this->locales);
115 115
         });
Please login to merge, or discard this patch.
DependencyInjection/Component/Captcha.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
         return $this->configurators[$type];
39 39
     }
40 40
 
41
-    public function configure(ContainerBuilder &$container, $alias)
41
+    public function configure(ContainerBuilder & $container, $alias)
42 42
     {
43 43
         $this->alias = $alias.'.captcha';
44 44
         $clientConfigurations = $container->getParameter($this->alias.'.clients');
@@ -75,7 +75,7 @@  discard block
 block discarded – undo
75 75
         }
76 76
     }
77 77
 
78
-    public function buildClientConfiguration(NodeDefinition &$node)
78
+    public function buildClientConfiguration(NodeDefinition & $node)
79 79
     {
80 80
         $optionsNode = $node->children();
81 81
         $this->getConfigurator($this->getType())->buildConfiguration($optionsNode);
Please login to merge, or discard this patch.
DependencyInjection/Component/Configurable.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,5 +6,5 @@
 block discarded – undo
6 6
 
7 7
 interface Configurable
8 8
 {
9
-    public function configure(ContainerBuilder &$container, $alias);
9
+    public function configure(ContainerBuilder & $container, $alias);
10 10
 }
11 11
\ No newline at end of file
Please login to merge, or discard this patch.
DependencyInjection/Component/Openidconnect.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@  discard block
 block discarded – undo
12 12
 {
13 13
     protected $alias;
14 14
 
15
-    public function buildClientConfiguration(NodeDefinition &$node)
15
+    public function buildClientConfiguration(NodeDefinition & $node)
16 16
     {
17 17
         $optionsNode = $node->children();
18 18
 
@@ -47,7 +47,7 @@  discard block
 block discarded – undo
47 47
         $optionsNode->end();
48 48
     }
49 49
 
50
-    private function buildUri(NodeDefinition &$node)
50
+    private function buildUri(NodeDefinition & $node)
51 51
     {
52 52
         $optionsNode = $node->children();
53 53
 
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
         ]);
77 77
     }
78 78
 
79
-    public function configure(ContainerBuilder &$container, $alias)
79
+    public function configure(ContainerBuilder & $container, $alias)
80 80
     {
81 81
         $this->alias = $alias.'.openidconnect';
82 82
         $clientConfigurations = $container->getParameter($this->alias.'.clients');
Please login to merge, or discard this patch.