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

13 lines
199 B
PHP

<?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();
}
}