mirror of
https://github.com/MarijnDoeve/TijdVoorDeTest.git
synced 2026-03-05 20:44:19 +01:00
* 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
38 lines
1.2 KiB
PHP
38 lines
1.2 KiB
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
use Rector\Config\RectorConfig;
|
|
use Rector\Symfony\Bridge\Symfony\Routing\SymfonyRoutesProvider;
|
|
use Rector\Symfony\Contract\Bridge\Symfony\Routing\SymfonyRoutesProviderInterface;
|
|
|
|
return RectorConfig::configure()
|
|
->withPaths([
|
|
__DIR__.'/config',
|
|
__DIR__.'/public',
|
|
__DIR__.'/src',
|
|
__DIR__.'/tests',
|
|
])
|
|
->withSkip([__DIR__.'/config/reference.php'])
|
|
->withSymfonyContainerXml(__DIR__.'/var/cache/dev/Tvdt_KernelDevDebugContainer.xml')
|
|
->withSymfonyContainerPhp(__DIR__.'/tests/symfony-container.php')
|
|
->registerService(SymfonyRoutesProvider::class, SymfonyRoutesProviderInterface::class)
|
|
->withParallel()
|
|
->withPhpSets()
|
|
->withPreparedSets(
|
|
deadCode: true,
|
|
codeQuality: true,
|
|
codingStyle: true,
|
|
typeDeclarations: true,
|
|
privatization: true,
|
|
instanceOf: true,
|
|
earlyReturn: true,
|
|
rectorPreset: true,
|
|
phpunitCodeQuality: true,
|
|
doctrineCodeQuality: true,
|
|
symfonyCodeQuality: true,
|
|
)
|
|
->withAttributesSets(all: true)
|
|
->withComposerBased(twig: true, doctrine: true, phpunit: true, symfony: true)
|
|
;
|