nextcloud/tests/data/app/code-checker/test-static-call.php

11 lines
171 B
PHP
Raw Normal View History

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