1
0

test-static-call.php 171 B

12345678910
  1. <?php
  2. /**
  3. * Class BadClass - calling static methods on blacklisted classes is not allowed
  4. */
  5. class BadClass {
  6. public function foo() {
  7. OC_App::isEnabled('bar');
  8. }
  9. }