mirror of
https://github.com/zhamao-robot/zhamao-framework.git
synced 2026-07-22 16:15:34 +08:00
update some comments and redundant code
This commit is contained in:
@@ -68,6 +68,7 @@ class TextGenerateCommand extends Command
|
||||
continue;
|
||||
}
|
||||
$time = '> 更新时间:' . date('Y-m-d', strtotime($v['published_at']));
|
||||
// TODO: 匹配用户名 @xxx 和 PR 链接 https://xxx.com,添加可点击的访问链接
|
||||
$line .= '## v' . $v['tag_name'] . "\r\n\r\n" . $time . "\r\n\r\n" . trim(str_replace("## What's Changed", '', $v['body'])) . "\r\n\r\n";
|
||||
}
|
||||
$line = str_replace("\r\n", "\n", $line);
|
||||
|
||||
@@ -24,7 +24,7 @@ class PluginMeta implements \JsonSerializable
|
||||
private array $dependencies;
|
||||
|
||||
/** @var null|string 插件的根目录 */
|
||||
private ?string $root_dir = null;
|
||||
private ?string $root_dir;
|
||||
|
||||
/** @var int 插件类型 */
|
||||
private int $plugin_type;
|
||||
|
||||
Reference in New Issue
Block a user