include path when counting errors ignored by identifier #14409
Annotations
10 errors
src/Helper/EnumTypeHelper.php#L16
Doing instanceof PHPStan\Type\ArrayType is error-prone and deprecated. Use Type::isArray() or Type::getArrays() instead.
|
src/Helper/EnumTypeHelper.php#L20
Doing instanceof PHPStan\Type\IntersectionType is error-prone and deprecated.
|
src/Helper/EnumTypeHelper.php#L35
Ignored error pattern #^Doing instanceof PHPStan\\Type\\TypeWithClassName is error\-prone and deprecated\. Use Type\:\:getObjectClassNames\(\) or Type\:\:getObjectClassReflections\(\) instead\.$# in path /home/runner/work/phpstan-src/phpstan-src/e2e/integration/repo/src/Helper/EnumTypeHelper.php is expected to occur 3 times, but occurred only 1 time.
|
src/Rule/ForbidCustomFunctionsRule.php#L79
Ignored error pattern #^Return type \(array\<string\>\) of method ShipMonk\\PHPStan\\Rule\\ForbidCustomFunctionsRule\:\:processNode\(\) should be compatible with return type \(list\<PHPStan\\Rules\\IdentifierRuleError\>\) of method PHPStan\\Rules\\Rule\<PhpParser\\Node\\Expr\\CallLike\>\:\:processNode\(\)$# in path /home/runner/work/phpstan-src/phpstan-src/e2e/integration/repo/src/Rule/ForbidCustomFunctionsRule.php is expected to occur 5 times, but occurred only 1 time.
|
src/Rule/ForbidCustomFunctionsRule.php#L141
Doing instanceof PHPStan\Type\Constant\ConstantStringType is error-prone and deprecated. Use Type::getConstantStrings() instead.
|
src/Rule/ForbidCustomFunctionsRule.php#L155
Doing instanceof PHPStan\Type\Generic\GenericClassStringType is error-prone and deprecated. Use Type::isClassStringType() and Type::getClassStringObjectType() instead.
|
src/Rule/ForbidCustomFunctionsRule.php#L215
Doing instanceof PHPStan\Type\Constant\ConstantStringType is error-prone and deprecated. Use Type::getConstantStrings() instead.
|
src/Rule/ForbidCustomFunctionsRule.php#L237
Doing instanceof PHPStan\Type\Constant\ConstantStringType is error-prone and deprecated. Use Type::getConstantStrings() instead.
|
src/Rule/ForbidUnusedExceptionRule.php#L40
Ignored error pattern #^Return type \(array\<string\>\) of method ShipMonk\\PHPStan\\Rule\\ForbidUnusedExceptionRule\:\:processNode\(\) should be compatible with return type \(list\<PHPStan\\Rules\\IdentifierRuleError\>\) of method PHPStan\\Rules\\Rule\<PhpParser\\Node\\Expr\>\:\:processNode\(\)$# in path /home/runner/work/phpstan-src/phpstan-src/e2e/integration/repo/src/Rule/ForbidUnusedExceptionRule.php is expected to occur 2 times, but occurred only 1 time.
|
src/Rule/ForbidUnusedExceptionRule.php#L90
Doing instanceof PHPStan\Type\TypeWithClassName is error-prone and deprecated. Use Type::getObjectClassNames() or Type::getObjectClassReflections() instead.
|
This job failed
Loading