Completed
Push — symfony3-fqcn ( cea3b6...24b82c )
by Kamil
103:48 queued 86:45
created
src/Sylius/Behat/Page/Shop/Checkout/AddressPage.php 1 patch
Braces   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@  discard block
 block discarded – undo
47 47
         array $parameters,
48 48
         RouterInterface $router,
49 49
         AddressFactoryInterface $addressFactory
50
-    ){
50
+    ) {
51 51
         parent::__construct($session, $parameters, $router);
52 52
 
53 53
         $this->addressFactory = $addressFactory;
@@ -412,7 +412,7 @@  discard block
 block discarded – undo
412 412
      */
413 413
     private function waitForElement($timeout, $elementName)
414 414
     {
415
-        return $this->getDocument()->waitFor($timeout, function () use ($elementName){
415
+        return $this->getDocument()->waitFor($timeout, function () use ($elementName) {
416 416
             return $this->hasElement($elementName);
417 417
         });
418 418
     }
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Shop/Account/AddressBook/UpdatePage.php 1 patch
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -96,7 +96,7 @@
 block discarded – undo
96 96
      */
97 97
     private function waitForElement($timeout, $elementName)
98 98
     {
99
-        $this->getDocument()->waitFor($timeout, function () use ($elementName){
99
+        $this->getDocument()->waitFor($timeout, function () use ($elementName) {
100 100
             return $this->hasElement($elementName);
101 101
         });
102 102
     }
Please login to merge, or discard this patch.
src/Sylius/Bundle/PaymentBundle/Form/Type/PaymentMethodChoiceType.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -100,8 +100,7 @@
 block discarded – undo
100 100
      */
101 101
     private function createChoiceList()
102 102
     {
103
-        return function (Options $options)
104
-        {
103
+        return function (Options $options) {
105 104
             if (isset($options['subject'])) {
106 105
                 $resolvedMethods = $this->paymentMethodsResolver->getSupportedMethods($options['subject']);
107 106
             } else {
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Shop/HomePage.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -106,7 +106,8 @@
 block discarded – undo
106 106
      * {@inheritdoc}
107 107
      */
108 108
     public function getLatestProductsNames()
109
-    {;
109
+    {
110
+;
110 111
         return array_map(
111 112
             function (NodeElement $element) { return $element->getText(); },
112 113
             $this->getDocument()->findAll('css', '.sylius-product-name')
Please login to merge, or discard this patch.
ProductBundle/spec/Validator/UniqueSimpleProductCodeValidatorSpec.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,8 @@
 block discarded – undo
24 24
 
25 25
 final class UniqueSimpleProductCodeValidatorSpec extends ObjectBehavior
26 26
 {
27
-    function let(ExecutionContextInterface $context, ProductVariantRepositoryInterface $productVariantRepository) {
27
+    function let(ExecutionContextInterface $context, ProductVariantRepositoryInterface $productVariantRepository)
28
+    {
28 29
         $this->beConstructedWith($productVariantRepository);
29 30
         $this->initialize($context);
30 31
     }
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/Product/IndexPerTaxonPage.php 1 patch
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@
 block discarded – undo
55 55
     {
56 56
         $this->getElement('save_configuration_button')->press();
57 57
 
58
-        $this->getDocument()->waitFor(5, function (){
58
+        $this->getDocument()->waitFor(5, function () {
59 59
             return false === $this->getElement('save_configuration_button')->hasClass('loading');
60 60
         } );
61 61
     }
Please login to merge, or discard this patch.