~/talk

Tomas Votruba — Let Rector do the Boring Work

Talkat Laracon EU 2024 · 2024-02-05..02-06· [php, developer-experience]
slides:none on file

A CLI tool called Rector actually rewrites code to upgrade PHP and frameworks it runs on PHP 7.2 without conflicts inspects composer to pick the right PHP sets and shows changes with dry run and diff it converts single‑statement functions to arrow functions promotes properties to constructor promotion and extracts readonly properties it offers a type coverage level with about 27 rules for tightening types and a that code level for dead‑code removal and a custom rule generator that scaffolds a rule plus test so the upgrade work is automated and CI friendly

AI-written summary · about

  1. 0:00Welcome to Laravel
  2. 5:24Pain of manual upgrades
  3. 8:45Introducing Rector
  4. 10:17Live demo of Rector
  5. 19:14Writing custom Rector rules
  6. 23:08Community Rector sets
  7. 25:18Live Rector package release
  8. 26:44Community contributions
  9. 27:51Q&A
~/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.