Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit a539f96

Browse filesBrowse files
committed
ACP2E-2977: Implement Static test which will check for no usage of object manager in .phtml files
1 parent b421a21 commit a539f96
Copy full SHA for a539f96

File tree

Expand file treeCollapse file tree

2 files changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+1
-1
lines changed

‎Magento2/Tests/Templates/ObjectManagerUnitTest.php

Copy file name to clipboardExpand all lines: Magento2/Tests/Templates/ObjectManagerUnitTest.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ class ObjectManagerUnitTest extends AbstractSniffUnitTest
2727
*/
2828
public function getWarningList($filename = '')
2929
{
30-
if ($filename === 'ObjectManager.1.phtml.inc') {
30+
if ($filename === 'ObjectManagerUnitTest.1.phtml.inc') {
3131
return [
3232
18 => 1
3333
];

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.