[wp-trac] [WordPress Trac] #52217: Fix code issues identified by PHPStan

WordPress Trac noreply at wordpress.org
Fri Jul 16 17:17:16 UTC 2021


#52217: Fix code issues identified by PHPStan
-------------------------+-------------------------------
 Reporter:  johnbillion  |       Owner:  (none)
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  5.9
Component:  General      |     Version:
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |     Focuses:  coding-standards
-------------------------+-------------------------------

Comment (by szepe.viktor):

 Replying to [comment:10 hellofromTonya]:

 > Caution: Using it will be expensive in terms of effort and time.

 PHPStan has a feature called "baseline" all false positives, todos,
 anything can go into the baseline file.
 It makes it possible to keep further development at quality high.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/52217#comment:12>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list