feat: basic PHPUnit 10 support

This commit is contained in:
Nuno Maduro
2021-10-24 01:03:18 +01:00
parent de46ee0f64
commit cf47b45262
32 changed files with 807 additions and 549 deletions

View File

@ -92,16 +92,14 @@ final class TestCaseFactory
public $factoryProxies;
/**
* Holds the higher order
* messages that are proxyble.
* Holds the higher order messages that are proxyble.
*
* @var HigherOrderMessageCollection
*/
public $proxies;
/**
* Holds the higher order
* messages that are chainable.
* Holds the higher order messages that are chainable.
*
* @var HigherOrderMessageCollection
*/
@ -232,7 +230,7 @@ final class TestCaseFactory
/**
* Determine if the test case will receive argument input from Pest, or not.
*/
public function receivesArguments(): bool
public function __receivesArguments(): bool
{
return count($this->datasets) > 0
|| $this->factoryProxies->count('addDependencies') > 0;