Matthias Noback

Trainer, writer, and developer of web applications

Workshop - Static analysis & Automated Refactoring (with PHPStan & Rector)

8h Workshop

With PHPStan ( you can catch many programming mistakes before they reach your production server. Rector ( can fix many programming mistakes for you.

Since Rector relies heavily on PHPStan, the first step towards automated refactoring is static analysis. This training focuses on setting up PHPStan for your project, making it part of your development workflow, and extending it with your own rules. At the end of the program we kickstart automated refactoring with Rector.

** Outline ** Static Analysis with PHPStan

  • Setup and configuration
  • Workflow
  • Fixing errors
  • Documenting types
  • Generic types
  • Ignoring errors
  • The Baseline
  • Creating custom rules and type resolvers (TDD style)

Automated Refactoring with Rector

  • Setting up Rector
  • Configuring rules

Register now


Matthias Noback has 20 years of experience in web development, provides training and consultancy, and writes about software architecture and object design on his blog ( and published various books, like "Object Design Style Guide" and "Advanced Web Application Architecture".

See all speakers

Don't miss a thing

We won't spam you, promised