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

9 lines
159 B
PHP
Raw Normal View History

2015-06-15 15:20:38 +00:00
<?php
2015-06-15 15:50:37 +00:00
use OCP\NamespaceName\ClassName as Alias;
2015-06-15 15:20:38 +00:00
/**
* Class BadClass - creating an instance of a blacklisted class is not allowed
*/
2015-06-15 15:50:37 +00:00
Alias::CONSTANT_NAME;