How Unhandled exception works
PhpStorm is the IDE for PHP and web development. It helps you to write code effectively by providing code completion, refactorings, and also different kinds of so-called inspections. Each inspection is a tool for static code analysis aimed at finding possible errors or simply helping to keep your code clean. Many inspections are available out of the box, e.g., Undefined variable, Unreachable statement, and Unused import, to name a few. The Unhandled exception inspection is one of them. It reveals exceptions that are thrown but actually neither caught nor documented. In the presentation, I will talk about the problems the PhpStorm team faced implementing the inspection and about the solutions we’ve achieved by this time.