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

@@ -76,7 +76,7 @@ class FormTest extends \MailPoetTest {
$url_helper = Stub::make(UrlHelper::class, [
'redirectBack' => function($params) {
return $params;
}
},
], $this);
$form_controller = new Form(ContainerWrapper::getInstance()->get(API::class), $url_helper);
$result = $form_controller->onSubmit($this->request_data);
@@ -99,7 +99,7 @@ class FormTest extends \MailPoetTest {
},
'redirectBack' => function($params) {
return $params;
}
},
], $this);
$form_controller = new Form(ContainerWrapper::getInstance()->get(API::class), $url_helper);
$result = $form_controller->onSubmit($this->request_data);
@@ -114,7 +114,7 @@ class FormTest extends \MailPoetTest {
$url_helper = Stub::make(UrlHelper::class, [
'redirectBack' => function($params) {
return $params;
}
},
], $this);
$form_controller = new Form(ContainerWrapper::getInstance()->get(API::class), $url_helper);
$result = $form_controller->onSubmit($request_data);