nextcloud/tests/data/app/code-checker/test-use.php

13 lines
199 B
PHP
Raw Normal View History

2015-06-15 16:24:45 +03:00
<?php
use OC_AppConfig as UseConfig;
/**
* Class BadClass - creating an instance of a blacklisted class is not allowed
*/
class BadClass {
public function foo() {
$bar = new UseConfig();
}
}