mirror of
https://github.com/danog/psalm-plugin-laravel.git
synced 2024-11-30 04:39:01 +01:00
Throw a ReflectionException that can be caught by Psalm
This commit is contained in:
parent
81d92207ed
commit
a700c89061
@ -1,12 +1,14 @@
|
||||
<?php
|
||||
|
||||
namespace Psalm\LaravelPlugin;
|
||||
|
||||
class FakeMetaCommand extends \Barryvdh\LaravelIdeHelper\Console\MetaCommand
|
||||
{
|
||||
/**
|
||||
/**
|
||||
* @return void
|
||||
*/
|
||||
protected function registerClassAutoloadExceptions() {
|
||||
}
|
||||
}
|
||||
spl_autoload_register(function ($class) {
|
||||
throw new \ReflectionException("Class '$class' not found.");
|
||||
});
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user