mirror of
https://github.com/nextcloud/server.git
synced 2026-04-22 06:37:56 -04:00
12 lines
222 B
PHP
12 lines
222 B
PHP
<?php
|
|
|
|
use OCP\NamespaceName\ClassName as Constant;
|
|
|
|
/**
|
|
* Class BadClass - creating an instance of a blacklisted class is not allowed
|
|
*/
|
|
class BadClass {
|
|
public function test() {
|
|
return Constant::CONSTANT_NAME;
|
|
}
|
|
}
|