summaryrefslogtreecommitdiffstats
path: root/tests/data/app/code-checker/test-const.php
blob: 2af6baf2f3dbf8e8f98b3ba51b6be075c38313f6 (plain)
1
2
3
4
5
6
7
8
9
10
<?php

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