Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions tests/PHPStan/Analyser/LegacyNodeScopeResolverTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -7315,6 +7315,9 @@ public function testReplaceFunctions(
);
}

/**
* @return Generator<string|int, array{string,string}>
*/
public static function dataFilterVar(): Generator
{
$typesAndFilters = [
Expand Down
3 changes: 3 additions & 0 deletions tests/PHPStan/Parser/CachedParserTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@ public function testParseFileClearCache(
);
}

/**
* @return Generator<string, array{cachedNodesByStringCountMax: int,cachedNodesByStringCountExpected: int}>
*/
public static function dataParseFileClearCache(): Generator
{
yield 'even' => [
Expand Down
3 changes: 3 additions & 0 deletions tests/PHPStan/Reflection/ParametersAcceptorSelectorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@
class ParametersAcceptorSelectorTest extends PHPStanTestCase
{

/**
* @return Generator<int,array{Type[], ParametersAcceptor[], bool, ParametersAcceptor}>
*/
public static function dataSelectFromTypes(): Generator
{
require_once __DIR__ . '/data/function-definitions.php';
Expand Down
Loading