Overview for 'ondrejmirtes'
Written by Ondřej Mirtes
/ Original link
on Mar. 1, 2020
Strongly-typed object-oriented code helps me tremendously during refactoring. When I realize I need to pass more information from one place to another, I usually take my first step by changing a return typehint, or adding a required parameter to a method. Running PHPStan after making these changes…
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…
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…
Written by Ondřej Mirtes
/ Original link
on Oct. 23, 2019
Martin Hujer published a write-up on how he uses PHPStan to a full extent in a real-world application that combines Symfony Framework with Doctrine ORM and is tested by PHPUnit.The benefits are clear — if you make PHPStan understand the code that uses a framework with its own conventions, you get…
Written by Ondřej Mirtes
/ Original link
on Apr. 2, 2018
When developing an application, our aim as software developers is to make sure it does what it ought to do and to keep the number of defects as low as possible. We should also strive to make our lives easier, to counter external circumstances like tight deadlines and ever-changing requirements caus…
Written by Ondřej Mirtes
/ Original link
on Nov. 30, 2017
I don't really understand your question, but you can try the on-line playground at https://phpstan.org to see what is and isn't reported. Ping back with the results! :)