Convert variable names to camel case

[MAILPOET-1796]
This commit is contained in:
Jan Jakeš
2020-01-09 15:02:58 +01:00
committed by Jan Jakeš
parent f5da704106
commit 54549ff037
687 changed files with 15890 additions and 15887 deletions

View File

@ -16,7 +16,7 @@ class SendingErrorHandlerTest extends \MailPoetTest {
public function _before() {
parent::_before();
$this->error_handler = new SendingErrorHandler();
$this->errorHandler = new SendingErrorHandler();
}
public function testItShouldProcessSoftErrorCorrectly() {
@ -24,8 +24,8 @@ class SendingErrorHandlerTest extends \MailPoetTest {
'john@doe.com',
'john@rambo.com',
];
$subscriber_ids = [1, 2];
$subscriber_errors = [
$subscriberIds = [1, 2];
$subscriberErrors = [
new SubscriberError('john@doe.com', 'Subscriber Message'),
new SubscriberError('john@rambo.com', null),
];
@ -33,10 +33,10 @@ class SendingErrorHandlerTest extends \MailPoetTest {
MailerError::OPERATION_SEND,
MailerError::LEVEL_SOFT,
'Error Message',
null, $subscriber_errors
null, $subscriberErrors
);
$sending_task = Stub::make(
$sendingTask = Stub::make(
SendingTask::class,
[
'saveSubscriberError' => Expected::exactly(
@ -53,6 +53,6 @@ class SendingErrorHandlerTest extends \MailPoetTest {
$this
);
$this->error_handler->processError($error, $sending_task, $subscriber_ids, $subscribers);
$this->errorHandler->processError($error, $sendingTask, $subscriberIds, $subscribers);
}
}