server/tests/data/app/code-checker/test-deprecated-constant-sub.php
2015-07-17 12:34:56 +02:00

8 lines
158 B
PHP

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