You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Background: That security trait requires Symfony's security.helper service to be declared public, see Codeception/module-symfony#138, and there might be more use cases in the future where something has to be explained for an entire trait.
On the framework pages, on each function add a note where the source code lives.
But after thinking some more about it, your idea is even better! Let's drop the alphabetical order in favor of trait "sections" - both in the page and in the index column (right hand side)
Why?
Index: The Symfony Module page now lists 131 actions. These are too many IMO for alphabetical searching (i.e. nobody is scanning this list from top to bottom). Organizing the index into chapters would make it easier.
So the solution would then be to have a docblock for the trait, and this is displayed as "introduction" of this trait's section on the page. So (for now) repeating stuff at multiple functions isn't even necessary.
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 declaredpublic
, see Codeception/module-symfony#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?
The text was updated successfully, but these errors were encountered: