PhpStorm offers default settings for code styling for a large amount of languages based on best practices and common standards.
But you can customize the styling for each language on a per-project base within the PhpStorm Settings > Editor > Code Style.
Schemes
Schemes are collections of ...
Currently there is no one-click-button method to actually enforce any code style guidelines across a team but there are two methods to make sure a certain code style is applied to your product.
Import PhpStorm Code Style Schemes
The first and more easier solution is to set up a code style scheme o...
PhpStorm already ships with a lot of predefined language schemes that are based on common code style guidelines and standards like PSR-2.
There is kind of a hidden feature in the code style settings pages where you can import these standards and set them as your current configuration. To do so simp...