silverstripe-framework/tests/php/Dev/TaskRunnerTest/TaskRunnerTest_DisabledTask.php
Guy Sartorelli e46135be0a
NEW Refactor CLI interaction with Silverstripe app (#11353)
- Turn sake into a symfony/console app
- Avoid using HTTPRequest for CLI interaction
- Implement abstract hybrid execution path
2024-09-26 17:16:47 +12:00

18 lines
396 B
PHP

<?php
namespace SilverStripe\Dev\Tests\TaskRunnerTest;
use SilverStripe\Dev\BuildTask;
use SilverStripe\PolyExecution\PolyOutput;
use Symfony\Component\Console\Input\InputInterface;
class TaskRunnerTest_DisabledTask extends BuildTask
{
private static bool $is_enabled = false;
protected function execute(InputInterface $input, PolyOutput $output): int
{
return 0;
}
}