@@ -9,11 +9,11 @@ |
||
| 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 spec\Sylius\Component\Registry; |
| 15 | 15 | |
| 16 | -require_once __DIR__.'/Fixture/SampleServiceInterface.php'; |
|
| 16 | +require_once __DIR__ . '/Fixture/SampleServiceInterface.php'; |
|
| 17 | 17 | |
| 18 | 18 | use PhpSpec\ObjectBehavior; |
| 19 | 19 | use spec\Sylius\Component\Registry\Fixture\SampleServiceInterface; |
@@ -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\Component\Core\Distributor; |
| 15 | 15 | |
@@ -28,6 +28,7 @@ discard block |
||
| 28 | 28 | |
| 29 | 29 | /** |
| 30 | 30 | * @param string|null $provider |
| 31 | + * @return void |
|
| 31 | 32 | */ |
| 32 | 33 | public function setProvider(?string $provider): void; |
| 33 | 34 | |
@@ -38,6 +39,7 @@ discard block |
||
| 38 | 39 | |
| 39 | 40 | /** |
| 40 | 41 | * @param string|null $identifier |
| 42 | + * @return void |
|
| 41 | 43 | */ |
| 42 | 44 | public function setIdentifier(?string $identifier): void; |
| 43 | 45 | |
@@ -48,6 +50,7 @@ discard block |
||
| 48 | 50 | |
| 49 | 51 | /** |
| 50 | 52 | * @param string|null $accessToken |
| 53 | + * @return void |
|
| 51 | 54 | */ |
| 52 | 55 | public function setAccessToken(?string $accessToken): void; |
| 53 | 56 | |
@@ -58,6 +61,7 @@ discard block |
||
| 58 | 61 | |
| 59 | 62 | /** |
| 60 | 63 | * @param string|null $refreshToken |
| 64 | + * @return void |
|
| 61 | 65 | */ |
| 62 | 66 | public function setRefreshToken(?string $refreshToken): void; |
| 63 | 67 | } |
@@ -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\Component\User\Model; |
| 15 | 15 | |
@@ -29,7 +29,7 @@ discard block |
||
| 29 | 29 | /** |
| 30 | 30 | * @param string|null $provider |
| 31 | 31 | */ |
| 32 | - public function setProvider(?string $provider): void; |
|
| 32 | + public function setProvider(?string $provider) : void; |
|
| 33 | 33 | |
| 34 | 34 | /** |
| 35 | 35 | * @return string|null |
@@ -39,7 +39,7 @@ discard block |
||
| 39 | 39 | /** |
| 40 | 40 | * @param string|null $identifier |
| 41 | 41 | */ |
| 42 | - public function setIdentifier(?string $identifier): void; |
|
| 42 | + public function setIdentifier(?string $identifier) : void; |
|
| 43 | 43 | |
| 44 | 44 | /** |
| 45 | 45 | * @return string|null |
@@ -49,7 +49,7 @@ discard block |
||
| 49 | 49 | /** |
| 50 | 50 | * @param string|null $accessToken |
| 51 | 51 | */ |
| 52 | - public function setAccessToken(?string $accessToken): void; |
|
| 52 | + public function setAccessToken(?string $accessToken) : void; |
|
| 53 | 53 | |
| 54 | 54 | /** |
| 55 | 55 | * @return string|null |
@@ -59,5 +59,5 @@ discard block |
||
| 59 | 59 | /** |
| 60 | 60 | * @param string|null $refreshToken |
| 61 | 61 | */ |
| 62 | - public function setRefreshToken(?string $refreshToken): void; |
|
| 62 | + public function setRefreshToken(?string $refreshToken) : void; |
|
| 63 | 63 | } |
@@ -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 spec\Sylius\Component\Resource\Generator; |
| 15 | 15 | |
@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types=1); |
|
| 3 | +declare(strict_types = 1); |
|
| 4 | 4 | |
| 5 | 5 | namespace Sylius\Bundle\AdminBundle\Twig; |
| 6 | 6 | |
@@ -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\Checkout; |
| 15 | 15 | |
@@ -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\ThemeBundle\Tests\Functional; |
| 15 | 15 | |
@@ -25,7 +25,7 @@ discard block |
||
| 25 | 25 | { |
| 26 | 26 | parent::tearDown(); |
| 27 | 27 | |
| 28 | - file_put_contents(__DIR__.'/../Fixtures/themes/FirstTestTheme/TestBundle/public/theme_asset.txt', 'Theme asset'.PHP_EOL); |
|
| 28 | + file_put_contents(__DIR__ . '/../Fixtures/themes/FirstTestTheme/TestBundle/public/theme_asset.txt', 'Theme asset' . PHP_EOL); |
|
| 29 | 29 | } |
| 30 | 30 | |
| 31 | 31 | /** |
@@ -63,7 +63,7 @@ discard block |
||
| 63 | 63 | $client->getContainer()->get('sylius.theme.asset.assets_installer')->installAssets($webDirectory, $symlinkMask); |
| 64 | 64 | |
| 65 | 65 | sleep(1); |
| 66 | - file_put_contents(__DIR__.'/../Fixtures/themes/FirstTestTheme/TestBundle/public/theme_asset.txt', 'Theme asset modified'); |
|
| 66 | + file_put_contents(__DIR__ . '/../Fixtures/themes/FirstTestTheme/TestBundle/public/theme_asset.txt', 'Theme asset modified'); |
|
| 67 | 67 | clearstatcache(); |
| 68 | 68 | |
| 69 | 69 | $client->getContainer()->get('sylius.theme.asset.assets_installer')->installAssets($webDirectory, $symlinkMask); |
@@ -116,7 +116,7 @@ discard block |
||
| 116 | 116 | |
| 117 | 117 | [$expectedText, $assetFile] = explode(': ', $line); |
| 118 | 118 | |
| 119 | - $contents = file_get_contents($webDirectory.$assetFile); |
|
| 119 | + $contents = file_get_contents($webDirectory . $assetFile); |
|
| 120 | 120 | |
| 121 | 121 | $this->assertEquals($expectedText, trim($contents)); |
| 122 | 122 | } |
@@ -40,7 +40,7 @@ discard block |
||
| 40 | 40 | 'translation' => [ |
| 41 | 41 | 'classes' => [ |
| 42 | 42 | 'model' => BookTranslation::class, |
| 43 | - ], |
|
| 43 | + ], |
|
| 44 | 44 | ], |
| 45 | 45 | ], |
| 46 | 46 | ], |
@@ -77,10 +77,10 @@ discard block |
||
| 77 | 77 | $this->setParameter('kernel.bundles', []); |
| 78 | 78 | |
| 79 | 79 | $this->load([ |
| 80 | - 'translation' => [ |
|
| 81 | - 'locale_provider' => 'test.custom_locale_provider' |
|
| 82 | - ] |
|
| 83 | - ]); |
|
| 80 | + 'translation' => [ |
|
| 81 | + 'locale_provider' => 'test.custom_locale_provider' |
|
| 82 | + ] |
|
| 83 | + ]); |
|
| 84 | 84 | |
| 85 | 85 | $this->assertContainerBuilderHasAlias('sylius.translation_locale_provider', 'test.custom_locale_provider'); |
| 86 | 86 | } |
@@ -107,7 +107,7 @@ |
||
| 107 | 107 | } |
| 108 | 108 | |
| 109 | 109 | /** |
| 110 | - * @param ChannelInterface $channel |
|
| 110 | + * @param ChannelInterface $channel |
|
| 111 | 111 | * |
| 112 | 112 | * @return string |
| 113 | 113 | */ |