Replace instanceof checks in JsonThrowOnErrorDynamicReturnTypeExtension #21967
Annotations
4 errors
PHPStan
Process completed with exit code 1.
|
PHPStan:
src/Type/Php/JsonThrowOnErrorDynamicReturnTypeExtension.php#L0
Ignored error pattern #^Doing instanceof PHPStan\\Type\\Constant\\ConstantStringType is error\-prone and deprecated\. Use Type\:\:getConstantStrings\(\) instead\.$# (phpstanApi.instanceofType) in path D:\a\phpstan-src\phpstan-src\src\Type\Php\JsonThrowOnErrorDynamicReturnTypeExtension.php was not matched in reported errors.
|
PHPStan:
src/Type/Php/JsonThrowOnErrorDynamicReturnTypeExtension.php#L0
Ignored error pattern #^Doing instanceof PHPStan\\Type\\ConstantScalarType is error\-prone and deprecated\. Use Type\:\:isConstantScalarValue\(\) or Type\:\:getConstantScalarTypes\(\) or Type\:\:getConstantScalarValues\(\) instead\.$# (phpstanApi.instanceofType) in path D:\a\phpstan-src\phpstan-src\src\Type\Php\JsonThrowOnErrorDynamicReturnTypeExtension.php was not matched in reported errors.
|
|
Loading