Skip to content

Commit 92e26fe

Browse files
committed
Require safe ^1.2
1.0 and 1.1 use `resource` as a literal type hint, which is interpreted as a class name, which results in error reports (I'm not sure why anybody would be using safe v1.0 or v1.1, but our test suite checks with `--prefer-lowest`, and I'm not sure why that didn't catch this issue earlier)
1 parent 05fa55d commit 92e26fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"require": {
1313
"php": "^8.1",
1414
"phpstan/phpstan": "^2.0",
15-
"thecodingmachine/safe": "^1.0 || ^2.0 || ^3.0",
15+
"thecodingmachine/safe": "^1.2 || ^2.0 || ^3.0",
1616
"nikic/php-parser": "^5"
1717
},
1818
"require-dev": {

0 commit comments

Comments
 (0)