@@ -15,7 +15,6 @@ |
||
15 | 15 | use Sylius\Bundle\ThemeBundle\Configuration\ConfigurationProviderInterface; |
16 | 16 | use Sylius\Bundle\ThemeBundle\Configuration\Filesystem\ConfigurationLoaderInterface; |
17 | 17 | use Sylius\Bundle\ThemeBundle\Locator\FileLocatorInterface; |
18 | -use Symfony\Component\Config\Resource\ResourceInterface; |
|
19 | 18 | |
20 | 19 | /** |
21 | 20 | * @mixin FilesystemConfigurationProvider |
@@ -12,10 +12,9 @@ |
||
12 | 12 | namespace spec\Sylius\Bundle\ThemeBundle\Configuration\Test; |
13 | 13 | |
14 | 14 | use PhpSpec\ObjectBehavior; |
15 | -use Prophecy\Argument; |
|
16 | 15 | use Sylius\Bundle\ThemeBundle\Configuration\ConfigurationProviderInterface; |
17 | -use Sylius\Bundle\ThemeBundle\Configuration\Test\TestThemeConfigurationManagerInterface; |
|
18 | 16 | use Sylius\Bundle\ThemeBundle\Configuration\Test\TestConfigurationProvider; |
17 | +use Sylius\Bundle\ThemeBundle\Configuration\Test\TestThemeConfigurationManagerInterface; |
|
19 | 18 | |
20 | 19 | /** |
21 | 20 | * @mixin TestConfigurationProvider |
@@ -11,13 +11,12 @@ |
||
11 | 11 | |
12 | 12 | namespace spec\Sylius\Bundle\ThemeBundle\Configuration\Test; |
13 | 13 | |
14 | -use org\bovigo\vfs\vfsStreamWrapper as VfsStreamWrapper; |
|
15 | -use org\bovigo\vfs\vfsStreamDirectory as VfsStreamDirectory; |
|
16 | 14 | use PhpSpec\ObjectBehavior; |
17 | -use Prophecy\Argument; |
|
18 | 15 | use Sylius\Bundle\ThemeBundle\Configuration\ConfigurationProcessorInterface; |
19 | 16 | use Sylius\Bundle\ThemeBundle\Configuration\Test\TestThemeConfigurationManager; |
20 | 17 | use Sylius\Bundle\ThemeBundle\Configuration\Test\TestThemeConfigurationManagerInterface; |
18 | +use org\bovigo\vfs\vfsStreamDirectory as VfsStreamDirectory; |
|
19 | +use org\bovigo\vfs\vfsStreamWrapper as VfsStreamWrapper; |
|
21 | 20 | |
22 | 21 | /** |
23 | 22 | * @mixin TestThemeConfigurationManager |
@@ -12,10 +12,8 @@ |
||
12 | 12 | namespace spec\Sylius\Bundle\ThemeBundle\Context; |
13 | 13 | |
14 | 14 | use PhpSpec\ObjectBehavior; |
15 | -use Prophecy\Argument; |
|
16 | 15 | use Sylius\Bundle\ThemeBundle\Context\SettableThemeContext; |
17 | 16 | use Sylius\Bundle\ThemeBundle\Context\ThemeContextInterface; |
18 | -use Sylius\Bundle\ThemeBundle\HierarchyProvider\ThemeHierarchyProviderInterface; |
|
19 | 17 | use Sylius\Bundle\ThemeBundle\Model\ThemeInterface; |
20 | 18 | |
21 | 19 | /** |
@@ -12,9 +12,8 @@ |
||
12 | 12 | namespace spec\Sylius\Bundle\ThemeBundle\Loader; |
13 | 13 | |
14 | 14 | use PhpSpec\ObjectBehavior; |
15 | -use Prophecy\Argument; |
|
16 | -use Sylius\Bundle\ThemeBundle\Model\ThemeInterface; |
|
17 | 15 | use Sylius\Bundle\ThemeBundle\Loader\CircularDependencyFoundException; |
16 | +use Sylius\Bundle\ThemeBundle\Model\ThemeInterface; |
|
18 | 17 | |
19 | 18 | /** |
20 | 19 | * @mixin CircularDependencyFoundException |
@@ -11,14 +11,13 @@ |
||
11 | 11 | |
12 | 12 | namespace spec\Sylius\Bundle\ThemeBundle\Settings; |
13 | 13 | |
14 | -use org\bovigo\vfs\vfsStream as VfsStream; |
|
15 | -use org\bovigo\vfs\vfsStreamDirectory as VfsStreamDirectory; |
|
16 | 14 | use PhpSpec\ObjectBehavior; |
17 | -use Prophecy\Argument; |
|
18 | 15 | use Sylius\Bundle\SettingsBundle\Schema\SchemaInterface; |
19 | 16 | use Sylius\Bundle\ThemeBundle\Model\ThemeInterface; |
20 | 17 | use Sylius\Bundle\ThemeBundle\Settings\ThemeSettingsSchemaProvider; |
21 | 18 | use Sylius\Bundle\ThemeBundle\Settings\ThemeSettingsSchemaProviderInterface; |
19 | +use org\bovigo\vfs\vfsStream as VfsStream; |
|
20 | +use org\bovigo\vfs\vfsStreamDirectory as VfsStreamDirectory; |
|
22 | 21 | |
23 | 22 | /** |
24 | 23 | * @mixin ThemeSettingsSchemaProvider |
@@ -65,7 +65,7 @@ discard block |
||
65 | 65 | |
66 | 66 | } |
67 | 67 | ); |
68 | -PHP |
|
68 | +php |
|
69 | 69 | ); |
70 | 70 | |
71 | 71 | $theme->getPath()->willReturn(dirname($settingsPath)); |
@@ -80,7 +80,7 @@ discard block |
||
80 | 80 | <?php |
81 | 81 | |
82 | 82 | return new \stdClass(); |
83 | -PHP |
|
83 | +php |
|
84 | 84 | ); |
85 | 85 | |
86 | 86 | $theme->getPath()->willReturn(dirname($settingsPath)); |
@@ -53,7 +53,7 @@ |
||
53 | 53 | /** |
54 | 54 | * @param string $path |
55 | 55 | * |
56 | - * @return array |
|
56 | + * @return \Symfony\Component\Finder\Finder |
|
57 | 57 | */ |
58 | 58 | private function getFiles($path) |
59 | 59 | { |
@@ -133,7 +133,7 @@ |
||
133 | 133 | * @param string $email |
134 | 134 | * @param string $password |
135 | 135 | * @param bool $enabled |
136 | - * @param array $securityRoles |
|
136 | + * @param string[] $securityRoles |
|
137 | 137 | * |
138 | 138 | * @return UserInterface |
139 | 139 | */ |
@@ -30,7 +30,7 @@ |
||
30 | 30 | ->setDescription('Initialize default permissions & roles in the application.') |
31 | 31 | ->setHelp(<<<EOT |
32 | 32 | The <info>%command.name%</info> command initializes default RBAC setup. |
33 | -EOT |
|
33 | +eot |
|
34 | 34 | ) |
35 | 35 | ; |
36 | 36 | } |
@@ -13,11 +13,11 @@ |
||
13 | 13 | |
14 | 14 | use Sylius\Bundle\ResourceBundle\Controller\ResourceController; |
15 | 15 | use Sylius\Bundle\ResourceBundle\Form\Type\ResourceChoiceType; |
16 | +use Sylius\Bundle\ResourceBundle\Form\Type\ResourceFromIdentifierType; |
|
16 | 17 | use Sylius\Bundle\ResourceBundle\SyliusResourceBundle; |
17 | 18 | use Sylius\Bundle\UserBundle\Controller\CustomerController; |
18 | 19 | use Sylius\Bundle\UserBundle\Controller\UserController; |
19 | 20 | use Sylius\Bundle\UserBundle\Form\Type\CustomerGuestType; |
20 | -use Sylius\Bundle\ResourceBundle\Form\Type\ResourceFromIdentifierType; |
|
21 | 21 | use Sylius\Bundle\UserBundle\Form\Type\CustomerProfileType; |
22 | 22 | use Sylius\Bundle\UserBundle\Form\Type\CustomerRegistrationType; |
23 | 23 | use Sylius\Bundle\UserBundle\Form\Type\CustomerSimpleRegistrationType; |