Completed
Push — master ( 490f4f...a13c2f )
by Paweł
10s
created
tests/Behat/Page/Admin/ProductBlock/CreatePage.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@
 block discarded – undo
43 43
      */
44 44
     public function attachImage($relativePath)
45 45
     {
46
-        $this->getSession()->getPage()->attachFileToField('Image', (string) $this->getParameter('files_path') . $relativePath);
46
+        $this->getSession()->getPage()->attachFileToField('Image', (string) $this->getParameter('files_path').$relativePath);
47 47
     }
48 48
 
49 49
     /**
Please login to merge, or discard this patch.
src/Fixture/Factory/ProductBlockExampleFactory.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -36,22 +36,22 @@
 block discarded – undo
36 36
         $this->faker = \Faker\Factory::create();
37 37
         $this->optionsResolver =
38 38
             (new OptionsResolver())
39
-                ->setDefault('name', function (Options $options) {
39
+                ->setDefault('name', function(Options $options) {
40 40
                     return StringInflector::nameToCode($options['title']);
41 41
                 })
42 42
                 ->setAllowedTypes('name', 'string')
43 43
 
44
-                ->setDefault('title', function (Options $options) {
44
+                ->setDefault('title', function(Options $options) {
45 45
                     return $this->faker->words(3, true);
46 46
                 })
47 47
                 ->setAllowedTypes('title', 'string')
48 48
 
49
-                ->setDefault('body', function (Options $options) {
49
+                ->setDefault('body', function(Options $options) {
50 50
                     return $this->faker->sentence();
51 51
                 })
52 52
                 ->setAllowedTypes('body', 'string')
53 53
 
54
-                ->setDefault('link', function (Options $options) {
54
+                ->setDefault('link', function(Options $options) {
55 55
                     return $this->faker->url;
56 56
                 })
57 57
                 ->setAllowedTypes('link', 'string')
Please login to merge, or discard this patch.
src/Fixture/Factory/TaxonBlockExampleFactory.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -36,22 +36,22 @@
 block discarded – undo
36 36
         $this->faker = \Faker\Factory::create();
37 37
         $this->optionsResolver =
38 38
             (new OptionsResolver())
39
-                ->setDefault('name', function (Options $options) {
39
+                ->setDefault('name', function(Options $options) {
40 40
                     return StringInflector::nameToCode($options['title']);
41 41
                 })
42 42
                 ->setAllowedTypes('name', 'string')
43 43
 
44
-                ->setDefault('title', function (Options $options) {
44
+                ->setDefault('title', function(Options $options) {
45 45
                     return $this->faker->words(3, true);
46 46
                 })
47 47
                 ->setAllowedTypes('title', 'string')
48 48
 
49
-                ->setDefault('body', function (Options $options) {
49
+                ->setDefault('body', function(Options $options) {
50 50
                     return $this->faker->sentence();
51 51
                 })
52 52
                 ->setAllowedTypes('body', 'string')
53 53
 
54
-                ->setDefault('link', function (Options $options) {
54
+                ->setDefault('link', function(Options $options) {
55 55
                     return $this->faker->url;
56 56
                 })
57 57
                 ->setAllowedTypes('link', 'string')
Please login to merge, or discard this patch.
tests/Behat/Page/Admin/TaxonBlock/CreatePage.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@
 block discarded – undo
43 43
      */
44 44
     public function attachImage($relativePath)
45 45
     {
46
-        $this->getSession()->getPage()->attachFileToField('Image', (string) $this->getParameter('files_path') . $relativePath);
46
+        $this->getSession()->getPage()->attachFileToField('Image', (string) $this->getParameter('files_path').$relativePath);
47 47
     }
48 48
 
49 49
     /**
Please login to merge, or discard this patch.