| 1 | <?php |
| 2 | |
| 3 | namespace MediaWiki\Extension\Scribunto\Tests\Engines\LuaCommon; |
| 4 | |
| 5 | use LogicException; |
| 6 | use MediaWiki\Extension\Scribunto\Engines\LuaCommon\LibraryBase; |
| 7 | |
| 8 | class LuaCommonTestsFailLibrary extends LibraryBase { |
| 9 | public function __construct() { |
| 10 | throw new LogicException( 'deferLoad library that is never required was loaded anyway' ); |
| 11 | } |
| 12 | |
| 13 | public function register() { |
| 14 | } |
| 15 | } |