public static function configRequirements(): \Generator
{
yield 'all checks pass with minimum requirements' => [
[
'max_execution_time' => '30',
'memory_limit' => '512M',
'opcache.memory_consumption' => '256',
],
[
new SystemCheck('max_execution_time', RequirementCheck::STATUS_SUCCESS, '30', '30'),
new SystemCheck('memory_limit', RequirementCheck::STATUS_SUCCESS, '512M', '512M'),
new SystemCheck('opcache.memory_consumption', RequirementCheck::STATUS_SUCCESS, '256M', '256M'),
],
];
yield 'all checks pass with higher configs' => [
[
'max_execution_time' => '60',
'memory_limit' => '1024M',
'opcache.memory_consumption' => '512',
],
[