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

11 lines
170 B
PHP
Raw Normal View History

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