mirror of
https://github.com/MarijnDoeve/TijdVoorDeTest.git
synced 2026-03-06 12:44:20 +01:00
Create Testcoverage and upgrade Symfomy and PHP
* Some tests * More tests! * Tests 3 * Move getScores from Candidate to Quiz * Add some suggestions for future refactoring * - **Add Gedmo doctrine-extensions and Stof bundle integration** - Added `stof/doctrine-extensions-bundle` and `gedmo/doctrine-extensions` dependencies. - Integrated `Timestampable` behavior for `Created` fields in entities. - Updated `bundles.php` to register StofDoctrineExtensionsBundle. - Added configuration for the Stof bundle. - Simplified `SeasonVoter` with `match` expression and added new tests. - Minor fixes and adjustments across various files. * WIP * All the tests * Base64 tests * Symfomny 7.4.0 * Update * Update recipe * PHP 8.5 * Rector changes * More 8.5 * Things
This commit is contained in:
8
Justfile
8
Justfile
@@ -20,7 +20,7 @@ migrate: up
|
||||
docker compose run --rm php bin/console doctrine:migrations:migrate --no-interaction
|
||||
|
||||
fixtures:
|
||||
docker compose exec php bin/console doctrine:fixtures:load --purge-with-truncate --no-interaction
|
||||
docker compose exec php bin/console doctrine:fixtures:load --purge-with-truncate --no-interaction --group=dev
|
||||
|
||||
translations:
|
||||
docker compose exec php bin/console translation:extract --force --format=xliff --sort=asc --clean nl
|
||||
@@ -39,3 +39,9 @@ phpstan *args:
|
||||
clean:
|
||||
docker compose down -v --remove-orphans
|
||||
rm -rf vendor var assets/vendor public/assets public/bundles .php-cs-fixer.cache .twig-cs-fixer.cache
|
||||
|
||||
reload-tests:
|
||||
@docker compose exec php bin/console --env=test doctrine:database:drop --if-exists --force
|
||||
@docker compose exec php bin/console --env=test doctrine:database:create
|
||||
@docker compose exec php bin/console --env=test doctrine:migrations:migrate -n
|
||||
@docker compose exec php bin/console --env=test doctrine:fixtures:load -n --group=test
|
||||
|
||||
Reference in New Issue
Block a user