Skip to content

Add support for PHPStan 2 #233

Add support for PHPStan 2

Add support for PHPStan 2 #233

Re-run triggered November 15, 2024 16:07
Status Failure
Total duration 39s
Artifacts

integrate.yaml

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

Annotations

21 errors
Tests (7.4, locked)
Process completed with exit code 2.
Static Code Analysis (7.4, 8.0.0, lowest): 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.
Static Code Analysis (7.4, 8.0.0, lowest): 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.
Static Code Analysis (7.4, 8.0.0, lowest): 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.
Static Code Analysis (7.4, 8.0.0, lowest): test/StaticAnalysis/Test/ObjectProphecy/ProphesizeTest.php#L68
Call to an undefined method object::doubleTheNumber().
Static Code Analysis (7.4, 8.0.0, lowest): test/StaticAnalysis/Test/ObjectProphecy/ProphesizeTest.php#L86
Call to an undefined method object::doubleTheNumber().
Static Code Analysis (7.4, 8.0.0, lowest): 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.
Static Code Analysis (7.4, 8.0.0, lowest): 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.
Static Code Analysis (7.4, 8.0.0, lowest): 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.
Static Code Analysis (7.4, 9.0.0, lowest): 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.
Static Code Analysis (7.4, 9.0.0, lowest): 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.
Static Code Analysis (7.4, 9.0.0, lowest): 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.
Static Code Analysis (7.4, 9.0.0, lowest): test/StaticAnalysis/Test/ObjectProphecy/ProphesizeTest.php#L68
Call to an undefined method object::doubleTheNumber().
Static Code Analysis (7.4, 9.0.0, lowest): test/StaticAnalysis/Test/ObjectProphecy/ProphesizeTest.php#L86
Call to an undefined method object::doubleTheNumber().
Static Code Analysis (7.4, 9.0.0, lowest): 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.
Static Code Analysis (7.4, 9.0.0, lowest): 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.
Static Code Analysis (7.4, 9.0.0, lowest): 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.