elliotchance / elliotchance/concise
Deep comparisons with self::ANYTHING
Open
Component: Matcher
Size: 2 (Medium)
Type: Feature
- Dominant language
- PHP
- Stars
- 45
- Forks
- 3
- PR merge metrics
- No merged PRs in 30d
Description
The `self::ANYTHING` is used as a placeholder for mocks, but it should also be used for deep companions:
``` php
$this->assert($myObject)->equals([
'id' => 123,
'name' => self::ANYTHING
]);
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.