Skip to content

Merge pull request #9 from beatrycze-volk/implement-record-info #38

Merge pull request #9 from beatrycze-volk/implement-record-info

Merge pull request #9 from beatrycze-volk/implement-record-info #38

Triggered via push April 12, 2024 14:32
Status Failure
Total duration 23s
Artifacts

phpstan.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors
phpstan: src/Mods/Element/Part.php#L38
Property Slub\Mods\Element\Part::$detail is never written, only read.
phpstan: src/Mods/Element/Part.php#L44
Property Slub\Mods\Element\Part::$extent is never written, only read.
phpstan: src/Mods/Element/Part.php#L50
Property Slub\Mods\Element\Part::$date is never written, only read.
phpstan: src/Mods/Element/Part.php#L56
Property Slub\Mods\Element\Part::$text is never written, only read.
phpstan: src/Mods/Element/RecordInfo.php#L43
Property Slub\Mods\Element\RecordInfo::$descriptionStandard is unused.
phpstan: src/Mods/Element/RecordInfo.php#L170
Method Slub\Mods\Element\RecordInfo::getRecordInfoNotes() should return array<Slub\Mods\Element\Specific\RecordInfo\RecordIdentifier> but returns array<int<0, max>, Slub\Mods\Element\Specific\RecordInfo\RecordInfoNote>.
phpstan: src/Mods/Element/RelatedItem.php#L36
Property Slub\Mods\Element\RelatedItem::$allowedTypes is never read, only written.
phpstan: src/Mods/Element/Specific/Location/HoldingSimple/CopyInformation.php#L61
Method Slub\Mods\Element\Specific\Location\HoldingSimple\CopyInformation::getForm() should return Slub\Mods\Element\Specific\PhysicalDescription\Form|null but returns Slub\Mods\Element\Common\LanguageElement.
phpstan: src/Mods/Element/Specific/Location/HoldingSimple/CopyInformation.php#L106
Method Slub\Mods\Element\Specific\Location\HoldingSimple\CopyInformation::getShelfLocator() should return Slub\Mods\Element\Common\LanguageElement but returns null.
phpstan: src/Mods/Element/Specific/Location/HoldingSimple/CopyInformation.php#L184
Method Slub\Mods\Element\Specific\Location\HoldingSimple\CopyInformation::getItemIdentifier() should return Slub\Mods\Element\Specific\Location\HoldingSimple\CopyInformation\ItemIdentifier|null but returns Slub\Mods\Element\Specific\Location\HoldingSimple\CopyInformation\EnumerationAndChronology.