Skip to content

Commit acb6b62

Browse files
committed
Upgrade to both PHPUnit 10+ & Psalm 6
1 parent 7c8d0b1 commit acb6b62

File tree

4 files changed

+15
-3
lines changed

4 files changed

+15
-3
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@ phpstan:
1313
vendor/bin/phpstan analyse
1414

1515
tests:
16-
vendor/bin/phpunit --verbose
16+
vendor/bin/phpunit
1717

1818
.PHONY: tests

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,9 @@
4040
"phpstan/extension-installer": "^1.4",
4141
"phpstan/phpstan": "2.1.17",
4242
"phpstan/phpstan-phpunit": "2.0.6",
43-
"phpunit/phpunit": "^9.6.6",
43+
"phpunit/phpunit": "^10 || ^11 || ^12",
4444
"rector/rector": "2.0.17",
4545
"symfony/phpunit-bridge": "^6.4 || ^7.0",
46-
"vimeo/psalm": "^4.6 || ^5.0"
46+
"vimeo/psalm": "^6"
4747
}
4848
}

psalm-baseline.xml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<files psalm-version="6.12.0@cf420941d061a57050b6c468ef2c778faf40aee2">
3+
<file src="src/AbstractTerminableCommand.php">
4+
<UnusedClass>
5+
<code><![CDATA[AbstractTerminableCommand]]></code>
6+
</UnusedClass>
7+
</file>
8+
</files>

psalm.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,15 @@
55
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
66
xmlns="https://getpsalm.org/schema/config"
77
xsi:schemaLocation="https://getpsalm.org/schema/config vendor/vimeo/psalm/config.xsd"
8+
errorBaseline="psalm-baseline.xml"
89
>
910
<projectFiles>
1011
<directory name="src" />
1112
<ignoreFiles>
1213
<directory name="vendor" />
1314
</ignoreFiles>
1415
</projectFiles>
16+
<issueHandlers>
17+
<MissingOverrideAttribute errorLevel="suppress" />
18+
</issueHandlers>
1519
</psalm>

0 commit comments

Comments
 (0)