Dave Liddament (@DaveLiddament) header
Dave Liddament (@DaveLiddament) profile picture

Owner of @lampbristol. Conference speaker. Organiser of @phpsw and Bristol PHP Training meetups. Author of SARB: https://teapaw.org/t.co/Y7fDzIUflb…

Bristol, England
Joined June 2014
Photo by Dave Liddament (@DaveLiddament)Photo by Dave Liddament (@DaveLiddament)Photo by Dave Liddament (@DaveLiddament)Photo by Dave Liddament (@DaveLiddament)Photo by Dave Liddament (@DaveLiddament)Photo by Dave Liddament (@DaveLiddament)Photo by Dave Liddament (@DaveLiddament)Photo by Dave Liddament (@DaveLiddament)Photo by Dave Liddament (@DaveLiddament)Photo by Dave Liddament (@DaveLiddament)
Dave Liddament retweeted
Taking over someone else's unfinished work in 2022: Open GitHub, there's a PR there. +673 -241 diff. Checkout the branch, run tests. They pass. Spend 2 hours reading the code to understand it. There's a weird if statement that you don't understand why it's there. You ask the coworker who opened the PR. He says it's because some obscure payload field can be null and now it all makes sense, you understand all the code. Read the ticket again to see what's missing and write rest of code. +871 -308 final diff. Merge PR. ✅ Done. Taking over someone else's work in 2026: Open GitHub. There's a PR there. +87341 -32651 diff. Tell Claude to read the ticket and see what's left. Claude comes up with 5 bullet points of what's left to do. You understand none of them. There are 15 markdown files in the PR your coworker's agent dumped for future context. You open them. 3000 lines each. You understand none of it. Ask Claude to explain it like you're 5. Claude outputs words that are coherent but you still understand none of it. You tell Claude to make diagrams to explain the architecture. A tiny bit of it starts making sense. There's some weird service "Transactional Reconciliation Service" you don't understand why it's there. Claude says it shouldn't be there and the markdown files don't specify why it's there. You ask the coworker about that service. He has no idea what you're talking about, he needs to ask his agent. His Claude makes an artifact that explains why that service is slop that was written by the subagent who implemented it and shouldn't be there at all. The coworker hands that artifact to you. He hasn't read it. You hand the artifact to your Claude. Your Claude advices to remove the service and proposes 4 different solutions to replace it. You understand none of the solutions but there is one which seems to make more sense. You ask the coworker if that's a good call. He has no idea what any of that means, he asks his agent. His agent says it's a good solution but it's missing an important edge case. He copy pastes the agent output in Slack. You copy paste the Slack message into your Claude. Your Claude says that you're absolutely right, that this is an important edge case that was not handled in the initial solution. Claude proposes a small fix to cover it and asks if it should implement it along with the other 5 bullet points. You say ok, Claude starts writing code. PR diff grows to +97564 -41698. You ask Claude if everything in the ticket is implemented. Claude starts reviewing the code. Claude says that most of it is implemented, but comes up with 5 bullet points of things that are missing. You are confused, it already came up with 5 bullet points the first time you asked. These seem different bullet points that only came up after reviewing the code though, so you say ok, implement it. Claude writes code. PR +102467 -45790 diff. You ask if now it's all done. Claude reviews the code. Says it's mostly done but there 3 low priority items that are not yet implemented. You don't understand any of the items but since they're low priority you figure out they don't matter much, so you click merge. PR spends 3 hours in the merge queue for CI to go green, then it merges. Next Monday your coworker asks his agent to deploy to AWS. Your agent's code now runs in production. 2 hours later the whole backend is down. No one knows why. Your coworker asks his agent to investigate. After 20 minutes it finds the code that threw an unhandled error when some payload came up with an obscure null field. Your coworker doesn't recognize any of that code and his agent says it should not be there but you wrote it so your coworker should check with you first. He asks you about that code. You've never seen that code in your entire life. You ask your agent about it. Your Claude says the error was thrown because the code never expected that obscure field to be null. The code was in "Transactional Reconciliation Service".
450
1,353
366
16,503
1,605,903
Since #phpstan 2.3.0 a single rule can subscribe to multiple node types. Using MultipleNodeTypesRule interface some rules can be implemented more efficiently.
3
4
15
1,187
I wanted to stop controllers calling external services, however deep in the call graph. So I built a PHPStan extension: mark external calls as 'slow', forbid 'slow' in controllers, and let it flag violations. Probably has many other uses too. github.com/DaveLiddament/php…
3
6
26
1,222
Dave Liddament retweeted
PHPBENELUX IS BACK! Join us in Edegem on January 23, 2027 for another epic edition of PHPBenelux Conference! Watch the trailer youtube.com/watch?v=XplawTed… More information conference.phpbenelux.eu
10
3
14
3,389
Thanks @laravellivedk for putting on an amazing conference. It was great to be part of it. This was only my second Laravel conference and everyone made me feel incredibly welcome, what an amazing community!
2
1
18
1,316
Dave Liddament retweeted
Only at a Laravel event can you meet someone for the first time and then go on an adventure to Sweden together. So fun. Thank you @DaveLiddament @EmmaDSCodes
1
2
39
1,430
Dave Liddament retweeted
Time for @phpsw’s very own @DaveLiddament at @laravellivedk!
1
5
306
We are happy to announce @DaveLiddament 🇬🇧 as our next speaker. A director and developer at Lamp Bristol with over 20 years of experience, Dave is a respected voice on static analysis and code quality, and knows generics in PHP inside out. We are excited to welcome him.
1
2
6
465
Looking forward to speaking @laravelliveuk about @rectorphp It's a deep dive covering why Rector matters. How it works, and how to create your own custom rules. By the end of the talk you'll be ready to write your first custom Rector! 🎟️ laravellive.uk
5
1
14
1,297
Move beyond basic linting for AI-generated code🚀 Catch @DaveLiddament's talk at #SymfonyOnline June 2026 to dive deep into PHPStan internals, ASTs, and the Rule interface. Learn to build custom rules that enforce strict architectural guidelines! 💻
AI code needs guardrails! 🛑 Join Dave Liddament at #SymfonyOnline June to learn how to write custom PHPStan rules and reframe your testing pyramid for the AI era⚡ symfony.com/blog/symfonyonli…
1
1
2
5
1,172
Dave Liddament retweeted
🤖 Now live: @DaveLiddament at #Symfony_Live Berlin 2026 AI can write your code… but should you trust it? 👀 Dave shows how #PHPStan keeps things clean, safe & consistent! #Symfony #PHP #TechEvent
1
4
245
Dave Liddament retweeted
🎤 Speaker Announcement! @DaveLiddament will be talking about "Rector Beyond Upgrades: Transforming Your Workflow". 🎟️ Get your tickets: laravellive.uk
2
1
10
1,418
Like many software developers, I fear AI will be taking most of our jobs. My plumber friend, Louise Blockidge, and I are starting a bootcamp to retrain software developers as plumbers; the pay is great and it won't get take by AI. Find out more: daveliddament.co.uk/articles…
1
166
I'm back from an excellent few days at Confoo, where I gave two talks. One on testing, the other on custom PHPStan rules. There were many other amazing talks and lots of interesting hallway chats. Along with Mount Royal at night. A walk in the snow. And Canada's best Poutine.
1
145
Dave Liddament retweeted
Are your projects running on the latest PHP and fw? There is much more value to automate. Visit talk by @DaveLiddament Rector Beyond Upgrades: Transforming Your Workflow Next Friday at @dpcon ↓ phpconference.nl/session/rec…
1
3
5
757
Dave Liddament retweeted
Yesterday we had PHP Thames Valley in Reading. Thanks to @DaveLiddament and @MintopiaUK for bringing us not one, but two magnificent talks! Follow us for future events: meetup.com/php-thames-valley
1
3
95
Dave Liddament retweeted
this video will be referenced over and over in the next 20 years.
113
2,086
118
23,393
1,178,938
AI is a bubble, but too many people confuse a bad investment strategy with the tech itself. AI will not go away after the bubble bursts any more than websites went away after the dot-com crash. The tech is too useful (though not the panacea the hype mongers would have us believe). AI is not “Web 3.0.” That’s not to say there are no problems (and yes, this post will bring out the haters who will conveniently ignore how many of the worst of those problems are being addressed. AI is a major investor in clean energy, for example). However, useful almost wins out over hysteria, at least in the marketplace. Given that the tech won’t just disappear, our time is better spent fixing the problems than screaming that the sky is falling. Isn’t that what we techies are supposed to do: Fix problems?
28
11
1
139
15,753
I had a great conversation with @__edorian. We talked about his upcoming @PHPUKConference talk about performance and also what it is like to be the PHP release manager. youtube.com/watch?v=PYhuj7E1… Tickets for PHP-UK (20th Feb) phpconference.co.uk/tickets Use DAVEPHPUK for 10% off
109