test-deprecated-constant-sub.php 158 B

12345678
  1. <?php
  2. use OCP\NamespaceName;
  3. /**
  4. * Class BadClass - creating an instance of a blacklisted class is not allowed
  5. */
  6. NamespaceName\ClassName::CONSTANT_NAME;