Skip to content

Latest commit

 

History

History
9 lines (7 loc) · 596 Bytes

CONTRIBUTING.md

File metadata and controls

9 lines (7 loc) · 596 Bytes

Commands

Here are some of the commands that you'll need:

  • install dependencies: docker run -it --rm -v $PWD:/app -w /app chialab/php-dev:8.2 composer install
  • run tests with phpunit: docker run -it --rm -v $PWD:/app -w /app chialab/php-dev:8.2 composer test
  • reformat using php-cs-fixer: docker run -it --rm -v $PWD:/app -w /app chialab/php-dev:8.2 composer cs-fix
  • reformat the rest with prettier: docker run -it --rm -v $PWD:/app -w /app tmknom/prettier --write .
  • analyse with phpstan: docker run -it --rm -v $PWD:/app -w /app chialab/php-dev:8.2 composer phpstan