Ignore PHPStan error 'missingType.return' for test methods

This commit is contained in:
Jérôme Tamarelle
2026-01-09 21:21:57 +01:00
parent 0ad8e79aee
commit da1dfa9fa8

View File

@@ -24,3 +24,8 @@ parameters:
-
message: '#Class Symfony\\Bundle\\MakerBundle\\Maker\\LegacyApiTestCase not found#'
path: src/Maker/*
-
message: '#^Method .*Test\:\:test\w+\(.* has no return type specified\.$#'
identifier: missingType.return
path: tests/*