I am a full-stack web developer from Brno, Czech Republic. I contribute to open-source projects, write a technical blog, and speak at meetups and conferences.
PHPStan has only supported invariant and covariant template types because they are so prevalent in real-world applications. But contravariant template types also have their use cases, and the latest release of PHPStan adds support for them, among other small improvements to generics.
In my recent post, I've introduced a PHPStan extension that brings support for sealed classes and interfaces to statically analyzed PHP. Looking back, I feel I haven't stressed the main benefit enough, so here I am doing it justice.
Production is a magical place. People go there and do things, and sometimes, despite the best-typed and tested code, a bug slips through – and it's likely to be all the more bizarre the higher the quality of your code. In such moments, it's invaluable to have a place to find everything that might be relevant to the situation. This talk shows in theory and in practice how to approach logging so that you have perfect oversight of production and no such bug remains an unsolved mystery. Co-presented with Marek Humpolík.