Completed
Pull Request — master (#28)
by Vojta
10:05
created
tests/PluginTest.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@  discard block
 block discarded – undo
9 9
 use Twig_Environment;
10 10
 use VojtaSvoboda\TwigExtensions\Classes\TimeDiffTranslator;
11 11
 
12
-require_once __DIR__ . '/../vendor/autoload.php';
12
+require_once __DIR__.'/../vendor/autoload.php';
13 13
 
14 14
 class PluginTest extends PluginTestCase
15 15
 {
@@ -116,7 +116,7 @@  discard block
 block discarded – undo
116 116
         $twig = $this->getTwig();
117 117
 
118 118
         $now = Carbon::now()->subMinute();
119
-        $template = "{{ '" . $now->format('Y-m-d H:i:s') . "' | time_diff }}";
119
+        $template = "{{ '".$now->format('Y-m-d H:i:s')."' | time_diff }}";
120 120
 
121 121
         // this test fails at TravisCI and I don't know why
122 122
         $twigTemplate = $twig->createTemplate($template);
@@ -316,7 +316,7 @@  discard block
 block discarded – undo
316 316
         $key = 'app.custom.key';
317 317
         $value = 'test value';
318 318
         Config::set($key, $value);
319
-        $template = "{{ config('" . $key . "') }}";
319
+        $template = "{{ config('".$key."') }}";
320 320
 
321 321
         $twigTemplate = $twig->createTemplate($template);
322 322
         $this->assertEquals($twigTemplate->render([]), $value);
Please login to merge, or discard this patch.