Skip to content

Refactor/db

Refactor/db #1369

Triggered via pull request January 5, 2024 10:33
Status Success
Total duration 2m 5s
Artifacts

psalm.yml

on: pull_request
static-psalm-analysis
1m 49s
static-psalm-analysis
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
PossiblyNullArgument: lib/Api/V1Api.php#L43
lib/Api/V1Api.php:43:54: PossiblyNullArgument: Argument 2 of OCA\Tables\Service\RowService::findAllByView cannot be null, possibly null value provided (see https://psalm.dev/078)
PossiblyNullArgument: lib/Api/V1Api.php#L47
lib/Api/V1Api.php:47:55: PossiblyNullArgument: Argument 2 of OCA\Tables\Service\RowService::findAllByTable cannot be null, possibly null value provided (see https://psalm.dev/078)
PossiblyNullIterator: lib/Api/V1Api.php#L65
lib/Api/V1Api.php:65:14: PossiblyNullIterator: Cannot iterate over nullable var array<array-key, mixed>|null (see https://psalm.dev/097)
PropertyNotSetInConstructor: lib/Command/Clean.php#L61
lib/Command/Clean.php:61:26: PropertyNotSetInConstructor: Property OCA\Tables\Command\Clean::$output is not defined in constructor of OCA\Tables\Command\Clean or in any private or final methods called in the constructor (see https://psalm.dev/074)
PossiblyNullReference: lib/Command/Clean.php#L144
lib/Command/Clean.php:144:35: PossiblyNullReference: Cannot call method getData on possibly null value (see https://psalm.dev/083)
PossiblyNullReference: lib/Command/Clean.php#L185
lib/Command/Clean.php:185:35: PossiblyNullReference: Cannot call method getData on possibly null value (see https://psalm.dev/083)
MissingReturnType: lib/Command/TransferLegacyRows.php#L147
lib/Command/TransferLegacyRows.php:147:19: MissingReturnType: Method OCA\Tables\Command\TransferLegacyRows::transferTable does not have a return type, expecting void (see https://psalm.dev/050)
PossiblyNullArgument: lib/Controller/Api1Controller.php#L725
lib/Controller/Api1Controller.php:725:5: PossiblyNullArgument: Argument 21 of OCA\Tables\Service\ColumnService::create cannot be null, possibly null value provided (see https://psalm.dev/078)
PossiblyNullArgument: lib/Controller/Api1Controller.php#L940
lib/Controller/Api1Controller.php:940:102: PossiblyNullArgument: Argument 2 of OCA\Tables\Service\RowService::findAllByTable cannot be null, possibly null value provided (see https://psalm.dev/078)
PossiblyNullArgument: lib/Controller/Api1Controller.php#L970
lib/Controller/Api1Controller.php:970:100: PossiblyNullArgument: Argument 2 of OCA\Tables\Service\RowService::findAllByView cannot be null, possibly null value provided (see https://psalm.dev/078)