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
Check that both warning and unresolved during early binding is handled
3
+
--FILE--
4
+
<?php
5
+
class Test extends SplObjectStorage {
6
+
functionvalid() {}
7
+
functioncurrent(): Unknown {}
8
+
}
9
+
?>
10
+
--EXPECTF--
11
+
Deprecated: Return type of Test::valid() should either be compatible with SplObjectStorage::valid(): bool, or the #[ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in %s on line %d
12
+
13
+
Fatal error: Could not check compatibility between Test::current(): Unknown and SplObjectStorage::current(): object, because class Unknown is not available in %s on line %d
0 commit comments