diff --git a/tests/PHPStan/Build/RequiredPhpVersionCommentTest.php b/tests/PHPStan/Build/RequiredPhpVersionCommentTest.php index baddecb153b..cf7f4487d6d 100644 --- a/tests/PHPStan/Build/RequiredPhpVersionCommentTest.php +++ b/tests/PHPStan/Build/RequiredPhpVersionCommentTest.php @@ -32,6 +32,7 @@ public static function dataFixtures(): iterable __DIR__ . '/../Analyser/data', __DIR__ . '/../Analyser/nsrt', __DIR__ . '/../Analyser/Fiber/data', + __DIR__ . '/../../bench/data', ]; $dataFinder = new Finder(); diff --git a/tests/bench/data/bug-11283.php b/tests/bench/data/bug-11283.php index f0c4b3fc17f..26c83f50b7b 100644 --- a/tests/bench/data/bug-11283.php +++ b/tests/bench/data/bug-11283.php @@ -1,4 +1,6 @@ -= 8.0 + +declare(strict_types=1); namespace Bug11283; diff --git a/tests/bench/data/bug-12159.php b/tests/bench/data/bug-12159.php index d39ae6bd946..352d59d91f5 100644 --- a/tests/bench/data/bug-12159.php +++ b/tests/bench/data/bug-12159.php @@ -1,4 +1,4 @@ -= 8.3 namespace Bug12159; diff --git a/tests/bench/data/bug-13352.php b/tests/bench/data/bug-13352.php index 49f116938ae..9b23609caca 100644 --- a/tests/bench/data/bug-13352.php +++ b/tests/bench/data/bug-13352.php @@ -1,4 +1,4 @@ -= 8.0 namespace Bug13352; diff --git a/tests/bench/data/bug-14319.php b/tests/bench/data/bug-14319.php index a685e2a815a..9b7f376e047 100644 --- a/tests/bench/data/bug-14319.php +++ b/tests/bench/data/bug-14319.php @@ -1,4 +1,4 @@ -= 8.0 namespace BenchBug14319; diff --git a/tests/bench/data/impure-call-columns.php b/tests/bench/data/impure-call-columns.php index edc2cd6b234..be1f90e151c 100644 --- a/tests/bench/data/impure-call-columns.php +++ b/tests/bench/data/impure-call-columns.php @@ -1,4 +1,4 @@ -= 8.0 namespace ImpureCallColumnsBench; diff --git a/tests/bench/data/union-fast-path.php b/tests/bench/data/union-fast-path.php index 82ffcad7209..68d318ad0a8 100644 --- a/tests/bench/data/union-fast-path.php +++ b/tests/bench/data/union-fast-path.php @@ -1,4 +1,4 @@ -= 8.0 namespace UnionFastPath; diff --git a/tests/bench/data/wordpress-user.php b/tests/bench/data/wordpress-user.php index c574d4bd34d..6ec36f3ae56 100644 --- a/tests/bench/data/wordpress-user.php +++ b/tests/bench/data/wordpress-user.php @@ -1,4 +1,4 @@ -= 8.0 namespace BenchComplexUnion;