From dc3cbbb087ffdebb3d03c713eeb52dff38bc3565 Mon Sep 17 00:00:00 2001 From: Markus Staab Date: Thu, 29 Dec 2022 20:31:23 +0100 Subject: [PATCH] Fix test expectations of bug 8610 reproducer --- .github/workflows/other-tests.yml | 2 +- e2e/bug8610/phpstan-baseline.neon | 7 +++++++ e2e/bug8610/phpstan.neon | 5 ++++- 3 files changed, 12 insertions(+), 2 deletions(-) create mode 100644 e2e/bug8610/phpstan-baseline.neon diff --git a/.github/workflows/other-tests.yml b/.github/workflows/other-tests.yml index 25cfcb0360..c30d628236 100644 --- a/.github/workflows/other-tests.yml +++ b/.github/workflows/other-tests.yml @@ -337,7 +337,7 @@ jobs: cd e2e/bug8543 composer install ../../phpstan - - php-version: 8.1 + - php-version: 8.2 ini-values: memory_limit=256M operating-system: ubuntu-latest script: | diff --git a/e2e/bug8610/phpstan-baseline.neon b/e2e/bug8610/phpstan-baseline.neon new file mode 100644 index 0000000000..c8de09e69a --- /dev/null +++ b/e2e/bug8610/phpstan-baseline.neon @@ -0,0 +1,7 @@ +parameters: + ignoreErrors: + - + message: "#^Instantiated class DoesNotExist not found\\.$#" + count: 1 + path: trigger-autoload.php + diff --git a/e2e/bug8610/phpstan.neon b/e2e/bug8610/phpstan.neon index 683809213b..7adb506ae3 100644 --- a/e2e/bug8610/phpstan.neon +++ b/e2e/bug8610/phpstan.neon @@ -1,6 +1,9 @@ +includes: + - phpstan-baseline.neon + parameters: level: max paths: - . bootstrapFiles: - - autoloader.php \ No newline at end of file + - autoloader.php