silverstripe-framework/tests/php/Dev/TaskRunnerTest/TaskRunnerTest_DisabledTask.php

18 lines
396 B
PHP
Raw Normal View History

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