Skip to content

Commit 56db66b

Browse files
ACQE-2582
Co-authored-by: Kevin Kozan <kkozan@magento.com>
1 parent 741264b commit 56db66b

File tree

3 files changed

+4
-0
lines changed

3 files changed

+4
-0
lines changed

etc/config/command.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ function escapeCommand($command)
9696
*/
9797
function validateCommand($magentoBinary, $command)
9898
{
99+
// phpcs:ignore Magento2.Security.InsecureFunction
99100
exec($magentoBinary . ' list', $commandList);
100101
// Trim list of commands after first whitespace
101102
$commandList = array_map("trimAfterWhitespace", $commandList);

src/Magento/FunctionalTestingFramework/Allure/AllureHelper.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ public static function addAttachmentToCurrentStep($data, $caption): void
2424
{
2525
if (!is_string($data)) {
2626
try {
27+
// phpcs:ignore Magento2.Security.InsecureFunction
2728
$data = serialize($data);
2829
} catch (\Exception $exception) {
2930
throw new \Exception($data->getMessage());
@@ -48,6 +49,7 @@ public static function addAttachmentToCurrentStep($data, $caption): void
4849
public static function addAttachmentToLastStep($data, $caption): void
4950
{
5051
if (!is_string($data)) {
52+
// phpcs:ignore Magento2.Security.InsecureFunction
5153
$data = serialize($data);
5254
}
5355
if (@file_exists($data) && is_file($data)) {

src/Magento/FunctionalTestingFramework/DataGenerator/Handlers/SecretStorage/VaultStorage.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -251,6 +251,7 @@ private function getTokenHelperScript($lines)
251251
*/
252252
private function execVaultTokenHelper($cmd)
253253
{
254+
// phpcs:ignore Magento2.Security.InsecureFunction
254255
exec($cmd, $out, $status);
255256
if ($status === 0 && isset($out[0]) && !empty($out[0])) {
256257
return $out[0];

0 commit comments

Comments
 (0)