Completed
Push — refactoring-session ( a6dec9 )
by Kamil
06:43
created
src/Sylius/Bundle/AddressingBundle/Twig/CountryNameExtension.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,10 +14,10 @@
 block discarded – undo
14 14
 namespace Sylius\Bundle\AddressingBundle\Twig;
15 15
 
16 16
 use Sylius\Component\Addressing\Model\CountryInterface;
17
+use Symfony\Component\Intl\Countries;
17 18
 use Symfony\Component\Intl\Exception\MissingResourceException;
18 19
 use Twig\Extension\AbstractExtension;
19 20
 use Twig\TwigFilter;
20
-use Symfony\Component\Intl\Countries;
21 21
 
22 22
 class CountryNameExtension extends AbstractExtension
23 23
 {
Please login to merge, or discard this patch.
src/Sylius/Bundle/CoreBundle/Installer/Setup/LocaleSetup.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -106,7 +106,7 @@
 block discarded – undo
106 106
 
107 107
         try {
108 108
             return Languages::getName($language, $region);
109
-        } catch(MissingResourceException $exception) {
109
+        } catch (MissingResourceException $exception) {
110 110
             return null;
111 111
         }
112 112
     }
Please login to merge, or discard this patch.
src/Sylius/Bundle/CoreBundle/Installer/Setup/CurrencySetup.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -93,7 +93,7 @@
 block discarded – undo
93 93
     {
94 94
         try {
95 95
             return Currencies::getName($code);
96
-        } catch(MissingResourceException $exception) {
96
+        } catch (MissingResourceException $exception) {
97 97
             return null;
98 98
         }
99 99
     }
Please login to merge, or discard this patch.