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

11 lines
167 B
PHP
Raw Normal View History

<?php
/**
* Class BadClass - accessing consts on blacklisted classes is not allowed
*/
class BadClass {
public function foo() {
2015-10-14 16:15:42 +03:00
$bar = \OC_API::ADMIN_AUTH;
}
}