Add support for PHPStan 2 #233
Annotations
10 errors
Run phpstan/phpstan without extension:
test/StaticAnalysis/Test/ObjectProphecy/ProphesizeTest.php#L30
PHPDoc tag @var for property JanGregor\Prophecy\Test\StaticAnalysis\Test\ObjectProphecy\ProphesizeTest::$prophecy contains generic type Prophecy\Prophecy\ObjectProphecy<JanGregor\Prophecy\Test\StaticAnalysis\Src\BaseModel> but class Prophecy\Prophecy\ObjectProphecy is not generic.
|
Run phpstan/phpstan without extension:
test/StaticAnalysis/Test/ObjectProphecy/ProphesizeTest.php#L49
Ignored error pattern #^Call to an undefined method object\:\:getFoo\(\)\.$# (method.notFound) in path /home/runner/work/phpstan-prophecy/phpstan-prophecy/test/StaticAnalysis/Test/ObjectProphecy/ProphesizeTest.php is expected to occur 1 time, but occurred 3 times.
|
Run phpstan/phpstan without extension:
test/StaticAnalysis/Test/ObjectProphecy/ProphesizeTest.php#L50
Ignored error pattern #^Call to an undefined method object\:\:doubleTheNumber\(\)\.$# (method.notFound) in path /home/runner/work/phpstan-prophecy/phpstan-prophecy/test/StaticAnalysis/Test/ObjectProphecy/ProphesizeTest.php is expected to occur 1 time, but occurred 3 times.
|
Run phpstan/phpstan without extension:
test/StaticAnalysis/Test/ObjectProphecy/ProphesizeTest.php#L67
Call to an undefined method object::getFoo().
|
Run phpstan/phpstan without extension:
test/StaticAnalysis/Test/ObjectProphecy/ProphesizeTest.php#L68
Call to an undefined method object::doubleTheNumber().
|
Run phpstan/phpstan without extension:
test/StaticAnalysis/Test/ObjectProphecy/ProphesizeTest.php#L85
Call to an undefined method object::getFoo().
|
Run phpstan/phpstan without extension:
test/StaticAnalysis/Test/ObjectProphecy/ProphesizeTest.php#L86
Call to an undefined method object::doubleTheNumber().
|
Run phpstan/phpstan without extension:
test/StaticAnalysis/Test/ObjectProphecy/ProphesizeTest.php#L92
PHPDoc tag @return contains generic type Prophecy\Prophecy\ObjectProphecy<JanGregor\Prophecy\Test\StaticAnalysis\Src\BaseModel> but class Prophecy\Prophecy\ObjectProphecy is not generic.
|
Run phpstan/phpstan without extension:
test/StaticAnalysis/Test/ObjectProphecy/WillExtendTest.php#L29
PHPDoc tag @var for property JanGregor\Prophecy\Test\StaticAnalysis\Test\ObjectProphecy\WillExtendTest::$prophecy contains generic type Prophecy\Prophecy\ObjectProphecy<JanGregor\Prophecy\Test\StaticAnalysis\Src\Baz> but class Prophecy\Prophecy\ObjectProphecy is not generic.
|
Run phpstan/phpstan without extension:
test/StaticAnalysis/Test/ObjectProphecy/WillExtendTest.php#L45
Ignored error pattern #^Parameter \#1 \$baz of method JanGregor\\Prophecy\\Test\\StaticAnalysis\\Src\\BaseModel\:\:baz\(\) expects JanGregor\\Prophecy\\Test\\StaticAnalysis\\Src\\Baz, object given\.$# (argument.type) in path /home/runner/work/phpstan-prophecy/phpstan-prophecy/test/StaticAnalysis/Test/ObjectProphecy/WillExtendTest.php is expected to occur 1 time, but occurred 3 times.
|
Loading