mirror of
https://github.com/MarijnDoeve/TijdVoorDeTest.git
synced 2026-03-05 20:44:19 +01:00
This commit introduces the ability to clear quiz results and delete quizzes directly from the backoffice. It includes new routes, controllers, modals for user confirmation, and updates to translations. The `QuizRepository` now supports dedicated methods for clearing results and deleting quizzes along with error handling. Related database migrations and front-end adjustments are also included.
35 lines
882 B
PHP
35 lines
882 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
use Rector\Config\RectorConfig;
|
|
|
|
return RectorConfig::configure()
|
|
->withPaths([
|
|
__DIR__.'/config',
|
|
__DIR__.'/public',
|
|
__DIR__.'/src',
|
|
__DIR__.'/tests',
|
|
])
|
|
->withSymfonyContainerXml('var/cache/dev/App_KernelDevDebugContainer.xml')
|
|
->withParallel()
|
|
->withPhpSets()
|
|
->withPreparedSets(
|
|
deadCode: true,
|
|
codeQuality: true,
|
|
codingStyle: true,
|
|
typeDeclarations: true,
|
|
privatization: true,
|
|
instanceOf: true,
|
|
earlyReturn: true,
|
|
strictBooleans: true,
|
|
rectorPreset: true,
|
|
phpunitCodeQuality: true,
|
|
doctrineCodeQuality: true,
|
|
symfonyCodeQuality: true,
|
|
// naming: true
|
|
)
|
|
->withAttributesSets(all: true)
|
|
->withComposerBased(twig: true, doctrine: true, phpunit: true, symfony: true)
|
|
;
|