Skip to content

PHP 8.4 deprecation fixes #69

PHP 8.4 deprecation fixes

PHP 8.4 deprecation fixes #69

Triggered via push September 26, 2024 11:00
Status Success
Total duration 1m 37s
Artifacts

test.yml

on: push
Matrix: phpunit
Fit to window
Zoom out
Zoom in

Annotations

10 errors
phpstan: src/acdhOeaw/arche/lib/disserv/RepoResourceTrait.php (in context of class acdhOeaw/arche/lib/disserv/RepoResource)#L60
Call to an undefined method acdhOeaw\arche\lib\RepoResourceInterface::loadParametersFromMetadata().
phpstan: src/acdhOeaw/arche/lib/disserv/RepoResourceTrait.php (in context of class acdhOeaw/arche/lib/disserv/RepoResource)#L61
Call to an undefined method acdhOeaw\arche\lib\RepoResourceInterface::getFormats().
phpstan: src/acdhOeaw/arche/lib/disserv/RepoResourceTrait.php (in context of class acdhOeaw/arche/lib/disserv/RepoResource)#L77
Method acdhOeaw\arche\lib\disserv\RepoResource::getDissServices() should return array<string, acdhOeaw\arche\lib\disserv\dissemination\Service> but returns array<int|string, acdhOeaw\arche\lib\RepoResourceInterface>.
phpstan: src/acdhOeaw/arche/lib/disserv/RepoResourceTrait.php (in context of class acdhOeaw/arche/lib/disserv/RepoResourceDb)#L60
Call to an undefined method acdhOeaw\arche\lib\RepoResourceInterface::loadParametersFromMetadata().
phpstan: src/acdhOeaw/arche/lib/disserv/RepoResourceTrait.php (in context of class acdhOeaw/arche/lib/disserv/RepoResourceDb)#L61
Call to an undefined method acdhOeaw\arche\lib\RepoResourceInterface::getFormats().
phpstan: src/acdhOeaw/arche/lib/disserv/RepoResourceTrait.php (in context of class acdhOeaw/arche/lib/disserv/RepoResourceDb)#L77
Method acdhOeaw\arche\lib\disserv\RepoResourceDb::getDissServices() should return array<string, acdhOeaw\arche\lib\disserv\dissemination\Service> but returns array<int|string, acdhOeaw\arche\lib\RepoResourceInterface>.
phpstan: src/acdhOeaw/arche/lib/disserv/dissemination/ParameterTrait.php (in context of class acdhOeaw/arche/lib/disserv/dissemination/Parameter)#L88
Offset 1 does not exist on array{0?: string, 1?: non-empty-string, 2?: non-falsy-string}.
phpstan: src/acdhOeaw/arche/lib/disserv/dissemination/ParameterTrait.php (in context of class acdhOeaw/arche/lib/disserv/dissemination/Parameter)#L137
Parameter #1 $value of static method acdhOeaw\arche\lib\disserv\dissemination\Parameter::applyTransformations() expects string, string|false given.