Skip to content

Commit 95f5eea

Browse files
committed
Use cpx to run Psalm (avoid conflicts)
1 parent 1e3f984 commit 95f5eea

File tree

2 files changed

+6
-11
lines changed

2 files changed

+6
-11
lines changed

composer.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,8 @@
1616
},
1717
"require-dev": {
1818
"interaction-design-foundation/coding-standard": "^0.3.0",
19-
"orchestra/testbench-core": "^9.7",
20-
"phpunit/phpunit": "^11.0",
21-
"vimeo/psalm": "^5.22"
19+
"orchestra/testbench-core": "^8.30 || ^9.7",
20+
"phpunit/phpunit": "^11.0"
2221
},
2322
"repositories": [
2423
{
@@ -59,7 +58,9 @@
5958
"cs": "@cs:fix",
6059
"cs:check": "phpcs -p -s --colors --report-full --report-summary",
6160
"cs:fix": "phpcbf -p --colors",
62-
"psalm": "vendor/bin/psalm",
61+
"psalm": "cpx psalm",
62+
"sa": "@psalm",
63+
"sa:bl": "cpx psalm --set-baseline=psalm-baseline.xml --long-progress --threads=1",
6364
"test": "phpunit --colors=always"
6465
}
6566
}

psalm-baseline.xml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,2 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<files psalm-version="5.22.2@d768d914152dbbf3486c36398802f74e80cfde48">
3-
<file src="src/HtmlCard.php">
4-
<PropertyNotSetInConstructor>
5-
<code><![CDATA[HtmlCard]]></code>
6-
</PropertyNotSetInConstructor>
7-
</file>
8-
</files>
2+
<files psalm-version="5.26.1@d747f6500b38ac4f7dfc5edbcae6e4b637d7add0"/>

0 commit comments

Comments
 (0)