Yozhef Hisem: How I Learned to Stop Worrying a...

Sponsored · Ship Features Fearlessly Turn features on and off without deploys. Used by thousands of Ruby developers. →

Yozhef Hisem: How I Learned to Stop Worrying and Loved Static Analysis Tools

Yozhef Hisem, Back-end engineer at MacPaw, during this talk discussed different static analysis tools for PHP:
* PHP Inspections Plugin
* PHPStan
* Code Style
* Deptrac
* and also tools to control dependencies versions

The presentation contains example code and other practical information on static analysis of PHP.

MacPaw Tech Talks

July 08, 2020

Annual Pro sale · Save $30

Have presentations of your own?

Share with private links, password protection, and more control over your work.

Transcript

53 slides
  1. Static Analysis Tools for today • PHP Inspections Plugin •

    PHPStan • Code Style • Deptrac • Control dependency version 4
  2. 9

  3. 11

  4. 13

  5. Level checking: 0. basic checks
 1. possibly undefined variables
 2.

    unknown methods checked on all expressions 
 3. return types
 4. basic dead code checking 
 …
 9. report missing typehints 20
  6. 31

  7. PHP Standards Recommendations Accepted - 13 level
 Draft - 2

    level
 Abandoned - 3 level
 Deprecated - 2 level 33
  8. 51

More Decks by MacPaw Tech Talks

Other Decks in Programming