DDD Academy
No upcoming sessions

Static analysis & Automated Refactoring (with PHPStan & Rector)

Essentials
English

Your Instructors

Static analysis & Automated Refactoring (with PHPStan & Rector)

With PHPStan (https://phpstan.org/) you can catch many programming mistakes before they reach your production server. Rector (https://getrector.org/) 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

Sessions & Booking

Upcoming Sessions

No upcoming sessions yet.

Get in touch and we'll keep you posted.

Book for your team

We can organize this workshop privately for your company, tailored to your domain.

Contact us

Stay in the Loop

Get notified about new workshops, early-bird discounts, and exclusive content on DDD, Architecture, and Software Design.

No spam, unsubscribe anytime. Join 5,000+ developers.