Skip to content

Commit 0c0eb98

Browse files
committed
fix phpstan test errors
1 parent 560f1fd commit 0c0eb98

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.github/workflows/static.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717

1818
- name: Pull in optional dependencies
1919
run: |
20-
composer require --no-update symfony/http-kernel symfony/event-dispatcher symfony/process phpunit/phpunit psr/log toflar/psr6-symfony-http-cache-store
20+
composer require --no-update symfony/http-kernel symfony/event-dispatcher symfony/process phpunit/phpunit toflar/psr6-symfony-http-cache-store
2121
composer update --no-dev --no-progress
2222
2323
- name: PHPStan

phpstan.tests.neon.dist

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,6 @@ parameters:
22
level: 1
33
paths:
44
- tests
5+
ignoreErrors:
6+
# we can add the return type declaration when dropping support for PHP < 7.4
7+
- '#Method FOS\\HttpCache\\Tests\\Unit\\SymfonyCache\\AppCache::fetch\(\) should return Symfony\\Component\\HttpFoundation\\Response but return statement is missing.#'

0 commit comments

Comments
 (0)