Completed
Push — core-test-reorganisation ( 880d88...b9cfa9 )
by Kamil
52:04 queued 22:46
created
src/Sylius/Component/Review/Model/ReviewerInterface.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -39,6 +39,7 @@  discard block
 block discarded – undo
39 39
      * Sets all option values.
40 40
      *
41 41
      * @param Collection $optionValues
42
+     * @return void
42 43
      */
43 44
     public function setValues(Collection $optionValues);
44 45
 
@@ -46,6 +47,7 @@  discard block
 block discarded – undo
46 47
      * Adds option value.
47 48
      *
48 49
      * @param OptionValueInterface $optionValue
50
+     * @return void
49 51
      */
50 52
     public function addValue(OptionValueInterface $optionValue);
51 53
 
@@ -53,6 +55,7 @@  discard block
 block discarded – undo
53 55
      * Removes option value.
54 56
      *
55 57
      * @param OptionValueInterface $optionValue
58
+     * @return void
56 59
      */
57 60
     public function removeValue(OptionValueInterface $optionValue);
58 61
 
Please login to merge, or discard this patch.
src/Sylius/Component/Review/Model/ReviewInterface.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -32,16 +32,19 @@  discard block
 block discarded – undo
32 32
 
33 33
     /**
34 34
      * @param Collection $variants
35
+     * @return void
35 36
      */
36 37
     public function setVariants(Collection $variants);
37 38
 
38 39
     /**
39 40
      * @param VariantInterface $variant
41
+     * @return void
40 42
      */
41 43
     public function addVariant(VariantInterface $variant);
42 44
 
43 45
     /**
44 46
      * @param VariantInterface $variant
47
+     * @return void
45 48
      */
46 49
     public function removeVariant(VariantInterface $variant);
47 50
 
@@ -64,16 +67,19 @@  discard block
 block discarded – undo
64 67
 
65 68
     /**
66 69
      * @param Collection $options
70
+     * @return void
67 71
      */
68 72
     public function setOptions(Collection $options);
69 73
 
70 74
     /**
71 75
      * @param OptionInterface $option
76
+     * @return void
72 77
      */
73 78
     public function addOption(OptionInterface $option);
74 79
 
75 80
     /**
76 81
      * @param OptionInterface $option
82
+     * @return void
77 83
      */
78 84
     public function removeOption(OptionInterface $option);
79 85
 
Please login to merge, or discard this patch.
src/Sylius/Component/Shipping/Model/ShipmentInterface.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/Component/Shipping/Model/ShippingCategoryInterface.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -27,6 +27,7 @@  discard block
 block discarded – undo
27 27
 
28 28
     /**
29 29
      * @param OptionInterface $option
30
+     * @return void
30 31
      */
31 32
     public function setOption(OptionInterface $option = null);
32 33
 
@@ -41,6 +42,7 @@  discard block
 block discarded – undo
41 42
      * Set internal value.
42 43
      *
43 44
      * @param string $value
45
+     * @return void
44 46
      */
45 47
     public function setValue($value);
46 48
 
Please login to merge, or discard this patch.
src/Sylius/Component/Shipping/Model/ShippingMethodTranslationInterface.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -27,6 +27,7 @@  discard block
 block discarded – undo
27 27
 
28 28
     /**
29 29
      * @param OptionInterface $option
30
+     * @return void
30 31
      */
31 32
     public function setOption(OptionInterface $option = null);
32 33
 
@@ -41,6 +42,7 @@  discard block
 block discarded – undo
41 42
      * Set internal value.
42 43
      *
43 44
      * @param string $value
45
+     * @return void
44 46
      */
45 47
     public function setValue($value);
46 48
 
Please login to merge, or discard this patch.
src/Sylius/Component/Taxation/Model/TaxRateInterface.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/Component/User/Model/CredentialsHolderInterface.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -39,6 +39,7 @@  discard block
 block discarded – undo
39 39
      * Sets all option values.
40 40
      *
41 41
      * @param Collection $optionValues
42
+     * @return void
42 43
      */
43 44
     public function setValues(Collection $optionValues);
44 45
 
@@ -46,6 +47,7 @@  discard block
 block discarded – undo
46 47
      * Adds option value.
47 48
      *
48 49
      * @param OptionValueInterface $optionValue
50
+     * @return void
49 51
      */
50 52
     public function addValue(OptionValueInterface $optionValue);
51 53
 
@@ -53,6 +55,7 @@  discard block
 block discarded – undo
53 55
      * Removes option value.
54 56
      *
55 57
      * @param OptionValueInterface $optionValue
58
+     * @return void
56 59
      */
57 60
     public function removeValue(OptionValueInterface $optionValue);
58 61
 
Please login to merge, or discard this patch.
src/Sylius/Component/User/Model/UserAwareInterface.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -27,6 +27,7 @@
 block discarded – undo
27 27
 
28 28
     /**
29 29
      * @param string $value
30
+     * @return void
30 31
      */
31 32
     public function setValue($value);
32 33
 }
Please login to merge, or discard this patch.
tests/Controller/TaxCategoryApiTest.php 2 patches
Upper-Lower-Casing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
34 34
             },
35 35
             "author": "Christie Golden"
36 36
         }
37
-EOT;
37
+eot;
38 38
 
39 39
         $this->client->request('POST', '/books/', [], [], ['CONTENT_TYPE' => 'application/json'], $data);
40 40
         $response = $this->client->getResponse();
@@ -61,7 +61,7 @@  discard block
 block discarded – undo
61 61
             },
62 62
             "author": "Christie Golden"
63 63
         }
64
-EOT;
64
+eot;
65 65
 
66 66
         $this->client->request('PUT', '/books/'. $objects["book1"]->getId(), [], [], ['CONTENT_TYPE' => 'application/json'], $data);
67 67
         $response = $this->client->getResponse();
@@ -80,7 +80,7 @@  discard block
 block discarded – undo
80 80
         {
81 81
             "author": "Christie Golden"
82 82
         }
83
-EOT;
83
+eot;
84 84
 
85 85
         $this->client->request('PATCH', '/books/'. $objects["book1"]->getId(), [], [], ['CONTENT_TYPE' => 'application/json'], $data);
86 86
         $response = $this->client->getResponse();
Please login to merge, or discard this patch.
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -182,7 +182,7 @@  discard block
 block discarded – undo
182 182
         $this->loadFixturesFromFile('authentication/api_administrator.yml');
183 183
         $taxCategories = $this->loadFixturesFromFile('resources/tax_categories.yml');
184 184
 
185
-        $this->client->request('GET', '/api/v1/tax-categories/'.$taxCategories['tax_category_1']->getId(), [], [], [
185
+        $this->client->request('GET', '/api/v1/tax-categories/' . $taxCategories['tax_category_1']->getId(), [], [], [
186 186
             'HTTP_Authorization' => 'Bearer SampleTokenNjZkNjY2MDEwMTAzMDkxMGE0OTlhYzU3NzYyMTE0ZGQ3ODcyMDAwM2EwMDZjNDI5NDlhMDdlMQ',
187 187
             'ACCEPT' => 'application/json',
188 188
         ]);
@@ -226,7 +226,7 @@  discard block
 block discarded – undo
226 226
         $this->loadFixturesFromFile('authentication/api_administrator.yml');
227 227
         $taxCategories = $this->loadFixturesFromFile('resources/tax_categories.yml');
228 228
 
229
-        $this->client->request('PUT', '/api/v1/tax-categories/'.$taxCategories['tax_category_1']->getId(), [], [], [
229
+        $this->client->request('PUT', '/api/v1/tax-categories/' . $taxCategories['tax_category_1']->getId(), [], [], [
230 230
             'HTTP_Authorization' => 'Bearer SampleTokenNjZkNjY2MDEwMTAzMDkxMGE0OTlhYzU3NzYyMTE0ZGQ3ODcyMDAwM2EwMDZjNDI5NDlhMDdlMQ',
231 231
             'CONTENT_TYPE' => 'application/json',
232 232
         ]);
@@ -251,7 +251,7 @@  discard block
 block discarded – undo
251 251
         }
252 252
 EOT;
253 253
 
254
-        $this->client->request('PUT', '/api/v1/tax-categories/'.$taxCategories['tax_category_1']->getId(), [], [], [
254
+        $this->client->request('PUT', '/api/v1/tax-categories/' . $taxCategories['tax_category_1']->getId(), [], [], [
255 255
             'HTTP_Authorization' => 'Bearer SampleTokenNjZkNjY2MDEwMTAzMDkxMGE0OTlhYzU3NzYyMTE0ZGQ3ODcyMDAwM2EwMDZjNDI5NDlhMDdlMQ',
256 256
             'CONTENT_TYPE' => 'application/json',
257 257
         ], $data);
@@ -259,7 +259,7 @@  discard block
 block discarded – undo
259 259
         $response = $this->client->getResponse();
260 260
         $this->assertResponseCode($response, Response::HTTP_NO_CONTENT);
261 261
 
262
-        $this->client->request('GET', '/api/v1/tax-categories/'.$taxCategories['tax_category_1']->getId(), [], [], [
262
+        $this->client->request('GET', '/api/v1/tax-categories/' . $taxCategories['tax_category_1']->getId(), [], [], [
263 263
             'HTTP_Authorization' => 'Bearer SampleTokenNjZkNjY2MDEwMTAzMDkxMGE0OTlhYzU3NzYyMTE0ZGQ3ODcyMDAwM2EwMDZjNDI5NDlhMDdlMQ',
264 264
             'ACCEPT' => 'application/json',
265 265
         ]);
@@ -299,7 +299,7 @@  discard block
 block discarded – undo
299 299
         }
300 300
 EOT;
301 301
 
302
-        $this->client->request('PATCH', '/api/v1/tax-categories/'.$taxCategories['tax_category_1']->getId(), [], [], [
302
+        $this->client->request('PATCH', '/api/v1/tax-categories/' . $taxCategories['tax_category_1']->getId(), [], [], [
303 303
             'HTTP_Authorization' => 'Bearer SampleTokenNjZkNjY2MDEwMTAzMDkxMGE0OTlhYzU3NzYyMTE0ZGQ3ODcyMDAwM2EwMDZjNDI5NDlhMDdlMQ',
304 304
             'CONTENT_TYPE' => 'application/json',
305 305
         ], $data);
@@ -307,7 +307,7 @@  discard block
 block discarded – undo
307 307
         $response = $this->client->getResponse();
308 308
         $this->assertResponseCode($response, Response::HTTP_NO_CONTENT);
309 309
 
310
-        $this->client->request('GET', '/api/v1/tax-categories/'.$taxCategories['tax_category_1']->getId(), [], [], [
310
+        $this->client->request('GET', '/api/v1/tax-categories/' . $taxCategories['tax_category_1']->getId(), [], [], [
311 311
             'HTTP_Authorization' => 'Bearer SampleTokenNjZkNjY2MDEwMTAzMDkxMGE0OTlhYzU3NzYyMTE0ZGQ3ODcyMDAwM2EwMDZjNDI5NDlhMDdlMQ',
312 312
             'ACCEPT' => 'application/json',
313 313
         ]);
@@ -340,7 +340,7 @@  discard block
 block discarded – undo
340 340
         $this->loadFixturesFromFile('authentication/api_administrator.yml');
341 341
         $taxCategories = $this->loadFixturesFromFile('resources/tax_categories.yml');
342 342
 
343
-        $this->client->request('DELETE', '/api/v1/tax-categories/'.$taxCategories['tax_category_1']->getId(), [], [], [
343
+        $this->client->request('DELETE', '/api/v1/tax-categories/' . $taxCategories['tax_category_1']->getId(), [], [], [
344 344
             'HTTP_Authorization' => 'Bearer SampleTokenNjZkNjY2MDEwMTAzMDkxMGE0OTlhYzU3NzYyMTE0ZGQ3ODcyMDAwM2EwMDZjNDI5NDlhMDdlMQ',
345 345
             'CONTENT_TYPE' => 'application/json',
346 346
         ], []);
@@ -348,7 +348,7 @@  discard block
 block discarded – undo
348 348
         $response = $this->client->getResponse();
349 349
         $this->assertResponseCode($response, Response::HTTP_NO_CONTENT);
350 350
 
351
-        $this->client->request('GET', '/api/v1/tax-categories/'.$taxCategories['tax_category_1']->getId(), [], [], [
351
+        $this->client->request('GET', '/api/v1/tax-categories/' . $taxCategories['tax_category_1']->getId(), [], [], [
352 352
             'HTTP_Authorization' => 'Bearer SampleTokenNjZkNjY2MDEwMTAzMDkxMGE0OTlhYzU3NzYyMTE0ZGQ3ODcyMDAwM2EwMDZjNDI5NDlhMDdlMQ',
353 353
             'ACCEPT' => 'application/json',
354 354
         ]);
Please login to merge, or discard this patch.