Skip to content

Add support for PHPStan 2 #231

Add support for PHPStan 2

Add support for PHPStan 2 #231

Triggered via pull request November 11, 2024 09:36
Status Failure
Total duration 34s
Artifacts

integrate.yaml

on: pull_request
Matrix: Coding Standards
Matrix: Static Code Analysis
Matrix: Tests
Fit to window
Zoom out
Zoom in

Annotations

61 errors
Tests (7.4, locked)
Process completed with exit code 2.
Static Code Analysis (7.4, 8.0.0, highest): src/PhpDoc/ObjectProphecy/TypeNodeResolverExtension.php#L55
Doing instanceof PHPStan\Type\TypeWithClassName is error-prone and deprecated. Use Type::getObjectClassNames() or Type::getObjectClassReflections() instead.
Static Code Analysis (7.4, 8.0.0, highest): src/Type/ObjectProphecy/WillExtendOrImplementDynamicReturnTypeExtension.php#L60
Doing instanceof PHPStan\Type\Generic\GenericObjectType is error-prone and deprecated.
Static Code Analysis (7.4, 8.0.0, highest): src/Type/ObjectProphecy/WillExtendOrImplementDynamicReturnTypeExtension.php#L74
Doing instanceof PHPStan\Type\Constant\ConstantStringType is error-prone and deprecated. Use Type::getConstantStrings() instead.
Static Code Analysis (7.4, 8.0.0, highest): src/Type/ObjectProphecy/WillExtendOrImplementDynamicReturnTypeExtension.php#L80
Doing instanceof PHPStan\Type\TypeWithClassName is error-prone and deprecated. Use Type::getObjectClassNames() or Type::getObjectClassReflections() instead.
Static Code Analysis (7.4, 8.0.0, highest): src/Type/Prophet/ProphesizeDynamicReturnTypeExtension.php#L36
Method JanGregor\Prophecy\Type\Prophet\ProphesizeDynamicReturnTypeExtension::getClass() should return class-string but returns string.
Static Code Analysis (7.4, 8.0.0, highest): src/Type/Prophet/ProphesizeDynamicReturnTypeExtension.php#L64
Doing instanceof PHPStan\Type\Constant\ConstantStringType is error-prone and deprecated. Use Type::getConstantStrings() instead.
Static Code Analysis (7.4, 8.0.0, lowest): src/PhpDoc/ObjectProphecy/TypeNodeResolverExtension.php#L55
Doing instanceof PHPStan\Type\TypeWithClassName is error-prone and deprecated. Use Type::getObjectClassNames() or Type::getObjectClassReflections() instead.
Static Code Analysis (7.4, 8.0.0, lowest): src/Type/ObjectProphecy/WillExtendOrImplementDynamicReturnTypeExtension.php#L60
Doing instanceof PHPStan\Type\Generic\GenericObjectType is error-prone and deprecated.
Static Code Analysis (7.4, 8.0.0, lowest): src/Type/ObjectProphecy/WillExtendOrImplementDynamicReturnTypeExtension.php#L74
Doing instanceof PHPStan\Type\Constant\ConstantStringType is error-prone and deprecated. Use Type::getConstantStrings() instead.
Static Code Analysis (7.4, 8.0.0, lowest): src/Type/ObjectProphecy/WillExtendOrImplementDynamicReturnTypeExtension.php#L80
Doing instanceof PHPStan\Type\TypeWithClassName is error-prone and deprecated. Use Type::getObjectClassNames() or Type::getObjectClassReflections() instead.
Static Code Analysis (7.4, 8.0.0, lowest): src/Type/Prophet/ProphesizeDynamicReturnTypeExtension.php#L36
Method JanGregor\Prophecy\Type\Prophet\ProphesizeDynamicReturnTypeExtension::getClass() should return class-string but returns string.
Static Code Analysis (7.4, 8.0.0, lowest): src/Type/Prophet/ProphesizeDynamicReturnTypeExtension.php#L64
Doing instanceof PHPStan\Type\Constant\ConstantStringType is error-prone and deprecated. Use Type::getConstantStrings() instead.
Static Code Analysis (7.4, 9.0.0, locked): src/PhpDoc/ObjectProphecy/TypeNodeResolverExtension.php#L55
Doing instanceof PHPStan\Type\TypeWithClassName is error-prone and deprecated. Use Type::getObjectClassNames() or Type::getObjectClassReflections() instead.
Static Code Analysis (7.4, 9.0.0, locked): src/Type/ObjectProphecy/WillExtendOrImplementDynamicReturnTypeExtension.php#L60
Doing instanceof PHPStan\Type\Generic\GenericObjectType is error-prone and deprecated.
Static Code Analysis (7.4, 9.0.0, locked): src/Type/ObjectProphecy/WillExtendOrImplementDynamicReturnTypeExtension.php#L74
Doing instanceof PHPStan\Type\Constant\ConstantStringType is error-prone and deprecated. Use Type::getConstantStrings() instead.
Static Code Analysis (7.4, 9.0.0, locked): src/Type/ObjectProphecy/WillExtendOrImplementDynamicReturnTypeExtension.php#L80
Doing instanceof PHPStan\Type\TypeWithClassName is error-prone and deprecated. Use Type::getObjectClassNames() or Type::getObjectClassReflections() instead.
Static Code Analysis (7.4, 9.0.0, locked): src/Type/Prophet/ProphesizeDynamicReturnTypeExtension.php#L36
Method JanGregor\Prophecy\Type\Prophet\ProphesizeDynamicReturnTypeExtension::getClass() should return class-string but returns string.
Static Code Analysis (7.4, 9.0.0, locked): src/Type/Prophet/ProphesizeDynamicReturnTypeExtension.php#L64
Doing instanceof PHPStan\Type\Constant\ConstantStringType is error-prone and deprecated. Use Type::getConstantStrings() instead.
Static Code Analysis (7.4, 8.0.0, locked): src/PhpDoc/ObjectProphecy/TypeNodeResolverExtension.php#L55
Doing instanceof PHPStan\Type\TypeWithClassName is error-prone and deprecated. Use Type::getObjectClassNames() or Type::getObjectClassReflections() instead.
Static Code Analysis (7.4, 8.0.0, locked): src/Type/ObjectProphecy/WillExtendOrImplementDynamicReturnTypeExtension.php#L60
Doing instanceof PHPStan\Type\Generic\GenericObjectType is error-prone and deprecated.
Static Code Analysis (7.4, 8.0.0, locked): src/Type/ObjectProphecy/WillExtendOrImplementDynamicReturnTypeExtension.php#L74
Doing instanceof PHPStan\Type\Constant\ConstantStringType is error-prone and deprecated. Use Type::getConstantStrings() instead.
Static Code Analysis (7.4, 8.0.0, locked): src/Type/ObjectProphecy/WillExtendOrImplementDynamicReturnTypeExtension.php#L80
Doing instanceof PHPStan\Type\TypeWithClassName is error-prone and deprecated. Use Type::getObjectClassNames() or Type::getObjectClassReflections() instead.
Static Code Analysis (7.4, 8.0.0, locked): src/Type/Prophet/ProphesizeDynamicReturnTypeExtension.php#L36
Method JanGregor\Prophecy\Type\Prophet\ProphesizeDynamicReturnTypeExtension::getClass() should return class-string but returns string.
Static Code Analysis (7.4, 8.0.0, locked): src/Type/Prophet/ProphesizeDynamicReturnTypeExtension.php#L64
Doing instanceof PHPStan\Type\Constant\ConstantStringType is error-prone and deprecated. Use Type::getConstantStrings() instead.
Static Code Analysis (7.4, 9.0.0, highest): src/PhpDoc/ObjectProphecy/TypeNodeResolverExtension.php#L55
Doing instanceof PHPStan\Type\TypeWithClassName is error-prone and deprecated. Use Type::getObjectClassNames() or Type::getObjectClassReflections() instead.
Static Code Analysis (7.4, 9.0.0, highest): src/Type/ObjectProphecy/WillExtendOrImplementDynamicReturnTypeExtension.php#L60
Doing instanceof PHPStan\Type\Generic\GenericObjectType is error-prone and deprecated.
Static Code Analysis (7.4, 9.0.0, highest): src/Type/ObjectProphecy/WillExtendOrImplementDynamicReturnTypeExtension.php#L74
Doing instanceof PHPStan\Type\Constant\ConstantStringType is error-prone and deprecated. Use Type::getConstantStrings() instead.
Static Code Analysis (7.4, 9.0.0, highest): src/Type/ObjectProphecy/WillExtendOrImplementDynamicReturnTypeExtension.php#L80
Doing instanceof PHPStan\Type\TypeWithClassName is error-prone and deprecated. Use Type::getObjectClassNames() or Type::getObjectClassReflections() instead.
Static Code Analysis (7.4, 9.0.0, highest): src/Type/Prophet/ProphesizeDynamicReturnTypeExtension.php#L36
Method JanGregor\Prophecy\Type\Prophet\ProphesizeDynamicReturnTypeExtension::getClass() should return class-string but returns string.
Static Code Analysis (7.4, 9.0.0, highest): src/Type/Prophet/ProphesizeDynamicReturnTypeExtension.php#L64
Doing instanceof PHPStan\Type\Constant\ConstantStringType is error-prone and deprecated. Use Type::getConstantStrings() instead.
Static Code Analysis (7.4, 9.0.0, lowest): src/PhpDoc/ObjectProphecy/TypeNodeResolverExtension.php#L55
Doing instanceof PHPStan\Type\TypeWithClassName is error-prone and deprecated. Use Type::getObjectClassNames() or Type::getObjectClassReflections() instead.
Static Code Analysis (7.4, 9.0.0, lowest): src/Type/ObjectProphecy/WillExtendOrImplementDynamicReturnTypeExtension.php#L60
Doing instanceof PHPStan\Type\Generic\GenericObjectType is error-prone and deprecated.
Static Code Analysis (7.4, 9.0.0, lowest): src/Type/ObjectProphecy/WillExtendOrImplementDynamicReturnTypeExtension.php#L74
Doing instanceof PHPStan\Type\Constant\ConstantStringType is error-prone and deprecated. Use Type::getConstantStrings() instead.
Static Code Analysis (7.4, 9.0.0, lowest): src/Type/ObjectProphecy/WillExtendOrImplementDynamicReturnTypeExtension.php#L80
Doing instanceof PHPStan\Type\TypeWithClassName is error-prone and deprecated. Use Type::getObjectClassNames() or Type::getObjectClassReflections() instead.
Static Code Analysis (7.4, 9.0.0, lowest): src/Type/Prophet/ProphesizeDynamicReturnTypeExtension.php#L36
Method JanGregor\Prophecy\Type\Prophet\ProphesizeDynamicReturnTypeExtension::getClass() should return class-string but returns string.
Static Code Analysis (7.4, 9.0.0, lowest): src/Type/Prophet/ProphesizeDynamicReturnTypeExtension.php#L64
Doing instanceof PHPStan\Type\Constant\ConstantStringType is error-prone and deprecated. Use Type::getConstantStrings() instead.