Completed
Push — symfony3-directorystructure ( c2fd26 )
by Kamil
85:38 queued 68:27
created
src/Sylius/Behat/Page/Admin/Product/CreateSimpleProductPageInterface.php 1 patch
Doc Comments   +14 added lines patch added patch discarded remove patch
@@ -23,11 +23,13 @@  discard block
 block discarded – undo
23 23
 {
24 24
     /**
25 25
      * @param int $price
26
+     * @return void
26 27
      */
27 28
     public function specifyPrice($price);
28 29
 
29 30
     /**
30 31
      * @param string $name
32
+     * @return void
31 33
      */
32 34
     public function choosePricingCalculator($name);
33 35
 
@@ -35,53 +37,65 @@  discard block
 block discarded – undo
35 37
      * @param int $price
36 38
      * @param ChannelInterface $channel
37 39
      * @param CurrencyInterface $currency
40
+     * @return void
38 41
      */
39 42
     public function specifyPriceForChannelAndCurrency($price, ChannelInterface $channel, CurrencyInterface $currency);
40 43
 
41 44
     /**
42 45
      * @param string $code
46
+     * @return void
43 47
      */
44 48
     public function specifyCode($code);
45 49
 
46 50
     /**
47 51
      * @param string $name
48 52
      * @param string $localeCode
53
+     * @return void
49 54
      */
50 55
     public function nameItIn($name, $localeCode);
51 56
 
52 57
     /**
53 58
      * @param string $slug
59
+     * @return void
54 60
      */
55 61
     public function specifySlug($slug);
56 62
 
57 63
     /**
58 64
      * @param string $attribute
59 65
      * @param string $value
66
+     * @return void
60 67
      */
61 68
     public function addAttribute($attribute, $value);
62 69
 
63 70
     /**
64 71
      * @param string $attribute
72
+     * @return void
65 73
      */
66 74
     public function removeAttribute($attribute);
67 75
 
68 76
     /**
69 77
      * @param string $path
70 78
      * @param string $code
79
+     * @return void
71 80
      */
72 81
     public function attachImage($path, $code = null);
73 82
 
83
+    /**
84
+     * @return void
85
+     */
74 86
     public function enableSlugModification();
75 87
 
76 88
     /**
77 89
      * @param ProductAssociationTypeInterface $productAssociationType
78 90
      * @param string[] $productsNames
91
+     * @return void
79 92
      */
80 93
     public function associateProducts(ProductAssociationTypeInterface $productAssociationType, array $productsNames);
81 94
 
82 95
     /**
83 96
      * @param string $productName
84 97
      * @param ProductAssociationTypeInterface $productAssociationType
98
+     * @return void
85 99
      */
86 100
     public function removeAssociatedProduct($productName, ProductAssociationTypeInterface $productAssociationType);
87 101
 }
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/ProductVariant/GeneratePageInterface.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -18,22 +18,28 @@
 block discarded – undo
18 18
  */
19 19
 interface GeneratePageInterface extends SymfonyPageInterface
20 20
 {
21
+    /**
22
+     * @return void
23
+     */
21 24
     public function generate();
22 25
 
23 26
     /**
24 27
      * @param int $nth
25 28
      * @param int $price
29
+     * @return void
26 30
      */
27 31
     public function specifyPrice($nth, $price);
28 32
 
29 33
     /**
30 34
      * @param int $nth
31 35
      * @param string $code
36
+     * @return void
32 37
      */
33 38
     public function nameCode($nth, $code);
34 39
 
35 40
     /**
36 41
      * @param int $nth
42
+     * @return void
37 43
      */
38 44
     public function removeVariant($nth);
39 45
 
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/Channel/CreatePageInterface.php 1 patch
Doc Comments   +17 added lines patch added patch discarded remove patch
@@ -18,62 +18,79 @@
 block discarded – undo
18 18
  */
19 19
 interface CreatePageInterface extends BaseCreatePageInterface
20 20
 {
21
+    /**
22
+     * @return void
23
+     */
21 24
     public function enable();
22 25
 
26
+    /**
27
+     * @return void
28
+     */
23 29
     public function disable();
24 30
 
25 31
     /**
26 32
      * @param string $name
33
+     * @return void
27 34
      */
28 35
     public function nameIt($name);
29 36
 
30 37
     /**
31 38
      * @param string $code
39
+     * @return void
32 40
      */
33 41
     public function specifyCode($code);
34 42
 
35 43
     /**
36 44
      * @param string $description
45
+     * @return void
37 46
      */
38 47
     public function describeItAs($description);
39 48
 
40 49
     /**
41 50
      * @param string $hostname
51
+     * @return void
42 52
      */
43 53
     public function setHostname($hostname);
44 54
 
45 55
     /**
46 56
      * @param string $color
57
+     * @return void
47 58
      */
48 59
     public function defineColor($color);
49 60
 
50 61
     /**
51 62
      * @param string $language
63
+     * @return void
52 64
      */
53 65
     public function chooseLocale($language);
54 66
 
55 67
     /**
56 68
      * @param string $currencyCode
69
+     * @return void
57 70
      */
58 71
     public function chooseCurrency($currencyCode);
59 72
 
60 73
     /**
61 74
      * @param string $taxZone
75
+     * @return void
62 76
      */
63 77
     public function chooseDefaultTaxZone($taxZone);
64 78
 
65 79
     /**
66 80
      * @param string $locale
81
+     * @return void
67 82
      */
68 83
     public function chooseDefaultLocale($locale);
69 84
 
70 85
     /**
71 86
      * @param string $currency
87
+     * @return void
72 88
      */
73 89
     public function chooseDefaultCurrency($currency);
74 90
 
75 91
     /**
76 92
      * @param string $taxCalculationStrategy
93
+     * @return void
77 94
      */
78 95
     public function chooseTaxCalculationStrategy($taxCalculationStrategy);
79 96
 }
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/PaymentMethod/CreatePageInterface.php 1 patch
Doc Comments   +13 added lines patch added patch discarded remove patch
@@ -18,39 +18,52 @@
 block discarded – undo
18 18
  */
19 19
 interface CreatePageInterface extends BaseCreatePageInterface
20 20
 {
21
+    /**
22
+     * @return void
23
+     */
21 24
     public function enable();
25
+
26
+    /**
27
+     * @return void
28
+     */
22 29
     public function disable();
23 30
 
24 31
     /**
25 32
      * @param string $name
26 33
      * @param string $languageCode
34
+     * @return void
27 35
      */
28 36
     public function nameIt($name, $languageCode);
29 37
 
30 38
     /**
31 39
      * @param string $code
40
+     * @return void
32 41
      */
33 42
     public function specifyCode($code);
34 43
 
35 44
     /**
36 45
      * @param string $gateway
46
+     * @return void
37 47
      */
38 48
     public function chooseGateway($gateway);
39 49
 
40 50
     /**
41 51
      * @param string $channelName
52
+     * @return void
42 53
      */
43 54
     public function checkChannel($channelName);
44 55
 
45 56
     /**
46 57
      * @param string $description
47 58
      * @param string $languageCode
59
+     * @return void
48 60
      */
49 61
     public function describeIt($description, $languageCode);
50 62
 
51 63
     /**
52 64
      * @param string $instructions
53 65
      * @param string $languageCode
66
+     * @return void
54 67
      */
55 68
     public function setInstructions($instructions, $languageCode);
56 69
 
Please login to merge, or discard this patch.
src/Sylius/Behat/Context/Setup/PromotionContext.php 1 patch
Doc Comments   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -314,6 +314,7 @@  discard block
 block discarded – undo
314 314
 
315 315
     /**
316 316
      * @Given /^([^"]+) gives ("[^"]+%") discount on shipping to every order$/
317
+     * @param integer $discount
317 318
      */
318 319
     public function itGivesPercentageDiscountOnShippingToEveryOrder(PromotionInterface $promotion, $discount)
319 320
     {
@@ -634,7 +635,7 @@  discard block
 block discarded – undo
634 635
     }
635 636
 
636 637
     /**
637
-     * @param array $taxonCodes
638
+     * @param string[] $taxonCodes
638 639
      *
639 640
      * @return array
640 641
      */
@@ -644,7 +645,7 @@  discard block
 block discarded – undo
644 645
     }
645 646
 
646 647
     /**
647
-     * @param array $productCodes
648
+     * @param string[] $productCodes
648 649
      *
649 650
      * @return array
650 651
      */
Please login to merge, or discard this patch.
src/Sylius/Component/Core/Model/ProductVariantInterface.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -31,6 +31,7 @@  discard block
 block discarded – undo
31 31
 
32 32
     /**
33 33
      * @param string $name
34
+     * @return void
34 35
      */
35 36
     public function setName($name);
36 37
 
@@ -41,6 +42,7 @@  discard block
 block discarded – undo
41 42
 
42 43
     /**
43 44
      * @param VariableInterface|null $object
45
+     * @return void
44 46
      */
45 47
     public function setObject(VariableInterface $object = null);
46 48
 
@@ -51,16 +53,19 @@  discard block
 block discarded – undo
51 53
 
52 54
     /**
53 55
      * @param Collection $options
56
+     * @return void
54 57
      */
55 58
     public function setOptions(Collection $options);
56 59
 
57 60
     /**
58 61
      * @param OptionValueInterface $option
62
+     * @return void
59 63
      */
60 64
     public function addOption(OptionValueInterface $option);
61 65
 
62 66
     /**
63 67
      * @param OptionValueInterface $option
68
+     * @return void
64 69
      */
65 70
     public function removeOption(OptionValueInterface $option);
66 71
 
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/Taxon/CreatePage.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -199,6 +199,7 @@
 block discarded – undo
199 199
 
200 200
     /**
201 201
      * {@inheritdoc}
202
+     * @param string $name
202 203
      */
203 204
     protected function getElement($name, array $parameters = [])
204 205
     {
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/Taxon/CreatePageInterface.php 1 patch
Doc Comments   +11 added lines patch added patch discarded remove patch
@@ -38,17 +38,20 @@  discard block
 block discarded – undo
38 38
 
39 39
     /**
40 40
      * @param string $name
41
+     * @return void
41 42
      */
42 43
     public function deleteTaxonOnPageByName($name);
43 44
 
44 45
     /**
45 46
      * @param string $description
46 47
      * @param string $languageCode
48
+     * @return void
47 49
      */
48 50
     public function describeItAs($description, $languageCode);
49 51
 
50 52
     /**
51 53
      * @param TaxonInterface $taxon
54
+     * @return void
52 55
      */
53 56
     public function chooseParent(TaxonInterface $taxon);
54 57
 
@@ -62,33 +65,39 @@  discard block
 block discarded – undo
62 65
     /**
63 66
      * @param string $name
64 67
      * @param string $languageCode
68
+     * @return void
65 69
      */
66 70
     public function nameIt($name, $languageCode);
67 71
 
68 72
     /**
69 73
      * @param string $code
74
+     * @return void
70 75
      */
71 76
     public function specifyCode($code);
72 77
 
73 78
     /**
74 79
      * @param string $slug
75 80
      * @param string $languageCode
81
+     * @return void
76 82
      */
77 83
     public function specifySlug($slug, $languageCode);
78 84
 
79 85
     /**
80 86
      * @param string $path
81 87
      * @param string $code
88
+     * @return void
82 89
      */
83 90
     public function attachImage($path, $code = null);
84 91
 
85 92
     /**
86 93
      * @param TaxonInterface $taxon
94
+     * @return void
87 95
      */
88 96
     public function moveUp(TaxonInterface $taxon);
89 97
 
90 98
     /**
91 99
      * @param TaxonInterface $taxon
100
+     * @return void
92 101
      */
93 102
     public function moveDown(TaxonInterface $taxon);
94 103
 
@@ -112,11 +121,13 @@  discard block
 block discarded – undo
112 121
     /**
113 122
      * @param TaxonInterface $taxon
114 123
      * @param int $expectedPosition
124
+     * @return void
115 125
      */
116 126
     public function waitForTaxonRelocation(TaxonInterface $taxon, $expectedPosition);
117 127
 
118 128
     /**
119 129
      * @param string $locale
130
+     * @return void
120 131
      */
121 132
     public function activateLanguageTab($locale);
122 133
 }
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/Taxon/UpdatePageInterface.php 1 patch
Doc Comments   +12 added lines patch added patch discarded remove patch
@@ -23,11 +23,13 @@  discard block
 block discarded – undo
23 23
     /**
24 24
      * @param string $description
25 25
      * @param string $languageCode
26
+     * @return void
26 27
      */
27 28
     public function describeItAs($description, $languageCode);
28 29
 
29 30
     /**
30 31
      * @param TaxonInterface $taxon
32
+     * @return void
31 33
      */
32 34
     public function chooseParent(TaxonInterface $taxon);
33 35
 
@@ -39,12 +41,14 @@  discard block
 block discarded – undo
39 41
     /**
40 42
      * @param string $name
41 43
      * @param string $languageCode
44
+     * @return void
42 45
      */
43 46
     public function nameIt($name, $languageCode);
44 47
 
45 48
     /**
46 49
      * @param string $slug
47 50
      * @param string $languageCode
51
+     * @return void
48 52
      */
49 53
     public function specifySlug($slug, $languageCode);
50 54
 
@@ -56,6 +60,7 @@  discard block
 block discarded – undo
56 60
     /**
57 61
      * @param string $path
58 62
      * @param string $code
63
+     * @return void
59 64
      */
60 65
     public function attachImage($path, $code = null);
61 66
 
@@ -75,13 +80,18 @@  discard block
 block discarded – undo
75 80
 
76 81
     /**
77 82
      * @param string $code
83
+     * @return void
78 84
      */
79 85
     public function removeImageWithCode($code);
80 86
 
87
+    /**
88
+     * @return void
89
+     */
81 90
     public function removeFirstImage();
82 91
 
83 92
     /**
84 93
      * @param string $languageCode
94
+     * @return void
85 95
      */
86 96
     public function enableSlugModification($languageCode = 'en_US');
87 97
 
@@ -93,6 +103,7 @@  discard block
 block discarded – undo
93 103
     /**
94 104
      * @param string $code
95 105
      * @param string $path
106
+     * @return void
96 107
      */
97 108
     public function changeImageWithCode($code, $path);
98 109
 
@@ -126,6 +137,7 @@  discard block
 block discarded – undo
126 137
 
127 138
     /**
128 139
      * @param string $locale
140
+     * @return void
129 141
      */
130 142
     public function activateLanguageTab($locale);
131 143
 }
Please login to merge, or discard this patch.