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

9 lines
158 B
PHP

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