YOURLS/tests/data/plugins/invalid-code/invalid_class_not_found.php

15 lines
364 B
PHP

<?php
/**
* Plugin Name: Invalid Test Plugin
* Plugin URI: https://github.com/YOURLS/YOURLS
* Description: This plugin should fail
* Version: 1.0
* Author: Ozh
* Author URI: https://ozh.org/
*/
// This plugin does nothing. Its role is to be loaded by the unit tests and
// see if the sandbox is able to NOT load it.
new \YOURLS\Invalid\Class\Not\Found();