mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-23 10:38:45 +02:00
Re-dump autoloader and composer.lock
This commit is contained in:
@@ -123,7 +123,7 @@ class ReflectionClassResource implements SelfCheckingResourceInterface
|
||||
yield print_r($attributes, true);
|
||||
$attributes = [];
|
||||
|
||||
yield $class->getDocComment();
|
||||
yield $class->getDocComment() ?: '';
|
||||
yield (int) $class->isFinal();
|
||||
yield (int) $class->isAbstract();
|
||||
|
||||
@@ -135,6 +135,14 @@ class ReflectionClassResource implements SelfCheckingResourceInterface
|
||||
yield print_r($class->getConstants(), true);
|
||||
}
|
||||
|
||||
foreach ($class->getReflectionConstants() as $constant) {
|
||||
foreach ($constant->getAttributes() as $a) {
|
||||
$attributes[] = [$a->getName(), (string) $a];
|
||||
}
|
||||
yield $constant->name.print_r($attributes, true);
|
||||
$attributes = [];
|
||||
}
|
||||
|
||||
if (!$class->isInterface()) {
|
||||
$defaults = $class->getDefaultProperties();
|
||||
|
||||
@@ -145,7 +153,7 @@ class ReflectionClassResource implements SelfCheckingResourceInterface
|
||||
yield print_r($attributes, true);
|
||||
$attributes = [];
|
||||
|
||||
yield $p->getDocComment();
|
||||
yield $p->getDocComment() ?: '';
|
||||
yield $p->isDefault() ? '<default>' : '';
|
||||
yield $p->isPublic() ? 'public' : 'protected';
|
||||
yield $p->isStatic() ? 'static' : '';
|
||||
|
||||
Reference in New Issue
Block a user