Completed
Push — fixtures/product-images ( d583de )
by Kamil
38:54
created
src/Sylius/Bundle/ThemeBundle/spec/Context/SettableThemeContextSpec.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -12,10 +12,8 @@
 block discarded – undo
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
 /**
Please login to merge, or discard this patch.
Bundle/ThemeBundle/spec/Loader/CircularDependencyFoundExceptionSpec.php 1 patch
Unused Use Statements   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -12,9 +12,8 @@
 block discarded – undo
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
Please login to merge, or discard this patch.
Sylius/Bundle/ThemeBundle/spec/Settings/ThemeSettingsSchemaProviderSpec.php 2 patches
Unused Use Statements   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -11,14 +11,13 @@
 block discarded – undo
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
Please login to merge, or discard this patch.
Upper-Lower-Casing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -65,7 +65,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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));
Please login to merge, or discard this patch.
src/Sylius/Bundle/ThemeBundle/Translation/Finder/TranslationFilesFinder.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
src/Sylius/Bundle/UserBundle/Command/CreateUserCommand.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -133,7 +133,7 @@
 block discarded – undo
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
      */
Please login to merge, or discard this patch.
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
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
     }
Please login to merge, or discard this patch.
src/Sylius/Bundle/UserBundle/DependencyInjection/Configuration.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,11 +13,11 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
src/Sylius/Bundle/UserBundle/Form/Model/ChangePassword.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
     /**
29 29
      * Gets the value of currentPassword.
30 30
      *
31
-     * @return mixed
31
+     * @return string
32 32
      */
33 33
     public function getCurrentPassword()
34 34
     {
@@ -52,7 +52,7 @@  discard block
 block discarded – undo
52 52
     /**
53 53
      * Gets the value of newPassword.
54 54
      *
55
-     * @return mixed
55
+     * @return string
56 56
      */
57 57
     public function getNewPassword()
58 58
     {
Please login to merge, or discard this patch.
Bundle/UserBundle/spec/Authentication/AuthenticationFailureHandlerSpec.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,6 @@
 block discarded – undo
14 14
 use PhpSpec\ObjectBehavior;
15 15
 use Sylius\Bundle\UserBundle\Authentication\AuthenticationFailureHandler;
16 16
 use Symfony\Component\HttpFoundation\JsonResponse;
17
-use Symfony\Component\HttpFoundation\RedirectResponse;
18 17
 use Symfony\Component\HttpFoundation\Request;
19 18
 use Symfony\Component\HttpKernel\HttpKernelInterface;
20 19
 use Symfony\Component\Security\Core\Exception\AuthenticationException;
Please login to merge, or discard this patch.
src/Sylius/Bundle/UserBundle/spec/Doctrine/ORM/UserRepositorySpec.php 1 patch
Unused Use Statements   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -15,9 +15,8 @@
 block discarded – undo
15 15
 use Doctrine\ORM\EntityManager;
16 16
 use Doctrine\ORM\Mapping\ClassMetadata;
17 17
 use Doctrine\ORM\Query;
18
-use Doctrine\ORM\Query\Expr;
19
-use Doctrine\ORM\Query\FilterCollection;
20 18
 use Doctrine\ORM\QueryBuilder;
19
+use Doctrine\ORM\Query\Expr;
21 20
 use Pagerfanta\Pagerfanta;
22 21
 use PhpSpec\ObjectBehavior;
23 22
 use Prophecy\Argument;
Please login to merge, or discard this patch.