kalessil / yii2inspections

MIT License
31 stars 3 forks source link

"Missing @property annotations" inspection improvements #31

Open brandonkelly opened 6 years ago

brandonkelly commented 6 years ago

Before I get into the actual FR, some definitions:

If a getter exists but no corresponding setter, the "Missing @property annotations" inspection should create a @property-read tag instead of @property.

If a setter exists but no corresponding getter, then a @property-write tag should be created instead of @property.

If both exist, then continue to create a @property tag.