GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Completed
Pull Request — master (#1044)
by
unknown
03:05
created
Tests/Form/AbstractDivLayoutTest.php 3 patches
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -302,10 +302,10 @@
 block discarded – undo
302 302
 
303 303
     protected function getFormType($name)
304 304
     {
305
-         if(method_exists('Symfony\Component\Form\AbstractType', 'getBlockPrefix')) {
306
-             return $this->formTypeMap[$name];
307
-         }
305
+            if(method_exists('Symfony\Component\Form\AbstractType', 'getBlockPrefix')) {
306
+                return $this->formTypeMap[$name];
307
+            }
308 308
 
309
-         return $name;
309
+            return $name;
310 310
     }
311 311
 }
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -302,7 +302,7 @@
 block discarded – undo
302 302
 
303 303
     protected function getFormType($name)
304 304
     {
305
-         if(method_exists('Symfony\Component\Form\AbstractType', 'getBlockPrefix')) {
305
+         if (method_exists('Symfony\Component\Form\AbstractType', 'getBlockPrefix')) {
306 306
              return $this->formTypeMap[$name];
307 307
          }
308 308
 
Please login to merge, or discard this patch.
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -300,6 +300,9 @@
 block discarded – undo
300 300
         return (string) $this->extension->renderer->searchAndRenderBlock($view, 'label', $vars);
301 301
     }
302 302
 
303
+    /**
304
+     * @param string $name
305
+     */
303 306
     protected function getFormType($name)
304 307
     {
305 308
          if(method_exists('Symfony\Component\Form\AbstractType', 'getBlockPrefix')) {
Please login to merge, or discard this patch.
Form/Extension/LayoutFormTypeExtension.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -108,7 +108,7 @@
 block discarded – undo
108 108
     {
109 109
         $resolver->setDefaults(
110 110
             array(
111
-                'layout' => function (Options $options) {
111
+                'layout' => function(Options $options) {
112 112
                     // BC
113 113
                     if (isset($options['horizontal'])) {
114 114
                         return $options['horizontal'];
Please login to merge, or discard this patch.
DependencyInjection/Configuration.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -212,10 +212,10 @@
 block discarded – undo
212 212
                         ->end()
213 213
                     ->end()
214 214
                     ->beforeNormalization()
215
-                        ->ifTrue(function ($v) {
215
+                        ->ifTrue(function($v) {
216 216
                             return isset($v['horizontal']) && false === $v['horizontal'];
217 217
                         })
218
-                        ->then(function ($v) {
218
+                        ->then(function($v) {
219 219
                             $v['layout'] = false;
220 220
                             unset($v['horizontal']);
221 221
 
Please login to merge, or discard this patch.