Skip to content

Commit

Permalink
Initial version
Browse files Browse the repository at this point in the history
  • Loading branch information
Dumazeau committed Jan 9, 2024
1 parent baf0e7a commit 03039f8
Show file tree
Hide file tree
Showing 45 changed files with 6,899 additions and 5,208 deletions.
6 changes: 6 additions & 0 deletions .composer-require-checker.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"scan-files": [
"bin/console",
"public/index.php"
]
}
4 changes: 4 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ jobs:
run: |
docker-compose exec -T application composer install --prefer-dist --no-interaction --no-progress
- name: Transitive dependencies check
run: |
docker-compose exec -T application ./vendor/bin/composer-require-checker check composer.json --config-file=.composer-require-checker.json
- name: Execute the tests 🔧
run: |
docker-compose exec -T application php -d extension=pcov.so ./vendor/bin/phpunit --configuration phpunit.xml.dist --colors=never --coverage-text --log-junit reports/junit.xml --coverage-html reports/coverage --coverage-clover build/logs/clover.xml
Expand Down
13 changes: 12 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,20 @@
},
"require": {
"php": "^8.0",
"richcongress/bundle-toolbox": "^1.1"
"doctrine/dbal": "^3.6",
"doctrine/migrations": "^3.0",
"doctrine/orm": "^2.7",
"doctrine/persistence": "^3.1",
"richcongress/bundle-toolbox": "^1.1",
"sensio/framework-extra-bundle": "^5.4|^6.0",
"symfony/config": "^5.4",
"symfony/console": "^5.4",
"symfony/event-dispatcher": "^5.4",
"symfony/dependency-injection": "^5.4",
"doctrine/doctrine-bundle": "^2.4 <2.11.0"
},
"require-dev": {
"maglnet/composer-require-checker": "^3.0",
"phpunit/phpunit": "^9.5",
"richcongress/static-analysis": "^0.1",
"richcongress/test-suite": "^0.1",
Expand Down
Loading

0 comments on commit 03039f8

Please sign in to comment.