Problem/Motivation

The @property annotations in some doc blocks is wrong. This leads to errors in phpstan.

Related issue: https://github.com/mglaman/phpstan-drupal/issues/403

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

CommentFileSizeAuthor
#2 3279502-2.patch2.46 KBwebflo

Comments

webflo created an issue. See original summary.

webflo’s picture

Status: Active » Needs review
StatusFileSize
new2.46 KB
spokje’s picture

Status: Needs review » Reviewed & tested by the community

I couldn't find any more @property annotations without a leading $ after applying this patch.

RTBC for me.

alexpott’s picture

Version: 10.0.x-dev » 9.3.x-dev
Status: Reviewed & tested by the community » Fixed

Committed and pushed da8f764fa4 to 10.0.x and 931357249a to 9.5.x and 49b3a6c35b to 9.4.x and 9d8501cb00 to 9.3.x. Thanks!

Backported to 9.3.x as this is a document fix.

  • alexpott committed da8f764 on 10.0.x
    Issue #3279502 by webflo: Fix invalid @property annotations
    

  • alexpott committed 9313572 on 9.5.x
    Issue #3279502 by webflo: Fix invalid @property annotations
    
    (cherry...

  • alexpott committed 49b3a6c on 9.4.x
    Issue #3279502 by webflo: Fix invalid @property annotations
    
    (cherry...

  • alexpott committed 9d8501c on 9.3.x
    Issue #3279502 by webflo: Fix invalid @property annotations
    
    (cherry...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.