Resource icon

Static analysis for XenForo addons with PHPStan

Sim

Well-known member
Licensed customer
Sim submitted a new resource:

Static analysis for XenForo addons with PHPStan - How to use PHPStan to perform static analysis on XenForo addons to complement unit testing

A tutorial on how to use static analysis to find bugs or potential problems with your addon code - and how to set up hampel/xenforo-phpstan, an open-source composer package that helps a developer analyse XenForo addons. By the end you should have a clean run at level 2 on an add-on of your own and know what the next levels will ask of you.

What static analysis is​


Static analysis reads your code without running it, and reports what cannot be right....

Read more about this resource...
 
Back
Top Bottom