Upgrade phpunit to 9.5
So we stop depending on the unmaintained php-token-stream
This commit is contained in:
parent
60f924f4bf
commit
55db198d39
6 changed files with 919 additions and 476 deletions
|
@ -7,6 +7,7 @@
|
|||
namespace Alltube\Test;
|
||||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use PHPUnit\Util\Test;
|
||||
|
||||
/**
|
||||
* Abstract class used by every test.
|
||||
|
@ -37,7 +38,10 @@ abstract class BaseTest extends TestCase
|
|||
*/
|
||||
protected function checkRequirements()
|
||||
{
|
||||
$annotations = $this->getAnnotations();
|
||||
$annotations = Test::parseTestMethodAnnotations(
|
||||
static::class,
|
||||
$this->getName()
|
||||
);
|
||||
$requires = [];
|
||||
|
||||
if (isset($annotations['class']['requires'])) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue