Skip to content

Commit a3d4650

Browse files
committed
MQE-2045: Upgrade script to remove unused arguments
Fixed static checks
1 parent 295bae7 commit a3d4650

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/Magento/FunctionalTestingFramework/StaticCheck/ActionGroupArgumentsCheck.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ private function isParentActionGroupArgument($argument, $actionGroup)
211211
/**
212212
* Builds and returns error output for violating references
213213
*
214-
* @param array $actionGroupToArguments
214+
* @param array $actionGroupToArguments
215215
* @param SplFileInfo $path
216216
* @return mixed
217217
*/

src/Magento/FunctionalTestingFramework/Upgrade/RemoveUnusedArguments.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,6 @@ public function execute(InputInterface $input, OutputInterface $output)
6060
$fileSystem->dumpFile($file->getRealPath(), $contents);
6161
$actionGroupsUpdated++;
6262
}
63-
return "Finished removing unused action group arguments from " . $actionGroupsUpdated . " files.";
63+
return "Removed unused action group arguments from {$actionGroupsUpdated} file(s).";
6464
}
65-
}
65+
}

0 commit comments

Comments
 (0)