Skip to content

Commit

Permalink
allow Psalm 5.26 to run with PHP 8.4 runtime
Browse files Browse the repository at this point in the history
  • Loading branch information
llaville committed Jan 17, 2025
1 parent c29b7f9 commit e1eea9b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ Note: Can be used with `oxsecurity/megalinter@beta` in your GitHub Action mega-l

- Core
- PHP Linters use now the `bartlett/sarif-php-converters` first official release 1.0.0 to generate SARIF reports
- [Upgrade PHP engine from 8.3 to 8.4](https://github.com/oxsecurity/megalinter/issues/4351) and allow Psalm 5.26 to run on this context (by @llaville)

- New linters
- Reactivate clj-style (Clojure formatter) since its bug is fixed
Expand Down
2 changes: 1 addition & 1 deletion megalinter/descriptors/php.megalinter-descriptor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ linters:
install:
dockerfile:
- |
RUN GITHUB_AUTH_TOKEN="$(cat /run/secrets/GITHUB_TOKEN)" && export GITHUB_AUTH_TOKEN && phive --no-progress install psalm -g --trust-gpg-keys 8A03EA3B385DBAA1,12CE0F1D262429A5
RUN GITHUB_AUTH_TOKEN="$(cat /run/secrets/GITHUB_TOKEN)" && export GITHUB_AUTH_TOKEN && composer config --global platform.php 8.3 && composer global require vimeo/psalm
ide:
idea:
- name: PHPStan / Psalm / Generics
Expand Down

0 comments on commit e1eea9b

Please sign in to comment.