Mastering PHPStan Custom Rules with Ondřej Mirtes
Автор: PHP UK Conference
Загружено: 2026-01-02
Просмотров: 184
Описание:
Why write a test for a single bug when you can write a rule that prevents that bug forever? We caught up with Ondřej Mirtes, the creator of PHPStan, to preview his upcoming talk at PHP UK Conference 2026.
We explore the concept of "Defect Driven Design" using Custom Rules, moving beyond standard static analysis to enforce project-specific consistency and architectural decisions. We also discuss how static analysis serves as a testing ground for future PHP language features (like Generics and the never return type) and the special "PHPStan Office Hours" taking place in the hallway track this year.
____________________________________________________________________________________________
00:00 - Introduction: PHPStan at PHP UK
01:00 - What are Custom Rules?
01:41 - Finding Bugs Without Executing Code
06:01 - "Defect Driven Design": Replacing Tests with Rules
08:37 - Enforcing Codebase Consistency
11:16 - Understanding Code at the AST Level
13:13 - From Detection (PHPStan) to Automation (Rector)
19:56 - Static Analysis as a Playground for PHP Features
22:08 - Announcing: PHPStan Office Hours (Hallway Track)
26:19 - Supporting the Project & Commercial Usage
27:21 - The PHP UK Conference experience
____________________________________________________________________________________________
🎟️ See Ondřej live at PHP UK 2026!
📅 February 20th | London, 1 America Square
👉 Tickets Available Now: https://www.phpconference.co.uk/tickets
Повторяем попытку...
Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: