Completed
Branch master (cd67bd)
by Dominik
02:18
created
Category
DependencyInjection/DeclineTransformatExtension.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
         $configuration = new Configuration();
23 23
         $config = $this->processConfiguration($configuration, $configs);
24 24
 
25
-        $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
25
+        $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config'));
26 26
         $loader->load('services.yml');
27 27
 
28 28
         $container->setParameter('decline_transformat', $config);
Please login to merge, or discard this patch.
Tests/CleanupListener.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -20,8 +20,8 @@
 block discarded – undo
20 20
         $fs = new Filesystem();
21 21
         $fs->remove(
22 22
             [
23
-                __DIR__.'/App/cache',
24
-                __DIR__.'/App/logs',
23
+                __DIR__ . '/App/cache',
24
+                __DIR__ . '/App/logs',
25 25
             ]
26 26
         );
27 27
     }
Please login to merge, or discard this patch.
Tests/App/AppKernel.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,6 +29,6 @@
 block discarded – undo
29 29
 
30 30
     public function registerContainerConfiguration(LoaderInterface $loader)
31 31
     {
32
-        $loader->load(__DIR__.'/config/config.yml');
32
+        $loader->load(__DIR__ . '/config/config.yml');
33 33
     }
34 34
 }
35 35
\ No newline at end of file
Please login to merge, or discard this patch.
Tests/Services/FormatServiceTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
 class FormatServiceTest extends ContainerTestCase
12 12
 {
13 13
 
14
-    const RESOURCES_DIR = __DIR__.'/../App/Resources';
14
+    const RESOURCES_DIR = __DIR__ . '/../App/Resources';
15 15
 
16 16
     const TRANSLATION_UNFORMATTED = 'translations-unformatted/unformatted.de.xlf';
17 17
     const TRANSLATION_FORMATTED = 'translations-unformatted/formatted.de.xlf';
Please login to merge, or discard this patch.
Services/ValidatorService.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
46 46
     {
47 47
         $errors = [];
48 48
 
49
-        switch($this->getValidationMode()) {
49
+        switch ($this->getValidationMode()) {
50 50
             case static::MODE_STRICT:
51 51
                 $schema = 'xliff-core-1.2-strict.xsd';
52 52
                 break;
Please login to merge, or discard this patch.
Services/FormatService.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -77,7 +77,7 @@  discard block
 block discarded – undo
77 77
                 $this->formatSingleFile($file);
78 78
                 $msg = sprintf('<info>Success:</info> %s', $file->getFilename());
79 79
             } catch (Exception $e) {
80
-                $errors[] = $file->getFilename().': '.$e->getMessage();
80
+                $errors[] = $file->getFilename() . ': ' . $e->getMessage();
81 81
                 $msg = sprintf('<fg=red>Failure:</fg=red> %s', $file->getFilename());
82 82
             }
83 83
 
@@ -106,7 +106,7 @@  discard block
 block discarded – undo
106 106
             }
107 107
 
108 108
             try {
109
-                $file = new File($this->getDirectory().'/'.$fileToCheck);
109
+                $file = new File($this->getDirectory() . '/' . $fileToCheck);
110 110
             } catch (FileNotFoundException $e) {
111 111
                 continue;
112 112
             }
Please login to merge, or discard this patch.