server/tests/data/app/code-checker/test-const.php
2015-10-14 15:29:38 +02:00

10 lines
167 B
PHP

<?php
/**
* Class BadClass - accessing consts on blacklisted classes is not allowed
*/
class BadClass {
public function foo() {
$bar = \OC_API::ADMIN_AUTH;
}
}