in

Writing better Drupal code with static analysis using PHPStan

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.

This post was created with our nice and easy submission form. Create your post!

What do you think?

0 points
Upvote Downvote

Posted by PostNinja

Leave a Reply

Refreshing the Drupal administration UI

Improve Your Website Conversion Rates Using Jetpack