PHPNews

PHPStan 0.9: A Huge Leap Forward

It's been a year since I unveiled PHPStan to the world . After 19 releases, more than 480,000 downloads (clocking around 3,600 daily during the workweek), 2,500 stars on GitHub and countless saved hours of developers that use it every day, PHPStan does so much more and is flourishing how I couldn't have ever imagine. …

Continue reading »

Written by Ondřej Mirtes - - Aggregated on Wednesday November 29, 2017


Union Types vs. Intersection Types

One of the headlining features of PHPStan 0.9 is the introduction of intersection types. Since this is a very useful feature that helps us understand the code much better, but the terminology is largely unknown and mysterious to the PHP community, I decided to write up and compare these two kinds of compound types. …

Continue reading »

Written by Ondřej Mirtes - - Aggregated on Monday November 27, 2017


Asynchronous processing with RabbitMQ

Last September I got into my car and drove 600 kilometers from Prague, Czech Republic. PHPCon Poland took place in a secluded compound of a huge hotel near Warsaw, Poland. I was lucky enough to become part of a crammed schedule full of both local and international speakers. My topic of choice was RabbitMQ. I like …

Continue reading »

Written by Ondřej Mirtes - - Aggregated on Thursday January 12, 2017


The Three Pillars of Static Analysis in PHP

My credo is that everything that can be automated should be automated. Computers are really good at repeating tedious tasks and they don’t usually make mistakes while us squishy humans are defined by making mistakes everywhere we go. That’s why you should have a build process and continuous integration environment …

Continue reading »

Written by Ondřej Mirtes - - Aggregated on Sunday December 11, 2016


Slevomat Coding Standard

Every developer team should have a good infrastructure providing and enforcing consistent output of each team member at their fingertips. Coding standard is one of many things holding a project together. It should not be obvious from a code snippet who wrote it. The entire team should have common conventions how to …

Continue reading »

Written by Ondřej Mirtes - - Aggregated on Sunday December 20, 2015