3 ms·
If you are a PHP user and use Intellij/Phpstorm then this https://plugins.jetbrains.com/plugin/7622-php-inspections-ea-extended- https://plugins.jetbrains.com/p
by noir_lord 9y ago
If you are a PHP user and use Intellij/Phpstorm then this https://plugins.jetbrains.com/plugin/7622-php-inspections-ea-extended- https://plugins.jetbrains.com/plugin/7622-php-inspections-ea... is utterly incredible.
It catches so much stuff, I've been using PHP since 2009 and it there was still stuff I was doing day to day it flagged me for, it's not only that it makes you write better code but it catches so much stuff that you no longer have to hold in your head (things like "Method throws an unhandled exception" etc).
In terms of "wow" (impact vs amount of effort required) it's second only to TypeScript in the last year or so for me.
Not a co-incidence that both tools add better type checking (amongst a lot of other useful stuff) to the languages I was stuck using.
- muglug 9y agoThanks for the recommendation – I've used PHPStorm when doing large refactors, and it's incredible. Unfortunately, you can't force everyone to use it (especially given its price). That's why a bunch of people have written separate PHP static analysis tools: Phan (https://github.com/phan/phan https://github.com/phan/phan), PHPStan (https://github.com/phpstan/phpstan https://github.com/phpstan/phpstan) and Psalm (https://github.com/vimeo/psalm https://github.com/vimeo/psalm), the last of which I created.
- exceptione 9y agoPsalm looks good, would be nice to integrate it into eclipse pdt as a plugin.
- muglug 9y agoIDE integration is a long-term goal – presumably via the Language Server Protocol.
- minxomat 9y agoThank you, that's a very useful plugin.