From 980eef5b684bf8d71f2ff2049219e1a5b86b494f Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Thu, 25 Feb 2021 10:49:16 +0100 Subject: [PATCH] Fix InstalledVersions issues in PHPStan by including the local file first --- phpstan/config.neon | 3 +++ 1 file changed, 3 insertions(+) diff --git a/phpstan/config.neon b/phpstan/config.neon index e4f0d99e8..fdb2dfdce 100644 --- a/phpstan/config.neon +++ b/phpstan/config.neon @@ -29,6 +29,9 @@ parameters: - '~^Call to an undefined static method Composer\\Test\\PolyfillTestCase::setExpectedException\(\)\.$~' - '~^Call to an undefined method Composer\\Test\\[a-zA-Z0-9\\]+::(assertFileDoesNotExist|assertMatchesRegularExpression)\(\)\.$~' + bootstrapFiles: + - ../tests/bootstrap.php + paths: - ../src - ../tests