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

11 lines
170 B
PHP

<?php
/**
* Class BadClass - creating an instance of a blacklisted class is not allowed
*/
class BadClass {
public function foo() {
$bar = new OC_AppConfig();
}
}