From e4eaca13785eb111c8fe179fd292eea43b2ab003 Mon Sep 17 00:00:00 2001 From: paranoiq Date: Fri, 24 Feb 2023 17:49:12 +0100 Subject: [PATCH] Strict rules... --- build/PHPStan/phpstan.neon | 2 ++ composer.json | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/build/PHPStan/phpstan.neon b/build/PHPStan/phpstan.neon index 000fbf7a..90fc8297 100644 --- a/build/PHPStan/phpstan.neon +++ b/build/PHPStan/phpstan.neon @@ -1,5 +1,7 @@ includes: + #- ../../vendor/phpstan/phpstan-strict-rules/rules.neon + #- ../../vendor/phpstan/phpstan/conf/bleedingEdge.neon - phpstan.conf.php parameters: diff --git a/composer.json b/composer.json index 1a47cfd1..983e4578 100644 --- a/composer.json +++ b/composer.json @@ -18,7 +18,8 @@ }, "require-dev": { "dogma/dogma-dev": "0.1.29", - "phpstan/phpstan": "1.10.2" + "phpstan/phpstan": "1.10.2", + "phpstan/phpstan-strict-rules": "^1.0" }, "suggest": { "ext-dom": "for Dom (basic functionality)",