diff --git a/composer.json b/composer.json index de7547c..2a08056 100644 --- a/composer.json +++ b/composer.json @@ -17,7 +17,13 @@ "cleverage/soap-process-bundle": "^3.0", "cleverage/ui-process-bundle": "^3.0", "league/flysystem-sftp-v3": "^3.0", - "symfony/flex": "^v2.3" + "symfony/cache": "^6.4 || ^7.4 || ^8", + "symfony/cache-contracts": "^3", + "symfony/flex": "^v2.3", + "symfony/framework-bundle": "^6.4 || ^7.4 || ^8", + "symfony/http-kernel": "^6.4 || ^7.4 || ^8", + "symfony/password-hasher": "^6.4 || ^7.4 || ^8", + "symfony/scheduler": "^6.4 || ^7.4 || ^8" }, "require-dev": { "doctrine/doctrine-fixtures-bundle": "^3 || ^4", @@ -26,7 +32,7 @@ "phpstan/phpstan": "*", "phpstan/phpstan-doctrine": "*", "phpstan/phpstan-symfony": "*", - "phpunit/phpunit": "*", + "phpunit/phpunit": "^10.5 || ^11 || ^12 || ^13", "rector/rector": "*", "roave/security-advisories": "dev-latest", "symfony/browser-kit": "^6.4 || ^7.4 || ^8", diff --git a/rector.php b/rector.php index 23aa5f8..0c4dde0 100644 --- a/rector.php +++ b/rector.php @@ -14,7 +14,7 @@ ]) ->withPhpSets(php82: true) // here we can define, what prepared sets of rules will be applied - ->withComposerBased(symfony: true) + ->withComposerBased(phpunit: true, symfony: true) ->withPreparedSets(deadCode: true, codeQuality: true, doctrineCodeQuality: true, symfonyCodeQuality: true) ->withAttributesSets(symfony: true, doctrine: true) ->withSets([