Passed
Push — feature/VSVGVQ-44 ( 4fec29...e8b254 )
by Luc
02:52
created
src/Command/SeedCategoriesCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@
 block discarded – undo
59 59
     {
60 60
         $categoriesFile = $input->getArgument('categories_file');
61 61
         if (!$categoriesFile) {
62
-            $categoriesFile = __DIR__ . '/categories.yaml';
62
+            $categoriesFile = __DIR__.'/categories.yaml';
63 63
         }
64 64
 
65 65
         $categoriesAsYml = Yaml::parseFile($categoriesFile);
Please login to merge, or discard this patch.
src/Image/Controllers/ImageController.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
         $uploadFile = $this->guardFiles($request->files);
54 54
 
55 55
         $uuid = $this->uuidFactory->uuid4();
56
-        $filename = $uuid->toString().'.'. $uploadFile->getClientOriginalExtension();
56
+        $filename = $uuid->toString().'.'.$uploadFile->getClientOriginalExtension();
57 57
 
58 58
         $stream = fopen($uploadFile->getRealPath(), 'r+');
59 59
         $this->fileSystem->writeStream($filename, $stream);
Please login to merge, or discard this patch.
src/Question/Forms/QuestionFormType.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@  discard block
 block discarded – undo
32 32
                 [
33 33
                     'label' => false,
34 34
                     'choices' => $languages,
35
-                    'choice_label' => function(Language $language) {
35
+                    'choice_label' => function (Language $language) {
36 36
                         return $language->toNative();
37 37
                     }
38 38
                 ]
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
                 [
51 51
                     'label' => false,
52 52
                     'choices' => $categories,
53
-                    'choice_label' => function(Category $category) {
53
+                    'choice_label' => function (Category $category) {
54 54
                         return $category->getName()->toNative();
55 55
                     },
56 56
                 ]
Please login to merge, or discard this patch.