Skip to content

Commit

Permalink
Use cpx to run Psalm (avoid conflicts)
Browse files Browse the repository at this point in the history
alies-dev committed Dec 15, 2024

Verified

This commit was signed with the committer’s verified signature.
alies-dev Alies Lapatsin
1 parent 1e3f984 commit 95f5eea
Showing 2 changed files with 6 additions and 11 deletions.
9 changes: 5 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
@@ -16,9 +16,8 @@
},
"require-dev": {
"interaction-design-foundation/coding-standard": "^0.3.0",
"orchestra/testbench-core": "^9.7",
"phpunit/phpunit": "^11.0",
"vimeo/psalm": "^5.22"
"orchestra/testbench-core": "^8.30 || ^9.7",
"phpunit/phpunit": "^11.0"
},
"repositories": [
{
@@ -59,7 +58,9 @@
"cs": "@cs:fix",
"cs:check": "phpcs -p -s --colors --report-full --report-summary",
"cs:fix": "phpcbf -p --colors",
"psalm": "vendor/bin/psalm",
"psalm": "cpx psalm",
"sa": "@psalm",
"sa:bl": "cpx psalm --set-baseline=psalm-baseline.xml --long-progress --threads=1",
"test": "phpunit --colors=always"
}
}
8 changes: 1 addition & 7 deletions psalm-baseline.xml
Original file line number Diff line number Diff line change
@@ -1,8 +1,2 @@
<?xml version="1.0" encoding="UTF-8"?>
<files psalm-version="5.22.2@d768d914152dbbf3486c36398802f74e80cfde48">
<file src="src/HtmlCard.php">
<PropertyNotSetInConstructor>
<code><![CDATA[HtmlCard]]></code>
</PropertyNotSetInConstructor>
</file>
</files>
<files psalm-version="5.26.1@d747f6500b38ac4f7dfc5edbcae6e4b637d7add0"/>

0 comments on commit 95f5eea

Please sign in to comment.