Skip to content

Update phpstan/phpstan requirement from 1.12.2 to 1.12.3 #2704

Update phpstan/phpstan requirement from 1.12.2 to 1.12.3

Update phpstan/phpstan requirement from 1.12.2 to 1.12.3 #2704

Triggered via pull request September 16, 2024 15:12
Status Failure
Total duration 2m 2s
Artifacts

ci.yml

on: pull_request
Matrix: PHP linter
Matrix: Code quality checks
Matrix: Functional tests
Matrix: Rector
Matrix: Unit tests
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Code quality checks (php:stan, 8.3): Classes/DataStructures/Collection.php#L15
Non-abstract class OliverKlee\Oelib\DataStructures\Collection contains abstract method seek() from interface SeekableIterator.
Code quality checks (php:stan, 8.3): Classes/DataStructures/Collection.php#L205
Cannot call method hasUid() on mixed.
Code quality checks (php:stan, 8.3): Classes/DataStructures/Collection.php#L206
Cannot call method getUid() on mixed.
Code quality checks (php:stan, 8.3): Classes/DataStructures/Collection.php#L212
Parameter #1 $object of method SplObjectStorage<M of OliverKlee\Oelib\Model\AbstractModel,int>::detach() expects M of OliverKlee\Oelib\Model\AbstractModel, mixed given.
Code quality checks (php:stan, 8.3): Classes/DataStructures/Collection.php#L284
Method OliverKlee\Oelib\DataStructures\Collection::toArray() should return list<M of OliverKlee\Oelib\Model\AbstractModel> but returns list<mixed>.
Code quality checks (php:stan, 8.3): Classes/Geocoding/GeoCalculator.php#L100
Cannot call method hasGeoCoordinates() on mixed.
Code quality checks (php:stan, 8.3): Classes/Geocoding/GeoCalculator.php#L100
Parameter #2 $object2 of method OliverKlee\Oelib\Geocoding\GeoCalculator::calculateDistanceInKilometers() expects OliverKlee\Oelib\Interfaces\Geo, mixed given.
Code quality checks (php:stan, 8.3): Classes/Geocoding/GeoCalculator.php#L101
Parameter #1 $model of method OliverKlee\Oelib\DataStructures\Collection<OliverKlee\Oelib\Interfaces\Geo&OliverKlee\Oelib\Model\AbstractModel>::add() expects OliverKlee\Oelib\Interfaces\Geo&OliverKlee\Oelib\Model\AbstractModel, mixed given.
Code quality checks (php:stan, 8.3): Classes/Mapper/AbstractDataMapper.php#L985
Parameter #1 $model of method OliverKlee\Oelib\Mapper\AbstractDataMapper<OliverKlee\Oelib\Model\AbstractModel>::delete() expects OliverKlee\Oelib\Model\AbstractModel, mixed given.
Code quality checks (php:stan, 8.3)
Process completed with exit code 1.