32

How we Completed Thousands of Missing @var Annotations in a Day | Tomas Votruba

 5 years ago
source link: https://www.tomasvotruba.cz/blog/2019/07/29/how-we-completed-thousands-of-missing-var-annotations-in-a-day/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client
I'm currently working as Rector consultant for Spaceflow, Prague-based rising startup with very nice codebase. One of the pre-requisites for Rector is to have code that static analyser can work with. PHPStan that Rector uses depends on @var annotations and not every property had that. Well... over 2500 of them.I'll show you how we completed them without any manual change of the code and how you can do the same... today.

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK