nextcloud/tests/data/app/code-checker/test-deprecated-constant-su...

9 lines
165 B
PHP

<?php
use OCP\NamespaceName as SubAlias;
/**
* Class BadClass - creating an instance of a blacklisted class is not allowed
*/
SubAlias\ClassName::CONSTANT_NAME;