@@ -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 | |
@@ -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 | } |