Skip to content

Update phpstan/phpstan requirement from 1.10.67 to 1.12.7 #1945

Update phpstan/phpstan requirement from 1.10.67 to 1.12.7

Update phpstan/phpstan requirement from 1.10.67 to 1.12.7 #1945

Triggered via pull request October 21, 2024 04:14
Status Failure
Total duration 1m 17s
Artifacts

coding-standards.yml

on: pull_request
coding-standards  /  phpcs 8.2
44s
coding-standards / phpcs 8.2
phpstan  /  phpstan PHP 8.2
1m 6s
phpstan / phpstan PHP 8.2
rector  /  rector PHP 8.2
17s
rector / rector PHP 8.2
Fit to window
Zoom out
Zoom in

Annotations

4 errors
rector / rector PHP 8.2
Process completed with exit code 1.
phpstan / phpstan PHP 8.2: src/mantle/database/model/concerns/trait-has-factory.php (in context of class Mantle/Database/Model/Model)#L29
Method Mantle\Database\Model\Model::factory() should return Mantle\Database\Factory\Factory<static(Mantle\Database\Model\Model<TModelObject of object>), TModelObject of object, static(Mantle\Database\Model\Model<TModelObject of object>)> but returns Mantle\Database\Factory\Factory<static(Mantle\Database\Model\Model<TModelObject of object>), mixed, Mantle\Database\Model\Model>.
phpstan / phpstan PHP 8.2: src/mantle/support/helpers/helpers-array.php#L123
No error to ignore is reported on line 123.
phpstan / phpstan PHP 8.2
Process completed with exit code 1.