Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
20 lines (15 sloc) 400 Bytes
<?php
/** @noinspection PhpHierarchyChecksInspection */
set_error_handler(function (int $level, string $message, string $file, int $line) {
if (error_reporting() === 0) {
return;
}
throw new ErrorException($message, 0, $level, $file, $line);
});
interface foo
{
public function bar();
}
class baz implements foo
{
}
You can’t perform that action at this time.