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

11 lines
171 B
PHP

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