diff --git a/composer.json b/composer.json index 111c26c..281945f 100644 --- a/composer.json +++ b/composer.json @@ -8,13 +8,13 @@ "require": { "php": ">=8.3", "ibexa/core": "~6.0.x-dev || ^6.0", - "ibexa/doctrine-schema": "~6.0.x-dev || ^6.0" + "ibexa/doctrine-schema": "~6.0.x-dev || ^6.0", + "phpstan/phpstan-strict-rules": "^2" }, "require-dev": { "ibexa/code-style": "~2.0.0", "phpstan/phpstan": "^2", "phpstan/phpstan-phpunit": "^2", - "phpstan/phpstan-strict-rules": "^2", "phpstan/phpstan-symfony": "^2", "phpunit/phpunit": "^11.5" }, diff --git a/extension.neon b/extension.neon index 5f1b453..92e6949 100644 --- a/extension.neon +++ b/extension.neon @@ -8,3 +8,5 @@ parameters: rules: - Ibexa\PHPStan\Rules\NoConfigResolverParametersInConstructorRule - Ibexa\PHPStan\Rules\RequireClosureReturnTypeRule + - PHPStan\Rules\StrictCalls\DynamicCallOnStaticMethodsRule + - PHPStan\Rules\StrictCalls\DynamicCallOnStaticMethodsCallableRule