test-use.php 199 B

123456789101112
  1. <?php
  2. use OC_AppConfig as UseConfig;
  3. /**
  4. * Class BadClass - creating an instance of a blacklisted class is not allowed
  5. */
  6. class BadClass {
  7. public function foo() {
  8. $bar = new UseConfig();
  9. }
  10. }