LoginSignup
5
3

More than 5 years have passed since last update.

PhpStormのCode SnifferでCakePHP3系のルールセットを使用する

Posted at

前提

  • phpcsが利用可能な状態になっていること

設定方法

  • 上部メニューより「File」→「Settings」を選択
  • Settingsダイアログの左側メニューより「Editor」→「Inspections」を選択
  • 右側ペインの「PHP」→「PHP Code Sniffer validation」を選択
  • Coding standardの「…」を押下
  • 「[プロジェクトディレクトリ]/vendor/cakephp/cakephp-codesniffer/CakePHP/ruleset.xml」を指定して「OK」ボタンを押下
5
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
5
3