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

/**
 * Class BadClass - calling static methods on blacklisted classes is not allowed
 */
class BadClass {
	public function foo() {
		OC_App::isEnabled('bar');
	}
}