Add support for PHPStan 2 #231
Annotations
10 errors
src/PhpDoc/ObjectProphecy/TypeNodeResolverExtension.php#L55
Doing instanceof PHPStan\Type\TypeWithClassName is error-prone and deprecated. Use Type::getObjectClassNames() or Type::getObjectClassReflections() instead.
|
src/Type/ObjectProphecy/WillExtendOrImplementDynamicReturnTypeExtension.php#L60
Doing instanceof PHPStan\Type\Generic\GenericObjectType is error-prone and deprecated.
|
src/Type/ObjectProphecy/WillExtendOrImplementDynamicReturnTypeExtension.php#L74
Doing instanceof PHPStan\Type\Constant\ConstantStringType is error-prone and deprecated. Use Type::getConstantStrings() instead.
|
src/Type/ObjectProphecy/WillExtendOrImplementDynamicReturnTypeExtension.php#L80
Doing instanceof PHPStan\Type\TypeWithClassName is error-prone and deprecated. Use Type::getObjectClassNames() or Type::getObjectClassReflections() instead.
|
src/Type/Prophet/ProphesizeDynamicReturnTypeExtension.php#L36
Method JanGregor\Prophecy\Type\Prophet\ProphesizeDynamicReturnTypeExtension::getClass() should return class-string but returns string.
|
src/Type/Prophet/ProphesizeDynamicReturnTypeExtension.php#L64
Doing instanceof PHPStan\Type\Constant\ConstantStringType is error-prone and deprecated. Use Type::getConstantStrings() instead.
|
test/StaticAnalysis/Test/ObjectProphecy/ProphesizeTest.php#L36
Cannot call method getFoo() on mixed.
|
test/StaticAnalysis/Test/ObjectProphecy/ProphesizeTest.php#L36
Cannot call method willReturn() on mixed.
|
test/StaticAnalysis/Test/ObjectProphecy/ProphesizeTest.php#L40
Cannot call method doubleTheNumber() on mixed.
|
test/StaticAnalysis/Test/ObjectProphecy/ProphesizeTest.php#L40
Cannot call method willReturn() on mixed.
|
The logs for this run have expired and are no longer available.
Loading