From fd7b961c1bdc417655f2b7353532a526334f7195 Mon Sep 17 00:00:00 2001 From: Laurent Brunet Date: Thu, 7 Mar 2024 09:31:09 +0100 Subject: [PATCH 1/2] Add autoload and vendor for phpstan --- phpstan.neon | 3 +++ 1 file changed, 3 insertions(+) diff --git a/phpstan.neon b/phpstan.neon index a1583c3..b2a39fe 100644 --- a/phpstan.neon +++ b/phpstan.neon @@ -7,6 +7,9 @@ parameters: - .castor/ scanFiles: - .castor.stub.php +# - application/vendor/autoload.php +# scanDirectories: +# - application/vendor tmpDir: tools/phpstan/var inferPrivatePropertyTypeFromConstructor: true From e223d075800cce6740d018ce28df744c62ea3f51 Mon Sep 17 00:00:00 2001 From: Laurent Brunet Date: Thu, 7 Mar 2024 09:42:26 +0100 Subject: [PATCH 2/2] Fix comment --- phpstan.neon | 1 - 1 file changed, 1 deletion(-) diff --git a/phpstan.neon b/phpstan.neon index b2a39fe..fe4649f 100644 --- a/phpstan.neon +++ b/phpstan.neon @@ -7,7 +7,6 @@ parameters: - .castor/ scanFiles: - .castor.stub.php -# - application/vendor/autoload.php # scanDirectories: # - application/vendor tmpDir: tools/phpstan/var