Static analysis tools checks PHP code without running them. Fully automated, they bring expertise to review the code, enforce good practices when programming, keep code ready for the next PHP version. PHP 7 has developed tremendously our capacity to audit code. Thanks to AST and return types, it is possible to go deeper and prevent more bugs. During this session, we'll review the current state of static analysis tools, learn what they can find for us, and how to integrate it in the development cycle: security bugs, migration incompatibilities, and directives recommendations. Simply said, better PHP coding.


Comments are closed.

Kevin Stich at 11:29 on 25 Oct 2017

Great overview of the current state of tools and hints at what might be the best focuses for your project(s). Would have been nice to see setting some of these up for automated use as well.

Very interesting and filled with many examples

A very good talk. I'd prefer he'd spent less time on tokenization principles, as "how this works" is not necessarily relevant to "What it can do for me" - and I would have liked to see more examples of how static analysis tools could help enforce coding standards, et al. Still, he was pretty thorough at setting up the goals for this and made me curious to follow it further.

John at 16:35 on 26 Oct 2017

I really wanted to like this talk, but it was too disjointed and unfocused for me to get much from it. I was expecting a list of good tools and discussion of what they each do and how they differ from each other: more practical take-away's. I was hoping to learn, for example, what "cyclomatic complexity" means and how to reduce it, or why I should use PHPStan in addition to PHPMD but not bother with Phan (or whatever).

Julian at 16:58 on 26 Oct 2017

I really like the topic. In my opinion there was too much time spent on less practical things (the first half of the talk). The second half was great because it delivered very practical tools people can use.

Dan Chao at 16:24 on 1 Nov 2017

A great introduction to a whole new topic for me. So much to learn here!