Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

crazyfactory/php-sniffs

Open more actions menu

Repository files navigation

php-codestyles

Crazy Factory default code styles to be used with Squizlabs' codesniffer and PHPCSFixer.

Install

  1. Create a file easy-coding-standard.neon in the root path of project with at least below contents:
includes:
  - vendor/crazyfactory/sniffs/easy-coding-standard.neon
  1. Run composer require-dev crazyfactory/sniffs

43 Add a linting command to composer.json

  "scripts": {
    "lint": "ecs check src cron tests --clear-cache",
    "lint:fix": "ecs check src cron tests --clear-cache --fix"
  }

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Morty Proxy This is a proxified and sanitized view of the page, visit original site.