File tree Expand file tree Collapse file tree 3 files changed +7
-2
lines changed
lib/internal/Magento/Framework/App/Test/Unit Expand file tree Collapse file tree 3 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 11
11
use Magento \Framework \Setup \ModuleDataSetupInterface ;
12
12
use Magento \Framework \Setup \UpgradeDataInterface ;
13
13
14
+ /**
15
+ * @SuppressWarnings(PHPMD.ExcessiveMethodLength)
16
+ */
14
17
class UpgradeData implements UpgradeDataInterface
15
18
{
16
19
const PRIVACY_COOKIE_PAGE_ID = 4 ;
@@ -20,6 +23,9 @@ class UpgradeData implements UpgradeDataInterface
20
23
*/
21
24
private $ pageFactory ;
22
25
26
+ /**
27
+ * @param PageFactory $pageFactory
28
+ */
23
29
public function __construct (PageFactory $ pageFactory )
24
30
{
25
31
$ this ->pageFactory = $ pageFactory ;
Original file line number Diff line number Diff line change @@ -155,6 +155,7 @@ protected function deployStaticContent(
155
155
* Runs code multi-tenant compiler to generate code and DI information
156
156
*
157
157
* @param OutputInterface $output
158
+ * @return void
158
159
* @throws LocalizedException
159
160
*/
160
161
protected function compile (OutputInterface $ output )
Original file line number Diff line number Diff line change @@ -34,7 +34,6 @@ public function setUp()
34
34
);
35
35
}
36
36
37
-
38
37
public function testExecuteSuccess ()
39
38
{
40
39
$ output = 'success ' ;
@@ -74,4 +73,3 @@ public function testExecuteFailure()
74
73
$ this ->model ->execute ($ command , []);
75
74
}
76
75
}
77
-
You can’t perform that action at this time.
0 commit comments