From 8f75bed7eaa74d7058e79954a871c27167e03b07 Mon Sep 17 00:00:00 2001 From: Ondrej Mirtes Date: Wed, 19 Jan 2022 15:35:55 +0100 Subject: [PATCH] Reproduce problem with attribute on PHP 7.4 --- .github/workflows/other-tests.yml | 3 +++ e2e/attribute-74/test.neon | 2 ++ e2e/attribute-74/test.php | 13 +++++++++++++ 3 files changed, 18 insertions(+) create mode 100644 e2e/attribute-74/test.neon create mode 100644 e2e/attribute-74/test.php diff --git a/.github/workflows/other-tests.yml b/.github/workflows/other-tests.yml index 9f1f987973..f41b9c67cc 100644 --- a/.github/workflows/other-tests.yml +++ b/.github/workflows/other-tests.yml @@ -132,6 +132,9 @@ jobs: cd e2e/api-platform-trait composer install ../../phpstan analyse -l 9 test.php + - | + cd e2e/attribute-74 + ../../phpstan analyse -l 9 test.php -c test.neon include: - php-version: 8.0 ini-values: memory_limit=256M diff --git a/e2e/attribute-74/test.neon b/e2e/attribute-74/test.neon new file mode 100644 index 0000000000..a9d8e60640 --- /dev/null +++ b/e2e/attribute-74/test.neon @@ -0,0 +1,2 @@ +parameters: + phpVersion: 70400 diff --git a/e2e/attribute-74/test.php b/e2e/attribute-74/test.php new file mode 100644 index 0000000000..ce39b54074 --- /dev/null +++ b/e2e/attribute-74/test.php @@ -0,0 +1,13 @@ +