Completed
Push — master ( 6d1dd5...aed0db )
by Beñat
03:50
created
spec/LIN3S/WPSymfonyForm/Ajax/FormSubmitAjaxSpec.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,9 +11,9 @@
 block discarded – undo
11 11
 
12 12
 namespace spec\LIN3S\WPSymfonyForm\Ajax;
13 13
 
14
-use LIN3S\WordPressPhpSpecBridge\ObjectBehavior;
15 14
 use LIN3S\WPSymfonyForm\Ajax\FormSubmitAjax;
16 15
 use LIN3S\WPSymfonyForm\Registry\FormWrapperRegistry;
16
+use LIN3S\WordPressPhpSpecBridge\ObjectBehavior;
17 17
 
18 18
 /**
19 19
  * Spec file of FormSubmitAjax.
Please login to merge, or discard this patch.
spec/LIN3S/WPSymfonyForm/Controller/AjaxControllerSpec.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,10 +11,10 @@
 block discarded – undo
11 11
 
12 12
 namespace spec\LIN3S\WPSymfonyForm\Controller;
13 13
 
14
-use fixtures\LIN3S\WPSymfonyForm\Form\Type\DummyType;
15 14
 use LIN3S\WPSymfonyForm\Controller\AjaxController;
16 15
 use LIN3S\WPSymfonyForm\Wrapper\FormWrapper;
17 16
 use PhpSpec\ObjectBehavior;
17
+use fixtures\LIN3S\WPSymfonyForm\Form\Type\DummyType;
18 18
 
19 19
 /**
20 20
  * Spec file of AjaxController.
Please login to merge, or discard this patch.
spec/LIN3S/WPSymfonyForm/Registry/FormWrapperRegistrySpec.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,10 +11,10 @@
 block discarded – undo
11 11
 
12 12
 namespace spec\LIN3S\WPSymfonyForm\Registry;
13 13
 
14
-use fixtures\LIN3S\WPSymfonyForm\Form\Type\DummyType;
15 14
 use LIN3S\WPSymfonyForm\Registry\FormWrapperRegistry;
16 15
 use LIN3S\WPSymfonyForm\Wrapper\FormWrapper;
17 16
 use PhpSpec\ObjectBehavior;
17
+use fixtures\LIN3S\WPSymfonyForm\Form\Type\DummyType;
18 18
 
19 19
 /**
20 20
  * Spec file of FormWrapperRegistry.
Please login to merge, or discard this patch.
spec/LIN3S/WPSymfonyForm/Wrapper/FormWrapperSpec.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,9 +11,9 @@
 block discarded – undo
11 11
 
12 12
 namespace spec\LIN3S\WPSymfonyForm\Wrapper;
13 13
 
14
-use fixtures\LIN3S\WPSymfonyForm\Form\Type\DummyType;
15 14
 use LIN3S\WPSymfonyForm\Wrapper\FormWrapper;
16 15
 use PhpSpec\ObjectBehavior;
16
+use fixtures\LIN3S\WPSymfonyForm\Form\Type\DummyType;
17 17
 
18 18
 /**
19 19
  * Spec file of FormWrapper.
Please login to merge, or discard this patch.
src/LIN3S/WPSymfonyForm/Twig/TwigBridge.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
      * @param \Twig_Environment $twig      The twig
29 29
      * @param string            $formTheme The form theme
30 30
      *
31
-     * @return mixed
31
+     * @return \Twig_Environment
32 32
      */
33 33
     public static function addExtension(\Twig_Environment $twig, $formTheme = 'form_div_layout.html.twig')
34 34
     {
Please login to merge, or discard this patch.
src/LIN3S/WPSymfonyForm/Registry/FormWrapperRegistry.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@
 block discarded – undo
34 34
      */
35 35
     public function __construct(array $formWrappers = [])
36 36
     {
37
-        $this->formWrappers = array_map(function (FormWrapper $formWrapper) {
37
+        $this->formWrappers = array_map(function(FormWrapper $formWrapper) {
38 38
             return $formWrapper;
39 39
         }, $formWrappers);
40 40
     }
Please login to merge, or discard this patch.