From 4a258568e76df84c583f274f0a8c89c5026b15ea Mon Sep 17 00:00:00 2001 From: Markus Staab Date: Tue, 21 Dec 2021 20:11:14 +0100 Subject: [PATCH] fix php7 test expectations --- tests/PHPStan/Analyser/LegacyNodeScopeResolverTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/PHPStan/Analyser/LegacyNodeScopeResolverTest.php b/tests/PHPStan/Analyser/LegacyNodeScopeResolverTest.php index f61833a752..1a5d6bb5b3 100644 --- a/tests/PHPStan/Analyser/LegacyNodeScopeResolverTest.php +++ b/tests/PHPStan/Analyser/LegacyNodeScopeResolverTest.php @@ -7430,7 +7430,7 @@ public function dataReplaceFunctions(): array { return [ [ - 'string', + 'non-empty-string', '$expectedString', ], [ @@ -7438,7 +7438,7 @@ public function dataReplaceFunctions(): array '$expectedString2', ], [ - 'string|null', + 'non-empty-string|null', '$anotherExpectedString', ], [