Skip to content

Commit

Permalink
Fix test expectations of bug 8610 reproducer
Browse files Browse the repository at this point in the history
  • Loading branch information
staabm committed Dec 29, 2022
1 parent 4b26d13 commit dc3cbbb
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/other-tests.yml
Expand Up @@ -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: |
Expand Down
7 changes: 7 additions & 0 deletions e2e/bug8610/phpstan-baseline.neon
@@ -0,0 +1,7 @@
parameters:
ignoreErrors:
-
message: "#^Instantiated class DoesNotExist not found\\.$#"
count: 1
path: trigger-autoload.php

5 changes: 4 additions & 1 deletion e2e/bug8610/phpstan.neon
@@ -1,6 +1,9 @@
includes:
- phpstan-baseline.neon

parameters:
level: max
paths:
- .
bootstrapFiles:
- autoloader.php
- autoloader.php

0 comments on commit dc3cbbb

Please sign in to comment.