phpcs 错误引用旧的项目路径——如何更新路径?
phpcs error references old project path -- how do I update the path?
当我 运行 phpcs 时,它会打印一个错误,引用我的项目以前所在的路径,但不再位于...
PHP Fatal error: Uncaught exception 'UnexpectedValueException' with message 'DirectoryIterator::__construct(/my/old/directory/public_html/coder/coder_sniffer): failed to open dir: No such file or directory' in /usr/share/php/PHP/CodeSniffer.php:2159
如何修复 my/old/directory 路径?
我能够按照 "Install Coder and PHPCS with Composer"
下 https://www.drupal.org/node/1419988 中的说明解决问题
我不需要做 "If you wish to use a different version of coder" 和 "You can also use a git repository" 开始的部分。
当我 运行 phpcs 时,它会打印一个错误,引用我的项目以前所在的路径,但不再位于...
PHP Fatal error: Uncaught exception 'UnexpectedValueException' with message 'DirectoryIterator::__construct(/my/old/directory/public_html/coder/coder_sniffer): failed to open dir: No such file or directory' in /usr/share/php/PHP/CodeSniffer.php:2159
如何修复 my/old/directory 路径?
我能够按照 "Install Coder and PHPCS with Composer"
下 https://www.drupal.org/node/1419988 中的说明解决问题我不需要做 "If you wish to use a different version of coder" 和 "You can also use a git repository" 开始的部分。