@@ -27,7 +27,7 @@ |
||
27 | 27 | ->setDescription('Install Sylius database.') |
28 | 28 | ->setHelp(<<<EOT |
29 | 29 | The <info>%command.name%</info> command creates Sylius database. |
30 | -EOT |
|
30 | +eot |
|
31 | 31 | ) |
32 | 32 | ; |
33 | 33 | } |
@@ -9,7 +9,7 @@ |
||
9 | 9 | * file that was distributed with this source code. |
10 | 10 | */ |
11 | 11 | |
12 | -declare(strict_types=1); |
|
12 | +declare(strict_types = 1); |
|
13 | 13 | |
14 | 14 | namespace Sylius\Bundle\CoreBundle\Command; |
15 | 15 |
@@ -29,7 +29,7 @@ |
||
29 | 29 | ->setDescription('Install sample data into Sylius.') |
30 | 30 | ->setHelp(<<<EOT |
31 | 31 | The <info>%command.name%</info> command loads the sample data for Sylius. |
32 | -EOT |
|
32 | +eot |
|
33 | 33 | ) |
34 | 34 | ; |
35 | 35 | } |
@@ -9,7 +9,7 @@ |
||
9 | 9 | * file that was distributed with this source code. |
10 | 10 | */ |
11 | 11 | |
12 | -declare(strict_types=1); |
|
12 | +declare(strict_types = 1); |
|
13 | 13 | |
14 | 14 | namespace Sylius\Bundle\CoreBundle\Command; |
15 | 15 |
@@ -26,7 +26,7 @@ |
||
26 | 26 | ->setDescription('Installs all Sylius assets.') |
27 | 27 | ->setHelp(<<<EOT |
28 | 28 | The <info>%command.name%</info> command downloads and installs all Sylius media assets. |
29 | -EOT |
|
29 | +eot |
|
30 | 30 | ) |
31 | 31 | ; |
32 | 32 | } |
@@ -9,7 +9,7 @@ |
||
9 | 9 | * file that was distributed with this source code. |
10 | 10 | */ |
11 | 11 | |
12 | -declare(strict_types=1); |
|
12 | +declare(strict_types = 1); |
|
13 | 13 | |
14 | 14 | namespace Sylius\Bundle\CoreBundle\Command; |
15 | 15 |
@@ -46,7 +46,7 @@ |
||
46 | 46 | ->setDescription('Sylius configuration setup.') |
47 | 47 | ->setHelp(<<<EOT |
48 | 48 | The <info>%command.name%</info> command allows user to configure basic Sylius data. |
49 | -EOT |
|
49 | +eot |
|
50 | 50 | ) |
51 | 51 | ; |
52 | 52 | } |
@@ -9,7 +9,7 @@ |
||
9 | 9 | * file that was distributed with this source code. |
10 | 10 | */ |
11 | 11 | |
12 | -declare(strict_types=1); |
|
12 | +declare(strict_types = 1); |
|
13 | 13 | |
14 | 14 | namespace Sylius\Bundle\CoreBundle\Command; |
15 | 15 |
@@ -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 | } |
@@ -9,7 +9,7 @@ discard block |
||
9 | 9 | * file that was distributed with this source code. |
10 | 10 | */ |
11 | 11 | |
12 | -declare(strict_types=1); |
|
12 | +declare(strict_types = 1); |
|
13 | 13 | |
14 | 14 | namespace Sylius\Bundle\ResourceBundle\Command; |
15 | 15 | |
@@ -135,11 +135,11 @@ discard block |
||
135 | 135 | { |
136 | 136 | foreach ($parameters as $key => $value) { |
137 | 137 | if (is_array($value)) { |
138 | - $flattened = $this->flattenParameters($value, $flattened, $prefix.$key.'.'); |
|
138 | + $flattened = $this->flattenParameters($value, $flattened, $prefix . $key . '.'); |
|
139 | 139 | continue; |
140 | 140 | } |
141 | 141 | |
142 | - $flattened[$prefix.$key] = $value; |
|
142 | + $flattened[$prefix . $key] = $value; |
|
143 | 143 | } |
144 | 144 | |
145 | 145 | return $flattened; |
@@ -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 | } |
@@ -9,7 +9,7 @@ |
||
9 | 9 | * file that was distributed with this source code. |
10 | 10 | */ |
11 | 11 | |
12 | -declare(strict_types=1); |
|
12 | +declare(strict_types = 1); |
|
13 | 13 | |
14 | 14 | namespace Sylius\Behat\Page\Admin\ProductAssociationType; |
15 | 15 |
@@ -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 | } |
@@ -9,7 +9,7 @@ |
||
9 | 9 | * file that was distributed with this source code. |
10 | 10 | */ |
11 | 11 | |
12 | -declare(strict_types=1); |
|
12 | +declare(strict_types = 1); |
|
13 | 13 | |
14 | 14 | namespace Sylius\Behat\Page\Shop\Account; |
15 | 15 |
@@ -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 |
@@ -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 |