Profile avatar
daveliddament.bsky.social
31 posts 143 followers 92 following
Regular Contributor

I'm on my way to @confooca.bsky.social, I'll be speaking about static analysis and legacy code. I'll be around all conference, so if you want more in depth conversations about either of these topics please get in touch and we can chat further about these topics.

This is my favourite talk to give. PHPStan custom rules and Attributes allow you to add new language features to PHP in a few hours. See examples here: github.com/DaveLiddament/… And join me at PHP Tek to learn how to make your own additions to PHP.

PHP UK Conference 2025 starts tomorrow! 🚀 Just one day away from an amazing event filled with talks and networking with the PHP community. Visit our website for the full speaker line-up and schedule. Plan your day to maximise #phpuk25! 👉 Schedule: https://buff.ly/3PGTQUT #phpuk #php #phpc

Day 20 of PHP Generics. This looks at the extends annotation. We also see how multiple things we've learnt can be used together. vimeo.com/1052595811 #php #generics #phpstan

PHP Generics day 19 looks at the implements annotation: vimeo.com/1046224920

PHP Generics day 18 looks at: class-string<T> vimeo.com/1045819154

Static analysis tools like PHPStan allow PHP developers to create new language features. I gave a talk at PHPCon about how I added C++'s friend keyword to PHP: www.youtube.com/watch?v=Bzs3... Also check out other language extensions: github.com/DaveLiddamen...

PHP Generics day 17 shows how the template annotation can be used on functions... vimeo.com/1044592646

PHP Generics day 16 looks at the type class-string vimeo.com/1044411480

PHP Generics day 15 vimeo.com/1044064020

PHP generics day 14 looks at multiple templates... vimeo.com/1043728515

PHP Generics day 13 continues looking at the template annotation... vimeo.com/1042036106

Day 12 of PHP Generics introduces the template annotation.... vimeo.com/1041810758

PHP Generics day 11. Alternatives to array shapes... vimeo.com/1040879139

Day 10 of PHP Generics looks at array shapes vimeo.com/1040221387

PHP Generics Day 9 - today we look at the type list vimeo.com/1039483916

For PHP Generics day 8 we look at how to add type information to generators... vimeo.com/1039097037

PHP generics day 7 looks at iterable: vimeo.com/1038326643

PHP Generics day 6 looks at array-key vimeo.com/1038015423

Day 5 of PHP Generics we look at the notation: array<key,value> vimeo.com/1037623289 (I know I'm a few days behind, but will catch up this week)

It's day 4 of PHP generics and today we have a quick look at PHPStan... vimeo.com/1036059035

PHP generics day 3 explores the limitations of the PHP type system, and looks at how we can use tools to get round then... vimeo.com/1035603348

For day 2 of the PHP Generics course we look at at the benefits of adding type information to your PHP code. Benefits include: - Self documenting code - Detect and prevent bugs - Enable safe refactoring vimeo.com/1035380617

Want to learn about how to bring the power of generics to PHP? For the next 24 days I'll be releasing a video a day to cover all you need to know about generics in PHP and the tools required. Day 1 - Introduction: vimeo.com/1035029403