Hi, When I run phpsc on saving file, it takes almost 3 seconds to wait.
I am using python3. And I have modified phpcs.py in line 182.
`
// bofore
return data.decode()
//after
return data.decode('UTF-8', 'ignore')
`
the console informations is as below:
[Phpcs] D:/PHP_CodeSniffer-3.0.1/PHP_CodeSniffer-3.0.1/bin/phpcs.bat --report=checkstyle -n --standard=Shenma D:\ui\sm_common\application\Search\Shortcut\Module\Peoplestar.php [Phpcs] D:/PHP_CodeSniffer-3.0.1/PHP_CodeSniffer-3.0.1/bin/phpcs.bat --report=checkstyle -n --standard=Shenma D:\ui\sm_common\application\Search\Shortcut\Module\Peoplestar.php [Phpcs] cwd: D:\ui\sm_common\application\Search\Shortcut\Module [Phpcs] MZ // this step takes too long time [Phpcs] Linter found 0 errors [Phpcs] Sniffer found 0 errors
Hi, When I run phpsc on saving file, it takes almost 3 seconds to wait. I am using python3. And I have modified phpcs.py in line 182. ` // bofore return data.decode()
//after return data.decode('UTF-8', 'ignore') `
the console informations is as below:
[Phpcs] D:/PHP_CodeSniffer-3.0.1/PHP_CodeSniffer-3.0.1/bin/phpcs.bat --report=checkstyle -n --standard=Shenma D:\ui\sm_common\application\Search\Shortcut\Module\Peoplestar.php [Phpcs] D:/PHP_CodeSniffer-3.0.1/PHP_CodeSniffer-3.0.1/bin/phpcs.bat --report=checkstyle -n --standard=Shenma D:\ui\sm_common\application\Search\Shortcut\Module\Peoplestar.php [Phpcs] cwd: D:\ui\sm_common\application\Search\Shortcut\Module [Phpcs] MZ // this step takes too long time [Phpcs] Linter found 0 errors [Phpcs] Sniffer found 0 errors
thanks for your help.