Site icon Hip-Hop Website Design and Development

Writing better Cheap WordPress maintenance support plans code with static analysis using PHPStan

Writing better WordPress maintenance support plans code with static analysis using PHPStan

Published on Tuesday 8, January 2021

PHP is a loosely typed interpreted language. That means we cannot compile our scripts and find possible execution errors without doing explicit inspections of our code. It also means we need to rely on conditional type checking or using phpDoc comments to tell other devs or IDE what kind of value to expect. Really there is no way to assess the quality of the code or discover possible bugs without thorough test coverage and regular review.


Source: New feed