Skip to content

Latest commit

 

History

History
51 lines (35 loc) · 1.3 KB

Contributing.md

File metadata and controls

51 lines (35 loc) · 1.3 KB

ClientServerMessageExamplesChangelog • Contributing

Websocket: Contributing

Everyone is welcome to help out! But to keep this project sustainable, please ensure your contribution respects the requirements below.

PR Requirements

Requirements on pull requests;

  • All tests MUST pass.
  • Code coverage MUST remain at 100%.
  • Code MUST adhere to PSR-1 and PSR-12 code standards.

Base your patch on corresponding version branch, and target that version branch in your pull request.

  • v1.6-master current version
  • v1.5-master previous version, bug fixes only
  • Older versions should not be target of pull requests

Dependency management

Install or update dependencies using Composer.

# Install dependencies
make install

# Update dependencies
make update

Code standard

This project uses PSR-1 and PSR-12 code standards.

# Check code standard adherence
make cs-check

Unit testing

Unit tests with PHPUnit, coverage with Coveralls

# Run unit tests
make test

# Create coverage
make coverage