PhpStorm

PhpStromでphpcsの設定

1. phpcsインストール Windows の場合 composer は導入済みとする > composer.bat global require "squizlabs/php_codesniffer=*" Changed current directory to C:/Users/foo/AppData/Roaming/Composer ./composer.json has been created Loading composer repositories with package information Updating dependencies (including require-dev) Package operations: 1 install, 0 updates, 0 removals - Installing squizlabs/php_codesniffer (3.3.0): Downloading (100%) Writing lock file Generating autoload files 場