Skip to content

Commit 6ef858b

Browse files
pscheitclaude
andcommitted
Allow hamcrest-php ^3.0
Native typehints landed in hamcrest 3.0.0; object-asserter is compatible (no matcher extension, tests + phpstan green). Replaces the dev constraint ^2.1|3.0.x@dev with ^2.1 || ^3.0. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent f22e950 commit 6ef858b

2 files changed

Lines changed: 9 additions & 12 deletions

File tree

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"type": "library",
55
"require": {
66
"php": ">=8.2",
7-
"hamcrest/hamcrest-php": "^2.1|3.0.x@dev"
7+
"hamcrest/hamcrest-php": "^2.1 || ^3.0"
88
},
99
"require-dev": {
1010
"phpunit/phpunit": "^12",

composer.lock

Lines changed: 8 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)