File tree Expand file tree Collapse file tree 3 files changed +8
-5
lines changed
SalesRule/Test/Unit/Model/Coupon
dev/tests/static/testsuite/Magento/Test/Legacy Expand file tree Collapse file tree 3 files changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -37,7 +37,8 @@ protected function setUp(): void
37
37
public function testGenerateCode (array $ data , $ length )
38
38
{
39
39
$ salesRuleCouponMock = $ this ->createPartialMock (
40
- \Magento \SalesRule \Helper \Coupon::class, ['getCharset ' , 'getCodeSeparator ' ]
40
+ \Magento \SalesRule \Helper \Coupon::class,
41
+ ['getCharset ' , 'getCodeSeparator ' ]
41
42
);
42
43
43
44
/** @var \Magento\SalesRule\Model\Coupon\Massgenerator $massgenerator */
@@ -174,7 +175,8 @@ public function testGeneratePoolException()
174
175
];
175
176
176
177
$ salesRuleCouponMock = $ this ->createPartialMock (
177
- \Magento \SalesRule \Helper \Coupon::class, ['getCharset ' , 'getCodeSeparator ' ]
178
+ \Magento \SalesRule \Helper \Coupon::class,
179
+ ['getCharset ' , 'getCodeSeparator ' ]
178
180
);
179
181
$ resourceMock = $ this ->createPartialMock (
180
182
\Magento \SalesRule \Model \ResourceModel \Coupon::class,
Original file line number Diff line number Diff line change @@ -189,6 +189,7 @@ private function _updateLockingInformation($user)
189
189
190
190
/**
191
191
* Check whether the latest password is expired
192
+ *
192
193
* Side-effect can be when passwords were changed with different lifetime configuration settings
193
194
*
194
195
* @param array $latestPassword
Original file line number Diff line number Diff line change @@ -114,7 +114,7 @@ public function testJsComponentsAreProperlyInitializedInDataMageInitAttribute()
114
114
$ invoker (
115
115
/**
116
116
* JS components in data-mage-init attributes should be initialized not in php.
117
- * JS components should be initialized in templates for them to be properly statically analyzed for bundling.
117
+ * JS components should be initialized in templates for them to be properly statically analyzed for bundling
118
118
*
119
119
* @param string $file
120
120
*/
@@ -158,7 +158,7 @@ private function getFilesData($filePattern)
158
158
$ result = [];
159
159
foreach (glob (__DIR__ . '/_files/initialize_javascript/ ' . $ filePattern ) as $ file ) {
160
160
$ fileData = include $ file ;
161
- $ result = array_merge ($ result , $ fileData );
161
+ $ result = array_merge ($ result , $ fileData ); //phpcs:ignore
162
162
}
163
163
return $ result ;
164
164
}
@@ -169,7 +169,7 @@ public function testJsComponentsAreProperlyInitializedInXMagentoInitAttribute()
169
169
$ invoker (
170
170
/**
171
171
* JS components in x-magento-init attributes should be initialized not in php.
172
- * JS components should be initialized in templates for them to be properly statically analyzed for bundling.
172
+ * JS components should be initialized in templates for them to be properly statically analyzed for bundling
173
173
*
174
174
* @param string $file
175
175
*/
You can’t perform that action at this time.
0 commit comments