From e11b753a537e0ddd29d58906f34644c7e904f3e7 Mon Sep 17 00:00:00 2001 From: Hosmel Quintana Date: Sat, 25 Jan 2025 13:50:37 -0600 Subject: [PATCH] support PHPStan extension-installer --- README.md | 2 ++ composer.json | 7 +++++++ 2 files changed, 9 insertions(+) diff --git a/README.md b/README.md index 47b192c..c75be18 100644 --- a/README.md +++ b/README.md @@ -460,6 +460,8 @@ includes: - ./vendor/archtechx/enums/extension.neon ``` +*Note: If you have installed [`phpstan/extension-installer`](https://github.com/phpstan/extension-installer#usage), the extension is automatically included.* + ## Development Run all checks locally: diff --git a/composer.json b/composer.json index ec33155..bf94ae1 100644 --- a/composer.json +++ b/composer.json @@ -34,5 +34,12 @@ "allow-plugins": { "pestphp/pest-plugin": true } + }, + "extra": { + "phpstan": { + "includes": [ + "extension.neon" + ] + } } }