@@ -8,7 +8,7 @@ discard block |
||
| 8 | 8 | use PluginTestCase; |
| 9 | 9 | use Twig_Environment; |
| 10 | 10 | |
| 11 | -require_once __DIR__ . '/../vendor/autoload.php'; |
|
| 11 | +require_once __DIR__.'/../vendor/autoload.php'; |
|
| 12 | 12 | |
| 13 | 13 | class PluginTest extends PluginTestCase |
| 14 | 14 | { |
@@ -90,7 +90,7 @@ discard block |
||
| 90 | 90 | $twig = $this->getTwig(); |
| 91 | 91 | |
| 92 | 92 | $now = Carbon::now()->subMinute(); |
| 93 | - $template = "{{ '" . $now->format('Y-m-d H:i:s') . "' | time_diff }}"; |
|
| 93 | + $template = "{{ '".$now->format('Y-m-d H:i:s')."' | time_diff }}"; |
|
| 94 | 94 | |
| 95 | 95 | $twigTemplate = $twig->createTemplate($template); |
| 96 | 96 | $this->assertEquals($twigTemplate->render([]), '1 minute ago'); |
@@ -223,7 +223,7 @@ discard block |
||
| 223 | 223 | $key = 'app.custom.key'; |
| 224 | 224 | $value = 'test value'; |
| 225 | 225 | Config::set($key, $value); |
| 226 | - $template = "{{ config('" . $key . "') }}"; |
|
| 226 | + $template = "{{ config('".$key."') }}"; |
|
| 227 | 227 | |
| 228 | 228 | $twigTemplate = $twig->createTemplate($template); |
| 229 | 229 | $this->assertEquals($twigTemplate->render([]), $value); |