Skip to content

kniziol/refactoring-of-if-elseif

Repository files navigation

Refactoring of the elseif block code

Docker

Services Available

  • app - PHP CLI
  • composer - Composer

Run service in Docker container

Run the sh shell:

docker compose run --rm app sh

Show Composer version:

docker compose run --rm composer -V

Composer

Add new package to project

docker compose run --rm composer require <vendor>/<package>

PHPUnit

Run tests with code coverage

docker compose run --rm app php -dxdebug.mode=coverage vendor/bin/phpunit --coverage-html coverage

Infection - Mutation Testing

Running tests

docker compose run --rm app php vendor/bin/infection

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published