paint-brush
How to configure PHPStorm to use PHP-CS-Fixerby@valeryan
26,372 reads
26,372 reads

How to configure PHPStorm to use PHP-CS-Fixer

by Samuel Hilson4mApril 22nd, 2017
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

The <a href="https://www.jetbrains.com/phpstorm/" target="_blank">PHPStorm</a> IDE by <a href="https://www.jetbrains.com/" target="_blank">JetBrains </a>is probably one of my favorite editors. It has its flaws (constant indexing…), but overall its a great tool for me. However, my focus today is not on PHPStorm per say, but rather how to add the awesome functionality of using <a href="https://github.com/FriendsOfPHP/PHP-CS-Fixer" target="_blank">PHP-CS-Fixer</a> to PHPStorm’s already awesome tools. I am not going to cover the setup of PHP-CS-Fixer because its pretty well covered on the <a href="https://github.com/FriendsOfPHP/PHP-CS-Fixer" target="_blank">project page</a>. Depending on your platform you will need to make some decisions, namely how you configure the rules of PHP-CS-Fixer. I am currently on Windows but I will try to make sure these instructions work in both *nix and Windows environments.

Company Mentioned

Mention Thumbnail
featured image - How to configure PHPStorm to use PHP-CS-Fixer
Samuel Hilson HackerNoon profile picture
Samuel Hilson

Samuel Hilson

@valeryan

L O A D I N G
. . . comments & more!

About Author

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite