build on PRs; nitpicks
[plcapi.git] / tests / PolyfillTestCase8.php
1 <?php
2
3 use PHPUnit\Framework\TestResult as PHPUnit_Framework_TestResult;
4 use Yoast\PHPUnitPolyfills\TestCases\TestCase;
5
6 abstract class PhpXmlRpc_PolyfillTestCase extends TestCase
7 {
8     public function _run($result = null) {
9         return parent::run($result);
10     }
11
12     public static function _fail() {}
13
14     public function run(PHPUnit_Framework_TestResult $result = null): PHPUnit_Framework_TestResult {
15         return $this->_run($result);
16     }
17
18     public static function fail(string $message = ''): void {
19         static::_fail($message);
20         parent::fail($message);
21     }
22 }