diff --git a/composer.json b/composer.json index db2fd62b..19c1067d 100644 --- a/composer.json +++ b/composer.json @@ -8,25 +8,22 @@ "require": { "php": ">=8.1", "nette/utils": "^3.2", - "symfony/console": "^6.3", - "sebastian/diff": "^5.0", + "symfony/console": "^6.4|^7.0", + "sebastian/diff": "^5.1", "cweagans/composer-patches": "^1.7", - "illuminate/container": "^10.16", - "symfony/finder": "^6.3" + "illuminate/container": "^10.39", + "symfony/finder": "^6.4|^7.0", + "webmozart/assert": "^1.11" }, "require-dev": { - "phpunit/phpunit": "^10.2", - "rector/rector": "^0.17", + "phpunit/phpunit": "^10.5", + "rector/rector": "^0.18.13", "phpstan/phpstan": "^1.10", "symplify/easy-coding-standard": "^12.0", - "symplify/easy-ci": "^11.3", "symplify/phpstan-extensions": "^11.1", "phpstan/extension-installer": "^1.2", "php-parallel-lint/php-parallel-lint": "^1.3", - "tomasvotruba/type-coverage": "^0.2", - "tomasvotruba/cognitive-complexity": "^0.1", - "tomasvotruba/unused-public": "^0.2", - "tomasvotruba/class-leak": "^0.1" + "tomasvotruba/class-leak": "^0.2" }, "autoload": { "psr-4": { diff --git a/phpstan.neon b/phpstan.neon index adc56587..706478ec 100644 --- a/phpstan.neon +++ b/phpstan.neon @@ -4,11 +4,3 @@ parameters: paths: - src - tests - - cognitive_complexity: - class: 25 - function: 8 - - - ignoreErrors: - - '#Cognitive complexity for "Symplify\\VendorPatches\\Utils\\ParametersMerger\:\:mergeLeftToRightWithCallable\(\)" is 10, keep it under 8#'