| Conditions | 1 |
| Paths | 1 |
| Total Lines | 11 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 3 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php declare(strict_types=1); |
||
| 33 | function tagBar($tags, int $catid = 0, int $modid = 0): array |
||
| 34 | { |
||
| 35 | $trace = debug_backtrace(DEBUG_BACKTRACE_IGNORE_ARGS, 1); |
||
| 36 | trigger_error(__FUNCTION__ . " is deprecated, called from {$trace[0]['file']} line {$trace[0]['line']}"); |
||
| 37 | $GLOBALS['xoopsLogger']->addDeprecated( |
||
| 38 | 'Tag Module: ' . __FUNCTION__ . " function is deprecated since Tag 2.3.5, please use 'Tag\Tagbar' class instead." . " Called from {$trace[0]['file']}line {$trace[0]['line']}" |
||
| 39 | ); |
||
| 40 | |||
| 41 | $tagbar = new Tagbar(); |
||
| 42 | |||
| 43 | return $tagbar->getTagbar($tags, $catid, $modid); |
||
| 44 | } |
||
| 45 |