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

7 lines
139 B
PHP

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