Completed
Push — component-bundle ( 0f1f3e )
by Kamil
35:06
created
src/Sylius/Bundle/TaxonomyBundle/Doctrine/ORM/TaxonRepository.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -120,7 +120,7 @@
 block discarded – undo
120 120
             ->innerJoin('o.translations', 'translation')
121 121
             ->andWhere('translation.name LIKE :name')
122 122
             ->andWhere('translation.locale = :locale')
123
-            ->setParameter('name', '%'.$phrase.'%')
123
+            ->setParameter('name', '%' . $phrase . '%')
124 124
             ->setParameter('locale', $locale)
125 125
             ->getQuery()
126 126
             ->getResult()
Please login to merge, or discard this patch.
src/Sylius/Bundle/ApiBundle/DependencyInjection/SyliusApiExtension.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -11,15 +11,12 @@
 block discarded – undo
11 11
 
12 12
 namespace Sylius\Bundle\ApiBundle\DependencyInjection;
13 13
 
14
-use Sylius\Bundle\ApiBundle\Controller\TokenController;
15 14
 use Sylius\Bundle\ResourceBundle\DependencyInjection\Extension\AbstractResourceExtension;
16 15
 use Symfony\Component\Config\FileLocator;
17 16
 use Symfony\Component\DependencyInjection\ContainerBuilder;
18
-use Symfony\Component\DependencyInjection\Definition;
19 17
 use Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException;
20 18
 use Symfony\Component\DependencyInjection\Extension\PrependExtensionInterface;
21 19
 use Symfony\Component\DependencyInjection\Loader\XmlFileLoader;
22
-use Symfony\Component\DependencyInjection\Reference;
23 20
 
24 21
 /**
25 22
  * @author Paweł Jędrzejewski <[email protected]>
Please login to merge, or discard this patch.
src/Sylius/Bundle/AddressingBundle/Form/Type/CountryChoiceType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@
 block discarded – undo
53 53
                      * PHP 5.* bug, fixed in PHP 7: https://bugs.php.net/bug.php?id=50688
54 54
                      * "usort(): Array was modified by the user comparison function"
55 55
                      */
56
-                    @usort($countries, function($a, $b) {
56
+                    @usort($countries, function ($a, $b) {
57 57
                         return $a->getName() < $b->getName() ? -1 : 1;
58 58
                     });
59 59
 
Please login to merge, or discard this patch.