diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 1b3895a..59a3500 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -68,10 +68,11 @@ jobs:
composer info -D
- name: Run tests
- env:
- PHP_CS_FIXER_IGNORE_ENV: 1
run: vendor/bin/phpunit ${{ matrix.phpunit-flags }}
+ - name: Run static analysis
+ run: vendor/bin/psalm.phar
+
- name: Run style fixer
env:
PHP_CS_FIXER_IGNORE_ENV: 1
diff --git a/composer.json b/composer.json
index 04fcfca..710d3a0 100644
--- a/composer.json
+++ b/composer.json
@@ -41,8 +41,7 @@
"amphp/phpunit-util": "v2.x-dev",
"amphp/php-cs-fixer-config": "dev-master",
"phpunit/phpunit": "^9",
- "psalm/phar": "^4.7",
- "jetbrains/phpstorm-stubs": "^2019.3"
+ "psalm/phar": "^4.13"
},
"autoload": {
"psr-4": {
diff --git a/psalm.xml b/psalm.xml
index 24f0981..5225354 100644
--- a/psalm.xml
+++ b/psalm.xml
@@ -9,14 +9,12 @@
xsi:schemaLocation="https://getpsalm.org/schema/config vendor/vimeo/psalm/config.xsd"
>
-
-
@@ -35,23 +33,14 @@
-
-
-
-
-
-
-
-
-