diff --git a/composer.json b/composer.json index 36ba7eb..191791a 100644 --- a/composer.json +++ b/composer.json @@ -29,7 +29,9 @@ "require-dev": { "phplrt/source": "^3.6", "phpunit/phpunit": "^9.6|^10.0", - "vimeo/psalm": "^5.22" + "phpstan/extension-installer": "^1.4", + "phpstan/phpstan": "^1.11", + "phpstan/phpstan-strict-rules": "^1.6" }, "autoload-dev": { "psr-4": { diff --git a/phpstan.neon b/phpstan.neon new file mode 100644 index 0000000..f913176 --- /dev/null +++ b/phpstan.neon @@ -0,0 +1,12 @@ +includes: + - phar://phpstan.phar/conf/bleedingEdge.neon +parameters: + level: 1 + strictRules: + allRules: true + fileExtensions: + - php + paths: + - src + tmpDir: vendor/.cache.phpstan + reportUnmatchedIgnoredErrors: false diff --git a/psalm.xml b/psalm.xml deleted file mode 100644 index 7d47ed8..0000000 --- a/psalm.xml +++ /dev/null @@ -1,16 +0,0 @@ - - - - - - - - - -