Enforce array trailling commas

[MAILPOET-2090]
This commit is contained in:
Pavel Dohnal
2019-05-20 11:52:21 +02:00
committed by M. Shull
parent fcf5fe1d5d
commit b9af15e19f
117 changed files with 1791 additions and 1829 deletions

View File

@ -13,13 +13,13 @@ class FunctionsTest extends \MailPoetTest {
$twig->addExtension(new Functions());
WPFunctions::set(Stub::make(new WPFunctions, [
'isRtl' => true
'isRtl' => true,
]));
$result = $twig->render('template');
expect($result)->equals('rtl');
WPFunctions::set(Stub::make(new WPFunctions, [
'isRtl' => false
'isRtl' => false,
]));
$result = $twig->render('template');
expect($result)->isEmpty();