Skip to content

Update annotations logic #185

@DenTray

Description

@DenTray

Description


What needs to be done?

- Modify the generation process so that PHPDoc @Property annotations include a $ before each property name, as required by the PHPDoc standard. For example:

  @property int $user_id
  @property int $event_id
  @property InviteSourceEnum $invite_source

- Correct any annotations that lack the $ sign before property names to comply with the PHPDoc standard.
- Make sure all changes follow the specification described here: https://manual.phpdoc.org/HTMLSmartyConverter/PHP/phpDocumentor/tutorial_tags.property.pkg.html

Expected Outcome


What is the expected result?


- All generated files have PHPDoc property annotations correctly using the $ prefix.
- Existing PHPDoc annotations in the codebase related to properties are fixed accordingly.
- Code fully complies with PHPDoc standards for @Property tags.

Verification Scenarios


How can this be tested?


- Search and review all existing annotations with @Property tags in the codebase to ensure they have the $ prefix.
- Open modified files in VS Code and confirm absence of property annotation warnings.
- Confirm application functionality is unchanged after annotation updates.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions