diff --git a/composer.json b/composer.json index 43d550a..a1dd865 100644 --- a/composer.json +++ b/composer.json @@ -26,7 +26,9 @@ }, "require-dev": { "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 @@ - - - - - - - - - -