Skip to content

Pilot-in/PilotIn-Coding-Standards

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

PilotIn-Coding-Standards

PHP Coding Standards of Pilot'in

Installation steps

  • Having composer installed: Get Composer
  • Having PHP Code Sniffer installed: composer global require "squizlabs/php_codesniffer=*"
  • Having WordPress Coding Standards installed: composer global require dealerdirect/phpcodesniffer-composer-installer phpcompatibility/phpcompatibility-wp squizlabs/php_codesniffer wp-coding-standards/wpcs
  • Download the folder PilotIn of this repo and put it somewhere on your drive.
  • Give the path of this folder to phpcs using: phpcs --config-set installed_paths path/of/your/folder
  • Set the default standard as PilotIn using: phpcs --config-set default_standard PilotIn
  • Restart your terminal to be sure everything is up to date & try: phpcs --config-show to see if everything is set.