PHPnews.io

Overview for 'ondrejmirtes'

PHPStan 0.12 Released!

Written by Ondřej Mirtes / Original link on Dec. 4, 2019

This is a massive release that has been in the works for the past six months. We’ve managed to churn out minor releases even during the development of this new major version. This continuous workflow was enabled by feature toggles — people were able to try out the new features even while using the …


Generics in PHP using PHPDocs

Written by Ondřej Mirtes / Original link on Dec. 2, 2019

Two years ago I wrote an impactful article on union and intersection types. It helped the PHP community to familiarize themselves with these concepts which eventually led to intersection types support in PhpStorm.I wrote that article because the differences between unions and intersections are usef…