PhpStorm, set a custom coding standard

233 Views Asked by At

I have a dockerized WSL with PHP code sniffer installed. Now I stuck to set up "wordpress" coding standard. When I run phpcs -i from WSL it then shows

The installed coding standards are PSR2, PEAR, PSR12, MySource, Squiz, Zend, PSR1, WordPress-Core, WordPress-Docs, WordPress-Extra and WordPress

but the "coding standards" in the settings are still Pear, PSR1, PSR12, PSR2, Squiz, Zend, Custom. How to make it understand that I have WordPress coding standard?

0

There are 0 best solutions below