Skip to content

Commit

Permalink
test(psalm): Fix psalm for php < 8.4
Browse files Browse the repository at this point in the history
  • Loading branch information
julienloizelet committed Jan 16, 2025
1 parent b4bb739 commit 05ae113
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/coding-standards.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ jobs:
run: ddev phpstan /var/www/html/${{env.EXTENSION_PATH}}/tools/coding-standards phpstan/phpstan.neon /var/www/html/${{env.EXTENSION_PATH}}/src

- name: Run PSALM
if: contains(fromJson('["7.4","8.0","8.1"]'),matrix.php-version)
if: contains(fromJson('["7.4","8.0","8.1","8.2","8.3"]'),matrix.php-version)
run: ddev psalm ./${{env.EXTENSION_PATH}}/tools/coding-standards /var/www/html/${{env.EXTENSION_PATH}}/tools/coding-standards/psalm

- name: Prepare PHP UNIT tests
Expand Down
2 changes: 1 addition & 1 deletion tools/coding-standards/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"phpstan/phpstan": "^1.8.0",
"phpmd/phpmd": "^2.12.0",
"squizlabs/php_codesniffer": "3.7.1",
"vimeo/psalm": "^4.24.0",
"vimeo/psalm": "^4.24.0 || ^5.26",
"phpunit/phpunit": "^9.3",
"phpunit/php-code-coverage": "^9.2.15",
"mikey179/vfsstream": "^1.6.11",
Expand Down

0 comments on commit 05ae113

Please sign in to comment.