From f18bc266994cbcf0de5b051df5e9bbd57f81d784 Mon Sep 17 00:00:00 2001 From: Andrew Welch Date: Thu, 9 Jan 2025 12:23:22 -0500 Subject: [PATCH] refactor: Add `platform` so phpstan with analyze code for our specific platform --- composer.json | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/composer.json b/composer.json index bd8d21f..5ea06f7 100644 --- a/composer.json +++ b/composer.json @@ -55,6 +55,10 @@ "yiisoft/yii2-composer": true }, "optimize-autoloader": true, + "platform": { + "php": "8.2" + }, + "platform-check": false, "sort-packages": true }, "autoload": {