Passed
Push — develop ( 0d66a7...37c69c )
by Laurent
05:34 queued 02:39
created
Administration/Infrastructure/DoctrineMigrations/Version20201218112016.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -30,10 +30,10 @@
 block discarded – undo
30 30
     {
31 31
         // this up() migration is auto-generated, please modify it to your needs
32 32
         $this->addSql(
33
-            'CREATE TABLE settings (' .
34
-            'uuid CHAR(36) NOT NULL COMMENT \'(DC2Type:guid)\', ' .
35
-            'currency VARCHAR(255) NOT NULL, ' .
36
-            'locale VARCHAR(255) NOT NULL, PRIMARY KEY(uuid)' .
33
+            'CREATE TABLE settings ('.
34
+            'uuid CHAR(36) NOT NULL COMMENT \'(DC2Type:guid)\', '.
35
+            'currency VARCHAR(255) NOT NULL, '.
36
+            'locale VARCHAR(255) NOT NULL, PRIMARY KEY(uuid)'.
37 37
             ') DEFAULT CHARACTER SET utf8mb4 COLLATE `utf8mb4_unicode_ci` ENGINE = InnoDB'
38 38
         );
39 39
     }
Please login to merge, or discard this patch.
src/Administration/Infrastructure/Settings/Form/Type/SettingsType.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -31,14 +31,14 @@
 block discarded – undo
31 31
             ->add('currency', ChoiceType::class, [
32 32
                 'constraints' => new NotNull(),
33 33
                 'choices' => Currency::CURRENCY,
34
-                'choice_label' => function ($choice, $key, $value) {
34
+                'choice_label' => function($choice, $key, $value) {
35 35
                     return \ucfirst($value);
36 36
                 },
37 37
             ])
38 38
             ->add('locale', ChoiceType::class, [
39 39
                 'constraints' => new NotNull(),
40 40
                 'choices' => Locale::LOCALE,
41
-                'choice_label' => function ($choice, $key, $value) {
41
+                'choice_label' => function($choice, $key, $value) {
42 42
                     return \strtoupper($value);
43 43
                 },
44 44
             ])
Please login to merge, or discard this patch.