File tree Expand file tree Collapse file tree 3 files changed +5
-3
lines changed
dev/tests/unit/testsuite/Magento/Framework/App/View/Asset/MaterializationStrategy
lib/internal/Magento/Framework
App/View/Asset/MaterializationStrategy Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -86,12 +86,12 @@ public function testCreateException()
86
86
87
87
$ factory = new Factory ($ this ->objectManager , []);
88
88
89
- $ this ->setExpectedException ('LogicException ' , __ ( 'No materialization strategy is supported ' ) );
89
+ $ this ->setExpectedException ('LogicException ' , 'No materialization strategy is supported ' );
90
90
$ factory ->create ($ asset );
91
91
}
92
92
93
93
/**
94
- * @return Asset\LocalInterface| \PHPUnit_Framework_MockObject_MockObject
94
+ * @return Asset\LocalInterface | \PHPUnit_Framework_MockObject_MockObject
95
95
*/
96
96
private function getAsset ()
97
97
{
Original file line number Diff line number Diff line change @@ -60,6 +60,6 @@ public function create(Asset\LocalInterface $asset)
60
60
}
61
61
}
62
62
63
- throw new \LogicException (__ ( 'No materialization strategy is supported ' ) );
63
+ throw new \LogicException ('No materialization strategy is supported ' );
64
64
}
65
65
}
Original file line number Diff line number Diff line change 11
11
12
12
/**
13
13
* Page config Renderer model
14
+ *
15
+ * @SuppressWarnings(PHPMD.CouplingBetweenObjects)
14
16
*/
15
17
class Renderer
16
18
{
You can’t perform that action at this time.
0 commit comments