feat: improved detailed overview of BM/GMM bodies #477
Annotations
10 errors
PossiblyFalseReference:
module/Activity/src/Controller/ActivityController.php#L88
module/Activity/src/Controller/ActivityController.php:88:75: PossiblyFalseReference: Cannot call method getId on possibly false value (see https://psalm.dev/105)
|
PossiblyFalseReference:
module/Activity/src/Controller/AdminController.php#L151
module/Activity/src/Controller/AdminController.php:151:51: PossiblyFalseReference: Cannot call method getNew on possibly false value (see https://psalm.dev/105)
|
InvalidArgument:
module/Activity/src/Controller/ApiController.php#L41
module/Activity/src/Controller/ApiController.php:41:30: InvalidArgument: Argument 1 of Laminas\View\Model\JsonModel::__construct expects ArrayAccess<string, mixed>|iterable<string, mixed>|null, but list{0?: array{beginTime: DateTime, categories: array<array-key, array{id: int, name: null|string, nameEn: null|string}>, company: Company\Model\Company|null, costs: null|string, costsEn: null|string, description: null|string, descriptionEn: null|string, endTime: DateTime, id: int, isMyFuture: bool, location: null|string, locationEn: null|string, name: null|string, nameEn: null|string, organ: Decision\Model\Organ|null, requireGEFLITST: bool, signupLists: array<array-key, array{closeDate: DateTime, displaySubscribedNumber: bool, fields: array<array-key, array{id: int, maximumValue: int|null, minimumValue: int|null, name: null|string, nameEn: null|string, options: array<array-key, null|string>, optionsEn: array<array-key, null|string>, sensitive: bool, type: int}>, id: int, limitedCapacity: bool, name: null|string, nameEn: null|string, onlyGEWIS: bool, openDate: DateTime}>}, ...<array{beginTime: DateTime, categories: array<array-key, array{id: int, name: null|string, nameEn: null|string}>, company: Company\Model\Company|null, costs: null|string, costsEn: null|string, description: null|string, descriptionEn: null|string, endTime: DateTime, id: int, isMyFuture: bool, location: null|string, locationEn: null|string, name: null|string, nameEn: null|string, organ: Decision\Model\Organ|null, requireGEFLITST: bool, signupLists: array<array-key, array{closeDate: DateTime, displaySubscribedNumber: bool, fields: array<array-key, array{id: int, maximumValue: int|null, minimumValue: int|null, name: null|string, nameEn: null|string, options: array<array-key, null|string>, optionsEn: array<array-key, null|string>, sensitive: bool, type: int}>, id: int, limitedCapacity: bool, name: null|string, nameEn: null|string, onlyGEWIS: bool, openDate: DateTime}>}>} provided (see https://psalm.dev/004)
|
MissingTemplateParam:
module/Activity/src/Form/ActivityCalendarPeriod.php#L18
module/Activity/src/Form/ActivityCalendarPeriod.php:18:7: MissingTemplateParam: Activity\Form\ActivityCalendarPeriod has missing template params when extending Laminas\Form\Form, expecting 1 (see https://psalm.dev/182)
|
MissingTemplateParam:
module/Activity/src/Form/ActivityCalendarProposal.php#L21
module/Activity/src/Form/ActivityCalendarProposal.php:21:7: MissingTemplateParam: Activity\Form\ActivityCalendarProposal has missing template params when extending Laminas\Form\Form, expecting 1 (see https://psalm.dev/182)
|
MissingTemplateParam:
module/Activity/src/Form/Signup.php#L26
module/Activity/src/Form/Signup.php:26:7: MissingTemplateParam: Activity\Form\Signup has missing template params when extending Laminas\Form\Form, expecting 1 (see https://psalm.dev/182)
|
MoreSpecificReturnType:
module/Activity/src/Mapper/Signup.php#L58
module/Activity/src/Mapper/Signup.php:58:78: MoreSpecificReturnType: The declared return type 'int' for Activity\Mapper\Signup::getNumberOfSignedUpMembers is more specific than the inferred return type 'null|scalar' (see https://psalm.dev/070)
|
PossiblyFalseReference:
module/Activity/src/Service/Activity.php#L452
module/Activity/src/Service/Activity.php:452:37: PossiblyFalseReference: Cannot call method getNew on possibly false value (see https://psalm.dev/105)
|
MissingTemplateParam:
module/Application/src/Form/Localisable.php#L15
module/Application/src/Form/Localisable.php:15:16: MissingTemplateParam: Application\Form\Localisable has missing template params when extending Laminas\Form\Form, expecting 1 (see https://psalm.dev/182)
|
MissingTemplateParam:
module/Application/src/Form/ModifyRequest.php#L16
module/Application/src/Form/ModifyRequest.php:16:7: MissingTemplateParam: Application\Form\ModifyRequest has missing template params when extending Laminas\Form\Form, expecting 1 (see https://psalm.dev/182)
|