Home > Development Tools > phpstorm > How to configure psr specification reminder in phpstorm

How to configure psr specification reminder in phpstorm

藏色散人
Release: 2020-12-31 15:03:23
forward
3154 people have browsed it

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!

How to configure psr specification reminder in phpstorm

1. Install Code Sniffer:

sudo apt-get install php-pearsudo pear install PHP_CodeSniffer
Copy after login

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!

Related labels:
source:cnblogs.com
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template