Setting up PhpStorm
From MoodleDocs
PhpStorm is a commercial IDE, it is arguably the best IDE for PHP developers with features such as code completion, code inspection, phpunit support, Behat support, database editor, debugger, etc.
General settings
TODO
Code formatting
TODO
Code checker
TODO