~/talk

Refactoring Huge Legacy PHP Applications - From 100 hours to minutes

Talkat Dutch PHP Conference 2019 · 2019-06-06..06-08· [php, legacy-modernisation]
slides:none on file

Claims automated refactoring cuts huge PHP upgrades from weeks to minutes by writing reusable rules and running them across the codebase. Uses Rector built on PHP-Parser with PHPStan for types, applies a rule to 1000 classes in seconds. Demonstrated migrating a 54k‑line MVC app with 150 routes — first run took ~80 hours to craft rules, subsequent runs are minutes; handles countable checks, eval->AST transforms, Twig namespacing and PHPUnit upgrades, and preserves tests.

AI-written summary · about

  1. 0:00Introduction
  2. 1:15Education
  3. 3:10Undocumented BCs
  4. 6:45Code becomes legacy
  5. 12:00Technical details
  6. 13:28Help
  7. 16:55Code Quality
  8. 18:45Code Cleanup
  9. 23:21Troubleshooting
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.