upgrade to phpstan level 6

This commit is contained in:
Fabio Ivona
2021-11-15 12:23:53 +01:00
parent f6004e07c1
commit ffd4e6d577
7 changed files with 25 additions and 10 deletions

View File

@ -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
{

View File

@ -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
{

View File

@ -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
{