diff --git a/composer.json b/composer.json index 68028110d..0b78d6a29 100644 --- a/composer.json +++ b/composer.json @@ -10,7 +10,7 @@ "illuminate/container": "^11.35", "nette/robot-loader": "^4.0", "nette/utils": "^4.0", - "nikic/php-parser": "^5.3", + "nikic/php-parser": "^5.4", "symfony/console": "^6.4", "symfony/finder": "^6.4", "webmozart/assert": "^1.11" @@ -20,11 +20,9 @@ "phpstan/phpstan": "^2.0", "phpunit/phpunit": "^11.5", "rector/rector": "^2.0", - "rector/type-perfect": "^2.0", "shipmonk/composer-dependency-analyser": "^1.8", - "symplify/easy-coding-standard": "^12.4", + "symplify/easy-coding-standard": "^12.5", "tomasvotruba/type-coverage": "^2.0", - "tomasvotruba/unused-public": "^2.0", "tomasvotruba/class-leak": "^2.0", "tracy/tracy": "^2.10" }, diff --git a/phpstan.neon b/phpstan.neon index 21ccdabc0..8b44e9bf7 100644 --- a/phpstan.neon +++ b/phpstan.neon @@ -11,22 +11,12 @@ parameters: - */Fixture/* - */Source/* - type_perfect: - null_over_false: true - no_mixed_property: true - no_mixed_caller: true - narrow_param: true - narrow_return: true - ignoreErrors: # unrelated - '#Parameter \#1 \$className of class Rector\\SwissKnife\\ValueObject\\ClassConstant constructor expects class-string, string given#' - '#Parameter \#1 \$objectOrClass of class ReflectionClass constructor expects class-string\|T of object, string given#' - # false positive callable/closure in type-perfect - - '#Parameters should have "array\|\(Closure\)\|null" types as the only types passed to this method#' - # command status enum - identifier: return.unusedType