diff --git a/.github/workflows/code_analysis.yaml b/.github/workflows/code_analysis.yaml index fe3dfaaf..93c72c4e 100644 --- a/.github/workflows/code_analysis.yaml +++ b/.github/workflows/code_analysis.yaml @@ -36,10 +36,6 @@ jobs: name: 'PHP Linter' run: vendor/bin/parallel-lint src tests - - - name: 'Check Commented Code' - run: vendor/bin/easy-ci check-commented-code src tests --ansi - - name: 'Check Active Classes' run: vendor/bin/class-leak check bin src --ansi 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#' diff --git a/src/Console/VendorPatchesApplication.php b/src/Console/VendorPatchesApplication.php deleted file mode 100644 index 08c24c81..00000000 --- a/src/Console/VendorPatchesApplication.php +++ /dev/null @@ -1,20 +0,0 @@ -addCommands($commands); - parent::__construct(); - } -}