<?php if (strpos($layer, 'php-8') === false) {
exec("docker run --rm -v \${PWD}/helpers:/var/task/ --entrypoint /var/task/extensions-test.sh $layer", $output, $exitCode);
if ($exitCode !== 0) {
throw new Exception(implode(PHP_EOL, $output), $exitCode);
}