Codeception / Codeception/codeception.github.com

Suggestion for modules' web pages: Add a hint to all methods of a certain trait

未关闭
#529 3 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
HTML
星标
24
派生
131
PR 合并指标
30 天内没有已合并 PR

描述

It would be nice to have way to somehow add a hint to some trait (e.g. https://github.com/Codeception/module-symfony/blob/main/src/Codeception/Module/Symfony/SecurityAssertionsTrait.php), and then have this hint displayed at all methods of that trait (e.g. https://codeception.com/docs/modules/Symfony#dontSeeAuthentication).

Background: That security trait requires Symfony's `security.helper` service to be declared `public`, see https://github.com/Codeception/module-symfony/issues/138, and there might be more use cases in the future where something has to be explained for an entire trait.

@Naktibalda what do you think?

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。