if (!\
is_array($requirement['value'
])) { throw new InvalidArgumentException(__CLASS__ . ' needs an array as value for the requirement check'
);
} foreach ($requirement['value'
] as $path) { $fullPath =
rtrim(Shopware()->
DocPath($path), '/'
);
$checkedDirectories[] =
$fullPath;
$fixPermissions = true;
$directories =
array_merge( $directories,
$this->fileSystem->
checkSingleDirectoryPermissions($fullPath,
$fixPermissions) );
} if (empty($directories)) { return [ 'type' => self::CHECK_TYPE,
'errorLevel' => Validation::REQUIREMENT_VALID,
'message' =>
sprintf( $successMessage,
implode('<br>',
$checkedDirectories) ),
];