@@ -55,7 +55,7 @@ |
||
| 55 | 55 | To show the metadata for a resource, pass its alias: |
| 56 | 56 | |
| 57 | 57 | $ php %command.full_name% sylius.user |
| 58 | -EOT |
|
| 58 | +eot |
|
| 59 | 59 | ); |
| 60 | 60 | $this->addArgument('resource', InputArgument::OPTIONAL, 'Resource to debug'); |
| 61 | 61 | } |
@@ -76,7 +76,7 @@ |
||
| 76 | 76 | $objects = $this->loadFixturesFromFile('books.yml'); |
| 77 | 77 | |
| 78 | 78 | $data = |
| 79 | - <<<EOT |
|
| 79 | + <<<EOT |
|
| 80 | 80 | { |
| 81 | 81 | "author": "Christie Golden" |
| 82 | 82 | } |
@@ -34,7 +34,7 @@ discard block |
||
| 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 |
||
| 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 |
||
| 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(); |
@@ -85,7 +85,7 @@ |
||
| 85 | 85 | $objects = $this->loadFixturesFromFile('comic_books.yml'); |
| 86 | 86 | |
| 87 | 87 | $data = |
| 88 | - <<<EOT |
|
| 88 | + <<<EOT |
|
| 89 | 89 | { |
| 90 | 90 | "authorFirstName": "Joe", |
| 91 | 91 | "authorLastName": "Kelly" |
@@ -31,7 +31,7 @@ discard block |
||
| 31 | 31 | "authorFirstName": "Joe", |
| 32 | 32 | "authorLastName": "Kelly" |
| 33 | 33 | } |
| 34 | -EOT; |
|
| 34 | +eot; |
|
| 35 | 35 | |
| 36 | 36 | $this->client->request('POST', '/v1/comic-books/', [], [], ['CONTENT_TYPE' => 'application/json'], $data); |
| 37 | 37 | $response = $this->client->getResponse(); |
@@ -50,7 +50,7 @@ discard block |
||
| 50 | 50 | "authorFirstName": "Joe", |
| 51 | 51 | "authorLastName": "Kelly" |
| 52 | 52 | } |
| 53 | -EOT; |
|
| 53 | +eot; |
|
| 54 | 54 | |
| 55 | 55 | $this->client->request('POST', '/v1.2/comic-books/', [], [], ['CONTENT_TYPE' => 'application/json'], $data); |
| 56 | 56 | $response = $this->client->getResponse(); |
@@ -71,7 +71,7 @@ discard block |
||
| 71 | 71 | "authorFirstName": "Joe", |
| 72 | 72 | "authorLastName": "Kelly" |
| 73 | 73 | } |
| 74 | -EOT; |
|
| 74 | +eot; |
|
| 75 | 75 | |
| 76 | 76 | $this->client->request('PUT', '/v1/comic-books/' . $objects['comic-book1']->getId(), [], [], ['CONTENT_TYPE' => 'application/json'], $data); |
| 77 | 77 | $response = $this->client->getResponse(); |
@@ -91,7 +91,7 @@ discard block |
||
| 91 | 91 | "authorFirstName": "Joe", |
| 92 | 92 | "authorLastName": "Kelly" |
| 93 | 93 | } |
| 94 | -EOT; |
|
| 94 | +eot; |
|
| 95 | 95 | |
| 96 | 96 | $this->client->request('PATCH', '/v1/comic-books/' . $objects['comic-book1']->getId(), [], [], ['CONTENT_TYPE' => 'application/json'], $data); |
| 97 | 97 | $response = $this->client->getResponse(); |
@@ -21,12 +21,14 @@ |
||
| 21 | 21 | /** |
| 22 | 22 | * @param string $field |
| 23 | 23 | * @param string $type |
| 24 | + * @return void |
|
| 24 | 25 | */ |
| 25 | 26 | public function specifyFilterType($field, $type); |
| 26 | 27 | |
| 27 | 28 | /** |
| 28 | 29 | * @param string $field |
| 29 | 30 | * @param string $value |
| 31 | + * @return void |
|
| 30 | 32 | */ |
| 31 | 33 | public function specifyFilterValue($field, $value); |
| 32 | 34 | } |
@@ -25,15 +25,20 @@ |
||
| 25 | 25 | */ |
| 26 | 26 | public function hasValidationErrorWith($message); |
| 27 | 27 | |
| 28 | + /** |
|
| 29 | + * @return void |
|
| 30 | + */ |
|
| 28 | 31 | public function logIn(); |
| 29 | 32 | |
| 30 | 33 | /** |
| 31 | 34 | * @param string $password |
| 35 | + * @return void |
|
| 32 | 36 | */ |
| 33 | 37 | public function specifyPassword($password); |
| 34 | 38 | |
| 35 | 39 | /** |
| 36 | 40 | * @param string $username |
| 41 | + * @return void |
|
| 37 | 42 | */ |
| 38 | 43 | public function specifyUsername($username); |
| 39 | 44 | } |
@@ -130,6 +130,8 @@ |
||
| 130 | 130 | /** |
| 131 | 131 | * @Given I have proceeded order with :shippingMethodName shipping method and :paymentMethodName payment |
| 132 | 132 | * @When I proceed with :shippingMethodName shipping method and :paymentMethodName payment |
| 133 | + * @param string $shippingMethodName |
|
| 134 | + * @param string $paymentMethodName |
|
| 133 | 135 | */ |
| 134 | 136 | public function iProceedOrderWithShippingMethodAndPayment($shippingMethodName, $paymentMethodName) |
| 135 | 137 | { |
@@ -102,7 +102,7 @@ |
||
| 102 | 102 | { |
| 103 | 103 | "code": "es_ES" |
| 104 | 104 | } |
| 105 | -EOT; |
|
| 105 | +eot; |
|
| 106 | 106 | |
| 107 | 107 | $this->client->request('POST', '/api/v1/locales/', [], [], static::$authorizedHeaderWithContentType, $data); |
| 108 | 108 | |
@@ -20,23 +20,27 @@ |
||
| 20 | 20 | { |
| 21 | 21 | /** |
| 22 | 22 | * @param string $optionName |
| 23 | + * @return void |
|
| 23 | 24 | */ |
| 24 | 25 | public function selectOption($optionName); |
| 25 | 26 | |
| 26 | 27 | /** |
| 27 | 28 | * @param string $code |
| 29 | + * @return void |
|
| 28 | 30 | */ |
| 29 | 31 | public function specifyCode($code); |
| 30 | 32 | |
| 31 | 33 | /** |
| 32 | 34 | * @param string $name |
| 33 | 35 | * @param string $localeCode |
| 36 | + * @return void |
|
| 34 | 37 | */ |
| 35 | 38 | public function nameItIn($name, $localeCode); |
| 36 | 39 | |
| 37 | 40 | /** |
| 38 | 41 | * @param string $path |
| 39 | 42 | * @param string $type |
| 43 | + * @return void |
|
| 40 | 44 | */ |
| 41 | 45 | public function attachImage($path, $type = null); |
| 42 | 46 | } |
@@ -27,6 +27,7 @@ discard block |
||
| 27 | 27 | /** |
| 28 | 28 | * @param string $name |
| 29 | 29 | * @param string $localeCode |
| 30 | + * @return void |
|
| 30 | 31 | */ |
| 31 | 32 | public function nameItIn($name, $localeCode); |
| 32 | 33 | |
@@ -49,11 +50,13 @@ discard block |
||
| 49 | 50 | |
| 50 | 51 | /** |
| 51 | 52 | * @param TaxonInterface $taxon |
| 53 | + * @return void |
|
| 52 | 54 | */ |
| 53 | 55 | public function selectMainTaxon(TaxonInterface $taxon); |
| 54 | 56 | |
| 55 | 57 | /** |
| 56 | 58 | * @param string $channelName |
| 59 | + * @return void |
|
| 57 | 60 | */ |
| 58 | 61 | public function checkChannel($channelName); |
| 59 | 62 | |
@@ -67,24 +70,31 @@ discard block |
||
| 67 | 70 | /** |
| 68 | 71 | * @param string $path |
| 69 | 72 | * @param string $type |
| 73 | + * @return void |
|
| 70 | 74 | */ |
| 71 | 75 | public function attachImage($path, $type = null); |
| 72 | 76 | |
| 73 | 77 | /** |
| 74 | 78 | * @param string $type |
| 75 | 79 | * @param string $path |
| 80 | + * @return void |
|
| 76 | 81 | */ |
| 77 | 82 | public function changeImageWithType($type, $path); |
| 78 | 83 | |
| 79 | 84 | /** |
| 80 | 85 | * @param string $type |
| 86 | + * @return void |
|
| 81 | 87 | */ |
| 82 | 88 | public function removeImageWithType($type); |
| 83 | 89 | |
| 90 | + /** |
|
| 91 | + * @return void |
|
| 92 | + */ |
|
| 84 | 93 | public function removeFirstImage(); |
| 85 | 94 | |
| 86 | 95 | /** |
| 87 | 96 | * @param string $type |
| 97 | + * @return void |
|
| 88 | 98 | */ |
| 89 | 99 | public function modifyFirstImageType($type); |
| 90 | 100 | |