- Output for 5.3.0 - 5.3.28, 5.4.0 - 5.4.28
- Fatal error: Non-abstract method Concrete\Foo\Foo::Derp() must contain body in /in/dViYn on line 14
Process exited with code 255.
<?php
namespace Concrete\Test {
use DerpFoo;
class Test {
public function __construct(Concrete\Foo\FooInterface $foo) {}
}
$f = new Test(new \Concrete\BetterFoo\BetterFoo);
}
namespace Concrete\Foo {
class Foo implements FooInterface {
public function Derp();
}
interface FooInterface {
public function Derp();
}
class_alias('\Concrete\Foo\Foo', 'DerpFoo');
}
namespace Concrete\BetterFoo {
class BetterFoo extends \Concrete\Foo\Foo implements FooInterface {}
}