Skip to content

Commit 8c2c263

Browse files
author
Dmytro Aponasenko
committed
MTA-1502: Sync qmt repository with mainline - Sprint 5
1 parent 3533870 commit 8c2c263

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

dev/tests/functional/tests/app/Magento/Downloadable/Test/Constraint/AbstractAssertTaxRuleIsAppliedToAllPricesDownloadable.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ abstract class AbstractAssertTaxRuleIsAppliedToAllPricesDownloadable extends Abs
3838
* @param CheckoutCart $checkoutCart
3939
* @param FixtureFactory $fixtureFactory
4040
* @return void
41+
*
42+
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
4143
*/
4244
public function processAssert(
4345
InjectableFixture $product,

lib/internal/Magento/Framework/Test/Utility/Classes.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ public static function resolveVirtualType($className)
273273
public static function isAutogenerated($className)
274274
{
275275
if (preg_match('/.*\\\\[a-zA-Z0-9]{1,}(Factory|Proxy|SearchResults|DataBuilder)$/', $className)
276-
|| preg_match('/^Magento\\\\[\w]+\\\\(Test\\\\(Page|Fixture))\\\\/', $className)
276+
|| preg_match('/Magento\\\\[\w]+\\\\(Test\\\\(Page|Fixture))\\\\/', $className)
277277
) {
278278
return true;
279279
}

0 commit comments

Comments
 (0)