diff --git a/phpstan.neon b/phpstan.neon index c4b2e1b5..36ae3df3 100644 --- a/phpstan.neon +++ b/phpstan.neon @@ -52,8 +52,3 @@ parameters: - message: '#Cannot call method getName\(\) on PHPStan\\Reflection\\ClassReflection\|null#' path: rules/CodeQuality/Reflection/MethodParametersAndReturnTypesResolver.php - - # due to https://github.com/rectorphp/type-perfect/pull/69 - - - message: '#Parameters should have "PhpParser\\Node\\Stmt\\Expression" types as the only types passed to this method#' - path: rules/PHPUnit100/Rector/StmtsAwareInterface/ExpectsMethodCallDecorator.php diff --git a/rules/PHPUnit100/Rector/StmtsAwareInterface/ExpectsMethodCallDecorator.php b/rules/PHPUnit100/Rector/StmtsAwareInterface/ExpectsMethodCallDecorator.php index 39f71a1e..95cfce8d 100644 --- a/rules/PHPUnit100/Rector/StmtsAwareInterface/ExpectsMethodCallDecorator.php +++ b/rules/PHPUnit100/Rector/StmtsAwareInterface/ExpectsMethodCallDecorator.php @@ -28,8 +28,6 @@ public function __construct( * Replace $this->expects(...) * with * $expects = ... - * - * @param Expression $expression */ public function decorate(Expression $expression): MethodCall|StaticCall|null {