Skip to content

Commit

Permalink
Throw a ReflectionException that can be caught by Psalm
Browse files Browse the repository at this point in the history
  • Loading branch information
muglug authored Mar 4, 2019
1 parent 81d9220 commit a700c89
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/FakeMetaCommand.php
Original file line number Diff line number Diff line change
@@ -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.");
});
}
}

0 comments on commit a700c89

Please sign in to comment.