Skip to content

Commit 9dc3579

Browse files
committed
Run phpcbf
1 parent f4a8132 commit 9dc3579

12 files changed

+13
-15
lines changed

Magento2/Tests/Eslint/AbstractEslintTestCase.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ protected function assertFileContainsError(string $testFile, array $expectedMess
2828
);
2929

3030
foreach ($expectedMessages as $message) {
31-
$this->assertStringContainsString($message, implode(' ',$output));
31+
$this->assertStringContainsString($message, implode(' ', $output));
3232
}
3333
}
3434
}

Magento2/Tests/Eslint/ClickEventShorthandTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@ public function testExecute(): void
2121
['Instead of .blur(fn) use .on("blur", fn). Instead of .blur() use .trigger("blur")']
2222
);
2323
}
24-
}
24+
}

Magento2/Tests/Eslint/DelegateUndelegateTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@ public function testExecute(): void
2121
['jQuery $.delegate and $.undelegate are deprecated, use $.on and $.off instead']
2222
);
2323
}
24-
}
24+
}

Magento2/Tests/Eslint/EventShorthandTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@ public function testExecute(): void
2121
['jQuery.load() was removed, use .on("load", fn) instead']
2222
);
2323
}
24-
}
24+
}

Magento2/Tests/Eslint/SizeTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@ public function testExecute(): void
2121
['jQuery.size() removed, use jQuery.length']
2222
);
2323
}
24-
}
24+
}

Magento2/Tests/Eslint/TrimTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@ public function testExecute(): void
2121
['jQuery.trim is deprecated; use String.prototype.trim']
2222
);
2323
}
24-
}
24+
}

Magento2/Tests/Legacy/PhtmlTemplateUnitTest.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,7 @@ public function getWarningList($testFile = '')
6767
39 => 1
6868
];
6969
}
70-
if ($testFile === 'PhtmlTemplateUnitTest.3.phtml')
71-
{
70+
if ($testFile === 'PhtmlTemplateUnitTest.3.phtml') {
7271
return [
7372
9 => 1,
7473
20 => 1,

Magento2/Tests/Legacy/_files/RestrictedCodeUnitTest/Magento/Framework/Model/ResourceModel/Iterator.php

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,18 @@ protected function shouldSkipTest()
2020
return true;
2121
}
2222

23-
protected function getErrorList() {
23+
protected function getErrorList()
24+
{
2425
return [];
2526
}
2627

27-
protected function getWarningList() {
28+
protected function getWarningList()
29+
{
2830
return [];
2931
}
3032

31-
private function withProtectedClass() {
33+
private function withProtectedClass()
34+
{
3235
return new \Zend_Db_Expr();
3336
}
3437
}

Magento2/Tests/PHPCompatibility/NewInterpolatedStringDereferencingUnitTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010

1111
namespace Magento2\Tests\PHPCompatibility;
1212

13-
1413
/**
1514
* Test the NewInterpolatedStringDereferencing sniff.
1615
*

Magento2/Tests/PHPCompatibility/NewMagicClassConstantUnitTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010

1111
namespace Magento2\Tests\PHPCompatibility;
1212

13-
1413
/**
1514
* Test the NewMagicClassConstant sniff.
1615
*

0 commit comments

Comments
 (0)