Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Improve PHPDoc descriptions of Attribute classes and parameters #51920

Copy link
Copy link
@GromNaN

Description

@GromNaN
Issue body actions

Description

Attributes are used in application codebase to configure specific behaviors. It's sometimes difficult, especially for a novice, to understand the purpose of an attribute or one of its parameters. To improve the developer experience, I suggest adding a description for each attribute class and parameter. Even if it seems obvious, it's a good idea to be explicit.

If you want to work on a class, or a set of classes, please comment this issue before to avoid duplicate work by someone else.

List of all attributes classes to track the progress (checked = doc is complete):

Can be ignored -> deprecated

Can be ignored -> already good 👍

Todo

In progress

Already done

Example

The Symfony\Component\HttpKernel\Attribute\Cache class is the perfect example of what needs to be done:

  • Add a description to the class header to indicate its purpose and what it does
  • Add a description of each constructor argument

Metadata

Metadata

Assignees

No one assigned

    Labels

    Good first issueIdeal for your first contribution! (some Symfony experience may be required)Ideal for your first contribution! (some Symfony experience may be required)Keep open

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.