You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
classTestTestextends \PHPUnit\Framework\TestCase {
publicfunctiontestEmitNotice(): void {
$exp = [1, new \stdClass];
$act = [1, new \stdClass];
$this->assertEqualsCanonicalizing($exp, $act);
}
}
PHPUnit 9.0.1 by Sebastian Bergmann and contributors.
PHP Notice: Object of class stdClass could not be converted to int in ./vendor/sebastian/comparator/src/ArrayComparator.php on line 49
PHP Notice: Object of class stdClass could not be converted to int in ./vendor/sebastian/comparator/src/ArrayComparator.php on line 50
. 1 / 1 (100%)
Time: 174 ms, Memory: 8.00 MB
OK (1 test, 1 assertion)
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: