diff --git a/composer.json b/composer.json index b105476..773810b 100644 --- a/composer.json +++ b/composer.json @@ -11,7 +11,7 @@ ], "type": "library", "require": { - "php": ">=8.1.0", + "php": ">=8.1.17", "amphp/byte-stream": "^2.1.0", "thecodingmachine/safe": "^2.0", "psr/log": "^3.0", @@ -33,6 +33,10 @@ }, "license": ["AGPL-3.0-or-later"], "scripts": { - "tests": ["phpunit -c phpunit.xml"] + "tests": [ + "phpunit -c phpunit.xml", + "phpstan analyse --memory-limit 512M --no-progress --no-ansi -c phpstan.neon", + "phpcs --no-colors --report=checkstyle --standard=style/Nadybot/ruleset.xml -q src" + ] } } diff --git a/composer.lock b/composer.lock index f44a2bd..f395d62 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "bfe4d81456077eb879fc13bf21ce4a91", + "content-hash": "9cec3407ac7958a59b74202951d20f7d", "packages": [ { "name": "amphp/amp", @@ -5168,7 +5168,7 @@ "prefer-stable": false, "prefer-lowest": false, "platform": { - "php": ">=8.1.0" + "php": ">=8.1.17" }, "platform-dev": [], "plugin-api-version": "2.3.0"