exec( 'Declaration of `I1::f()` must be compatible with `I2::f()`', 'interface_multi_extends_incompatible.php' ); } public function testUnimplementedCollisionOnClassIsRejected(): void { $this->exec( 'Declaration of `I1::f()` must be compatible with `I2::f()`', 'interface_collision_unimplemented.php' ); } public function testCompatibleAndSatisfiedCollisionsAreAccepted(): void { $this->compile('interface_collision_valid.php'); } }