Hi, I tried to install the PHPCompatibility config set with this command phpcs --config-set installed_paths /path/to/PHPCodeSniffer/PHPCompatibility-9.3.5 but I received this error message: PHP Warning: file_put_contents(/usr/share/php/data/PHP_CodeSniffer/CodeSniffer.conf): failed to open stream: No such file or directory in /usr/share/php/PHP/CodeSniffer/src/Config.php on line 1598 ERROR: Config file /usr/share/php/data/PHP_CodeSniffer/CodeSniffer.conf could not be written I installed phpcs from portage and it creates /usr/share/php/data/PHP/CodeSniffer/CodeSniffer.conf.dist and the install dir is /usr/share/php/PHP/CodeSniffer
Created attachment 788003 [details] Ebuild with fix This issue remains and installing any additional configs isn't possible. The fix is a trivial change in the Ebuilds src_prepare sed line. Adding the fixed Ebuild (sed on line 30).