Skip to content

Migrate to Bootstrap 5 #353

Migrate to Bootstrap 5

Migrate to Bootstrap 5 #353

Triggered via pull request February 10, 2024 21:28
Status Success
Total duration 1m 17s
Artifacts

static-analysis-psalm.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
UndefinedConstant: config/autoload/global.php#L175
config/autoload/global.php:175:26: UndefinedConstant: Constant Jfcherng\Diff\Differ::CONTEXT_ALL is not defined (see https://psalm.dev/020)
PossiblyFalseReference: module/Activity/src/Controller/ActivityController.php#L86
module/Activity/src/Controller/ActivityController.php:86: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#L55
module/Activity/src/Mapper/Signup.php:55: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#L453
module/Activity/src/Service/Activity.php:453: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)
Psalm
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.