Home > Article > Development Tools > How to configure psr specification reminder in phpstorm
The following tutorial column of phpstorm will introduce to you how to configure psr specification reminder in phpstorm. I hope it will be helpful to friends in need!
1. Install Code Sniffer:
sudo apt-get install php-pearsudo pear install PHP_CodeSniffer
2.phpstorm select sniffer configuration:
File-->setting --->Language & Frameworkd-->php----->Quality Tools:
Choose the code sniffer path you installed through apt:/usr /bin/ directory, select phpcs
to configure the psr rules you need:
File->setting->Editor->inspections:
The above is the detailed content of How to configure psr specification reminder in phpstorm. For more information, please follow other related articles on the PHP Chinese website!