elliotchance / elliotchance/concise

Deep comparisons with self::ANYTHING

Open
#332 0 comments 0 reactions 0 assignees View on GitHub
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.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.