diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon index 448281f142..9342d24fcb 100644 --- a/phpstan-baseline.neon +++ b/phpstan-baseline.neon @@ -1702,6 +1702,11 @@ parameters: count: 3 path: src/Type/UnionTypeHelper.php + - + message: "#^Doing instanceof PHPStan\\\\Type\\\\CallableType is error\\-prone and deprecated\\. Use Type\\:\\:isCallable\\(\\) and Type\\:\\:getCallableParametersAcceptors\\(\\) instead\\.$#" + count: 2 + path: src/Type/UnionTypeHelper.php + - message: "#^Doing instanceof PHPStan\\\\Type\\\\ConstantScalarType is error\\-prone and deprecated\\. Use Type\\:\\:isConstantScalarValue\\(\\) or Type\\:\\:getConstantScalarTypes\\(\\) or Type\\:\\:getConstantScalarValues\\(\\) instead\\.$#" count: 4