mirror of
https://github.com/pestphp/pest.git
synced 2026-03-10 01:37:21 +01:00
upgrade to phpstan level 6
This commit is contained in:
@ -14,6 +14,10 @@ final class Depends
|
||||
{
|
||||
/**
|
||||
* Adds annotations regarding the "depends" feature.
|
||||
*
|
||||
* @param array<string> $annotations
|
||||
*
|
||||
* @return array<string>
|
||||
*/
|
||||
public function add(TestCaseMethodFactory $method, array $annotations): array
|
||||
{
|
||||
|
||||
@ -13,6 +13,10 @@ final class Groups
|
||||
{
|
||||
/**
|
||||
* Adds annotations regarding the "groups" feature.
|
||||
*
|
||||
* @param array<string> $annotations
|
||||
*
|
||||
* @return array<string>
|
||||
*/
|
||||
public function add(TestCaseMethodFactory $method, array $annotations): array
|
||||
{
|
||||
|
||||
@ -98,6 +98,8 @@ final class TestCaseFactory
|
||||
|
||||
/**
|
||||
* Creates a Test Case class using a runtime evaluate.
|
||||
*
|
||||
* @param array<TestCaseMethodFactory> $methods
|
||||
*/
|
||||
public function evaluate(string $filename, array $methods): string
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user