我已经为phpcs. 运行phpcs -i证实了这一点:
The installed coding standards are MySource, PEAR, PHPCS,
PSR1, PSR2, Squiz, Zend, WordPress, WordPress-Core,
WordPress-Docs, WordPress-Extra and WordPress-VIP
但是,运行phpcbf -i它似乎phpcbf看不到这些:
The installed coding standards are MySource, PEAR, PSR1,
PSR2, Squiz and Zend
尝试运行--config_set installed_paths我在运行时使用phpcs的phpcbf会导致错误phpcbf。
我怎样才能phpcbf使用我安装的 WordPress 编码标准phpcs?
我使用的是 macOS Sierra 10.12.5