From 81375b71c176f680880a95e7448d84258cfb5c72 Mon Sep 17 00:00:00 2001 From: Hosmel Quintana Date: Fri, 6 Jun 2025 17:15:09 -0600 Subject: [PATCH] support PHPStan extension-installer (#31) --- 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" + ] + } } }