Skip to content

thereference/phpstorm-settings

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PhpStorm settings for The Reference Employees

Project setup

  1. In PHPStorm, navigate to File > Settings Repository...
  2. Set the upstream URL to [email protected]:thereference/phpstorm-settings.git
  3. Press overwrite local.

NOTE: Assumes a standard setup: Mac OSX with homebrew installed.

Plugins enabled

The following PhpStorm plugins are installed:

PHP_CodeSniffer and the Drupal coding standards

  1. Install Drupal coder: composer global require drupal/coder
  2. Register the Drupal and DrupalPractice coding standards with PHPCS: phpcs --config-set installed_paths ~/.composer/vendor/drupal/coder/coder_sniffer
  3. Test that it works: phpcs -i. It should include DrupalPractice and Drupal coding standards.

It is recommended to simply let PHP_CodeSniffer fix the errors that can be automated. Simply change to the root of the custom code and run drupalcbf ..

References

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published