test-deprecated-constant-alias.php 159 B

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