Completed
Push — symfony3-wololo-packages ( 7fba0a...f0e1f9 )
by Kamil
36:11 queued 19:34
created
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.
src/Sylius/Bundle/CoreBundle/Form/Extension/OrderTypeExtension.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -47,7 +47,8 @@
 block discarded – undo
47 47
     {
48 48
         $resolver->setNormalizer('validation_groups', function (Options $options, array $validationGroups) {
49 49
             return function (FormInterface $form) use ($validationGroups) {
50
-                if ((bool) $form->get('promotionCoupon')->getNormData()) { // Validate the coupon if it was sent
50
+                if ((bool) $form->get('promotionCoupon')->getNormData()) {
51
+// Validate the coupon if it was sent
51 52
                     $validationGroups[] = 'sylius_promotion_coupon';
52 53
                 }
53 54
 
Please login to merge, or discard this patch.
Bundle/GridBundle/DependencyInjection/Compiler/RegisterFiltersPass.php 1 patch
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
33 33
         $formTypeRegistry = $container->getDefinition('sylius.form_registry.grid_filter');
34 34
 
35 35
         foreach ($container->findTaggedServiceIds('sylius.grid_filter') as $id => $attributes) {
36
-            if (!isset($attributes[0]['type'], $attributes[0]['form-type']))  {
36
+            if (!isset($attributes[0]['type'], $attributes[0]['form-type'])) {
37 37
                 throw new \InvalidArgumentException('Tagged grid filters needs to have `type` and `form-type` attribute.');
38 38
             }
39 39
 
Please login to merge, or discard this patch.