Bounded Context for the Wikimedia Deutschland fundraising donation subdomain
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
doc
src
tests
.gitignore
.scrutinizer.yml
.travis.yml
Dockerfile
Makefile
README.md
composer.json
docker-compose.yml
phpcs.xml
phpmd.xml
phpunit.xml.dist

README.md

Bounded Context for the Wikimedia Deutschland fundraising donation (sub-)domain. Used by the user facing donation application and the "Fundraising Operations Center" (which is not public software).

Build Status Scrutinizer Code Quality Code Coverage

Development

Installing the dependencies

docker run -it --rm --user $(id -u):$(id -g) -v ~/.composer:/composer -v $(pwd):/app docker.io/composer

Running the tests

make ci

This implicitly builds the app container as defined in docker-compose.yml & Dockerfile and executes all CI checks. For commands that run only a subset, see Makefile.

PHPUnit with filter

Individual commands like PHPUnit with a filter can be run like

docker-compose run --rm app ./vendor/bin/phpunit --filter valid

Architecture

This Bounded Context follows the architecture rules outlined in Clean Architecture + Bounded Contexts.

With the exception that the persistance is still (mostly) in FundraisingStore, and thus not private to this Bounded Context.

Architecture diagram