@@ -166,10 +166,10 @@ public function setUp(): void
166
166
/**
167
167
* Test email notify when credentials changed
168
168
*
169
- * @param int $testNumber
169
+ * @param int $testNumber
170
170
* @param string $oldEmail
171
171
* @param string $newEmail
172
- * @param bool $isPasswordChanged
172
+ * @param bool $isPasswordChanged
173
173
*
174
174
* @dataProvider sendNotificationEmailsDataProvider
175
175
* @SuppressWarnings(PHPMD.ExcessiveMethodLength)
@@ -182,18 +182,18 @@ public function testEmailNotifyWhenCredentialsChanged($testNumber, $oldEmail, $n
182
182
$ expects = $ this ->once ();
183
183
$ xmlPathTemplate = EmailNotification::XML_PATH_RESET_PASSWORD_TEMPLATE ;
184
184
switch ($ testNumber ) {
185
- case 1 :
186
- $ xmlPathTemplate = EmailNotification::XML_PATH_RESET_PASSWORD_TEMPLATE ;
187
- $ expects = $ this ->once ();
188
- break ;
189
- case 2 :
190
- $ xmlPathTemplate = EmailNotification::XML_PATH_CHANGE_EMAIL_TEMPLATE ;
191
- $ expects = $ this ->exactly (2 );
192
- break ;
193
- case 3 :
194
- $ xmlPathTemplate = EmailNotification::XML_PATH_CHANGE_EMAIL_AND_PASSWORD_TEMPLATE ;
195
- $ expects = $ this ->exactly (2 );
196
- break ;
185
+ case 1 :
186
+ $ xmlPathTemplate = EmailNotification::XML_PATH_RESET_PASSWORD_TEMPLATE ;
187
+ $ expects = $ this ->once ();
188
+ break ;
189
+ case 2 :
190
+ $ xmlPathTemplate = EmailNotification::XML_PATH_CHANGE_EMAIL_TEMPLATE ;
191
+ $ expects = $ this ->exactly (2 );
192
+ break ;
193
+ case 3 :
194
+ $ xmlPathTemplate = EmailNotification::XML_PATH_CHANGE_EMAIL_AND_PASSWORD_TEMPLATE ;
195
+ $ expects = $ this ->exactly (2 );
196
+ break ;
197
197
}
198
198
199
199
$ this ->senderResolverMock
@@ -340,7 +340,7 @@ public function testEmailNotifyWhenCredentialsChanged($testNumber, $oldEmail, $n
340
340
/**
341
341
* Provides Emails Data Provider
342
342
*
343
- * @param void
343
+ * @param void
344
344
* @return array
345
345
*/
346
346
public function sendNotificationEmailsDataProvider (): array
@@ -756,11 +756,11 @@ public function testNewAccount(): void
756
756
* Create default mock for $this->transportBuilderMock.
757
757
*
758
758
* @param string $templateIdentifier
759
- * @param int $customerStoreId
760
- * @param array $senderValues
759
+ * @param int $customerStoreId
760
+ * @param array $senderValues
761
761
* @param string $customerEmail
762
762
* @param string $customerName
763
- * @param array $templateVars
763
+ * @param array $templateVars
764
764
*
765
765
* @return void
766
766
*/
@@ -771,7 +771,8 @@ private function mockDefaultTransportBuilder(
771
771
string $ customerEmail ,
772
772
string $ customerName ,
773
773
array $ templateVars = []
774
- ): void {
774
+ ): void
775
+ {
775
776
$ transport = $ this ->createMock (\Magento \Framework \Mail \TransportInterface::class);
776
777
777
778
$ this ->transportBuilderMock ->expects ($ this ->once ())
0 commit comments