@@ -32,6 +32,7 @@ discard block |
||
32 | 32 | |
33 | 33 | /** |
34 | 34 | * @param string $name |
35 | + * @return void |
|
35 | 36 | */ |
36 | 37 | public function setName($name); |
37 | 38 | |
@@ -42,6 +43,7 @@ discard block |
||
42 | 43 | |
43 | 44 | /** |
44 | 45 | * @param string $description |
46 | + * @return void |
|
45 | 47 | */ |
46 | 48 | public function setDescription($description); |
47 | 49 | } |
@@ -39,6 +39,7 @@ discard block |
||
39 | 39 | |
40 | 40 | /** |
41 | 41 | * @param string $email |
42 | + * @return void |
|
42 | 43 | */ |
43 | 44 | public function setEmail($email); |
44 | 45 | |
@@ -51,11 +52,13 @@ discard block |
||
51 | 52 | |
52 | 53 | /** |
53 | 54 | * @param string $emailCanonical |
55 | + * @return void |
|
54 | 56 | */ |
55 | 57 | public function setEmailCanonical($emailCanonical); |
56 | 58 | |
57 | 59 | /** |
58 | 60 | * @param string $username |
61 | + * @return void |
|
59 | 62 | */ |
60 | 63 | public function setUsername($username); |
61 | 64 | |
@@ -68,11 +71,13 @@ discard block |
||
68 | 71 | |
69 | 72 | /** |
70 | 73 | * @param string $usernameCanonical |
74 | + * @return void |
|
71 | 75 | */ |
72 | 76 | public function setUsernameCanonical($usernameCanonical); |
73 | 77 | |
74 | 78 | /** |
75 | 79 | * @param bool $locked |
80 | + * @return void |
|
76 | 81 | */ |
77 | 82 | public function setLocked($locked); |
78 | 83 | |
@@ -83,6 +88,7 @@ discard block |
||
83 | 88 | |
84 | 89 | /** |
85 | 90 | * @param string $verificationToken |
91 | + * @return void |
|
86 | 92 | */ |
87 | 93 | public function setEmailVerificationToken($verificationToken); |
88 | 94 | |
@@ -93,6 +99,7 @@ discard block |
||
93 | 99 | |
94 | 100 | /** |
95 | 101 | * @param string $passwordResetToken |
102 | + * @return void |
|
96 | 103 | */ |
97 | 104 | public function setPasswordResetToken($passwordResetToken); |
98 | 105 | |
@@ -103,6 +110,7 @@ discard block |
||
103 | 110 | |
104 | 111 | /** |
105 | 112 | * @param \DateTime|null $date |
113 | + * @return void |
|
106 | 114 | */ |
107 | 115 | public function setPasswordRequestedAt(\DateTime $date = null); |
108 | 116 | |
@@ -125,11 +133,13 @@ discard block |
||
125 | 133 | |
126 | 134 | /** |
127 | 135 | * @param \DateTime|null $verifiedAt |
136 | + * @return void |
|
128 | 137 | */ |
129 | 138 | public function setVerifiedAt(\DateTime $verifiedAt = null); |
130 | 139 | |
131 | 140 | /** |
132 | 141 | * @param \DateTime|null $date |
142 | + * @return void |
|
133 | 143 | */ |
134 | 144 | public function setCredentialsExpireAt(\DateTime $date = null); |
135 | 145 | |
@@ -140,6 +150,7 @@ discard block |
||
140 | 150 | |
141 | 151 | /** |
142 | 152 | * @param \DateTime|null $time |
153 | + * @return void |
|
143 | 154 | */ |
144 | 155 | public function setLastLogin(\DateTime $time = null); |
145 | 156 | |
@@ -159,11 +170,13 @@ discard block |
||
159 | 170 | |
160 | 171 | /** |
161 | 172 | * @param string $role |
173 | + * @return void |
|
162 | 174 | */ |
163 | 175 | public function addRole($role); |
164 | 176 | |
165 | 177 | /** |
166 | 178 | * @param string $role |
179 | + * @return void |
|
167 | 180 | */ |
168 | 181 | public function removeRole($role); |
169 | 182 | |
@@ -181,6 +194,7 @@ discard block |
||
181 | 194 | |
182 | 195 | /** |
183 | 196 | * @param UserOAuthInterface $oauth |
197 | + * @return void |
|
184 | 198 | */ |
185 | 199 | public function addOAuthAccount(UserOAuthInterface $oauth); |
186 | 200 | } |
@@ -65,7 +65,7 @@ discard block |
||
65 | 65 | "email": "[email protected]" |
66 | 66 | } |
67 | 67 | } |
68 | -EOT; |
|
68 | +eot; |
|
69 | 69 | |
70 | 70 | $url = sprintf('/api/v1/checkouts/addressing/%d', $orderId); |
71 | 71 | $this->client->request('PUT', $url, [], [], static::$authorizedHeaderWithContentType, $data); |
@@ -86,7 +86,7 @@ discard block |
||
86 | 86 | } |
87 | 87 | ] |
88 | 88 | } |
89 | -EOT; |
|
89 | +eot; |
|
90 | 90 | |
91 | 91 | $url = sprintf('/api/v1/checkouts/select-shipping/%d', $orderId); |
92 | 92 | $this->client->request('PUT', $url, [], [], static::$authorizedHeaderWithContentType, $data); |
@@ -107,7 +107,7 @@ discard block |
||
107 | 107 | } |
108 | 108 | ] |
109 | 109 | } |
110 | -EOT; |
|
110 | +eot; |
|
111 | 111 | |
112 | 112 | $url = sprintf('/api/v1/checkouts/select-payment/%d', $orderId); |
113 | 113 | $this->client->request('PUT', $url, [], [], static::$authorizedHeaderWithContentType, $data); |
@@ -86,7 +86,7 @@ discard block |
||
86 | 86 | } |
87 | 87 | ] |
88 | 88 | } |
89 | -EOT; |
|
89 | +eot; |
|
90 | 90 | |
91 | 91 | $url = sprintf('/api/v1/checkouts/select-shipping/%d', $orderId); |
92 | 92 | $this->client->request('PUT', $url, [], [], static::$authorizedHeaderWithContentType, $data); |
@@ -116,7 +116,7 @@ discard block |
||
116 | 116 | } |
117 | 117 | ] |
118 | 118 | } |
119 | -EOT; |
|
119 | +eot; |
|
120 | 120 | |
121 | 121 | $url = sprintf('/api/v1/checkouts/select-shipping/%d', $orderId); |
122 | 122 | $this->client->request('PUT', $url, [], [], static::$authorizedHeaderWithContentType, $data); |
@@ -151,7 +151,7 @@ discard block |
||
151 | 151 | } |
152 | 152 | ] |
153 | 153 | } |
154 | -EOT; |
|
154 | +eot; |
|
155 | 155 | |
156 | 156 | $url = sprintf('/api/v1/checkouts/select-shipping/%d', $orderId); |
157 | 157 | $this->client->request('PUT', $url, [], [], static::$authorizedHeaderWithContentType, $data); |
@@ -182,7 +182,7 @@ discard block |
||
182 | 182 | } |
183 | 183 | ] |
184 | 184 | } |
185 | -EOT; |
|
185 | +eot; |
|
186 | 186 | |
187 | 187 | $url = sprintf('/api/v1/checkouts/select-shipping/%d', $orderId); |
188 | 188 | $this->client->request('PUT', $url, [], [], static::$authorizedHeaderWithContentType, $data); |
@@ -81,7 +81,7 @@ discard block |
||
81 | 81 | } |
82 | 82 | ] |
83 | 83 | } |
84 | -EOT; |
|
84 | +eot; |
|
85 | 85 | |
86 | 86 | $url = sprintf('/api/v1/checkouts/select-payment/%d', $orderId); |
87 | 87 | $this->client->request('PUT', $url, [], [], static::$authorizedHeaderWithContentType, $data); |
@@ -112,7 +112,7 @@ discard block |
||
112 | 112 | } |
113 | 113 | ] |
114 | 114 | } |
115 | -EOT; |
|
115 | +eot; |
|
116 | 116 | |
117 | 117 | $url = sprintf('/api/v1/checkouts/select-payment/%d', $orderId); |
118 | 118 | $this->client->request('PUT', $url, [], [], static::$authorizedHeaderWithContentType, $data); |
@@ -149,7 +149,7 @@ discard block |
||
149 | 149 | } |
150 | 150 | ] |
151 | 151 | } |
152 | -EOT; |
|
152 | +eot; |
|
153 | 153 | |
154 | 154 | $url = sprintf('/api/v1/checkouts/select-payment/%d', $orderId); |
155 | 155 | $this->client->request('PUT', $url, [], [], static::$authorizedHeaderWithContentType, $data); |
@@ -73,7 +73,7 @@ discard block |
||
73 | 73 | "email": "[email protected]" |
74 | 74 | } |
75 | 75 | } |
76 | -EOT; |
|
76 | +eot; |
|
77 | 77 | |
78 | 78 | $url = sprintf('/api/v1/checkouts/addressing/%d', $checkoutData['order1']->getId()); |
79 | 79 | $this->client->request('PUT', $url, [], [], static::$authorizedHeaderWithContentType, $data); |
@@ -107,7 +107,7 @@ discard block |
||
107 | 107 | "email": "[email protected]" |
108 | 108 | } |
109 | 109 | } |
110 | -EOT; |
|
110 | +eot; |
|
111 | 111 | |
112 | 112 | $url = sprintf('/api/v1/checkouts/addressing/%d', $checkoutData['order1']->getId()); |
113 | 113 | $this->client->request('PUT', $url, [], [], static::$authorizedHeaderWithContentType, $data); |
@@ -142,7 +142,7 @@ discard block |
||
142 | 142 | "email": "[email protected]" |
143 | 143 | } |
144 | 144 | } |
145 | -EOT; |
|
145 | +eot; |
|
146 | 146 | |
147 | 147 | $url = sprintf('/api/v1/checkouts/addressing/%d', $checkoutData['order1']->getId()); |
148 | 148 | $this->client->request('PUT', $url, [], [], static::$authorizedHeaderWithContentType, $data); |
@@ -184,7 +184,7 @@ discard block |
||
184 | 184 | "email": "[email protected]" |
185 | 185 | } |
186 | 186 | } |
187 | -EOT; |
|
187 | +eot; |
|
188 | 188 | |
189 | 189 | $url = sprintf('/api/v1/checkouts/addressing/%d', $checkoutData['order1']->getId()); |
190 | 190 | $this->client->request('PUT', $url, [], [], static::$authorizedHeaderWithContentType, $data); |
@@ -223,7 +223,7 @@ discard block |
||
223 | 223 | "email": "[email protected]" |
224 | 224 | } |
225 | 225 | } |
226 | -EOT; |
|
226 | +eot; |
|
227 | 227 | |
228 | 228 | $orderId = $checkoutData['order1']->getId(); |
229 | 229 | |
@@ -246,7 +246,7 @@ discard block |
||
246 | 246 | "email": "[email protected]" |
247 | 247 | } |
248 | 248 | } |
249 | -EOT; |
|
249 | +eot; |
|
250 | 250 | |
251 | 251 | $url = sprintf('/api/v1/checkouts/addressing/%d', $checkoutData['order1']->getId()); |
252 | 252 | $this->client->request('PUT', $url, [], [], static::$authorizedHeaderWithContentType, $newData); |
@@ -280,7 +280,7 @@ discard block |
||
280 | 280 | "email": "[email protected]" |
281 | 281 | } |
282 | 282 | } |
283 | -EOT; |
|
283 | +eot; |
|
284 | 284 | |
285 | 285 | $orderId = $checkoutData['order1']->getId(); |
286 | 286 | |
@@ -305,7 +305,7 @@ discard block |
||
305 | 305 | "email": "[email protected]" |
306 | 306 | } |
307 | 307 | } |
308 | -EOT; |
|
308 | +eot; |
|
309 | 309 | |
310 | 310 | $url = sprintf('/api/v1/checkouts/addressing/%d', $checkoutData['order1']->getId()); |
311 | 311 | $this->client->request('PUT', $url, [], [], static::$authorizedHeaderWithContentType, $newAddressData); |
@@ -339,7 +339,7 @@ discard block |
||
339 | 339 | "email": "[email protected]" |
340 | 340 | } |
341 | 341 | } |
342 | -EOT; |
|
342 | +eot; |
|
343 | 343 | |
344 | 344 | $orderId = $checkoutData['order1']->getId(); |
345 | 345 | |
@@ -365,7 +365,7 @@ discard block |
||
365 | 365 | "email": "[email protected]" |
366 | 366 | } |
367 | 367 | } |
368 | -EOT; |
|
368 | +eot; |
|
369 | 369 | |
370 | 370 | $url = sprintf('/api/v1/checkouts/addressing/%d', $checkoutData['order1']->getId()); |
371 | 371 | $this->client->request('PUT', $url, [], [], static::$authorizedHeaderWithContentType, $newAddressData); |
@@ -27,7 +27,7 @@ |
||
27 | 27 | public function load(array $config, ContainerBuilder $container) |
28 | 28 | { |
29 | 29 | $config = $this->processConfiguration($this->getConfiguration([], $container), $config); |
30 | - $loader = new XmlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config')); |
|
30 | + $loader = new XmlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config')); |
|
31 | 31 | |
32 | 32 | $loader->load('services.xml'); |
33 | 33 | $loader->load(sprintf('services/integrations/%s.xml', $config['driver'])); |
@@ -11,9 +11,9 @@ |
||
11 | 11 | |
12 | 12 | use Doctrine\Common\Annotations\AnnotationRegistry; |
13 | 13 | |
14 | -$loader = require __DIR__.'/../../vendor/autoload.php'; |
|
14 | +$loader = require __DIR__ . '/../../vendor/autoload.php'; |
|
15 | 15 | |
16 | -require __DIR__.'/AppKernel.php'; |
|
16 | +require __DIR__ . '/AppKernel.php'; |
|
17 | 17 | |
18 | 18 | AnnotationRegistry::registerLoader([$loader, 'loadClass']); |
19 | 19 |
@@ -27,7 +27,7 @@ |
||
27 | 27 | public function load(array $config, ContainerBuilder $container) |
28 | 28 | { |
29 | 29 | $config = $this->processConfiguration($this->getConfiguration([], $container), $config); |
30 | - $loader = new XmlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config')); |
|
30 | + $loader = new XmlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config')); |
|
31 | 31 | |
32 | 32 | $loader->load(sprintf('services/integrations/%s.xml', $config['driver'])); |
33 | 33 |