Skip to content

Latest commit

 

History

History
34 lines (21 loc) · 798 Bytes

CONTRIBUTING.md

File metadata and controls

34 lines (21 loc) · 798 Bytes

CONTRIBUTING

RESOURCES

RUNNING TESTS

  • Install dependencies via composer composer install
  • Run test composer test

Running Coding Standards Checks

This component uses phpcs for coding standards checks, and provides configuration for our selected checks. phpcs is installed by default via Composer.

To run checks only:

$ composer cs-check

phpcs also includes a tool for fixing most CS violations, phpcbf:

$ composer cs-fix

If you allow phpcbf to fix CS issues, please re-run the tests to ensure they pass, and make sure you add and commit the changes after verification.