mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
e46135be0a
- Turn sake into a symfony/console app - Avoid using HTTPRequest for CLI interaction - Implement abstract hybrid execution path
18 lines
396 B
PHP
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;
|
|
}
|
|
}
|