feat: add error hints for mandatory fields #1380
psalm.yml
on: pull_request
static-psalm-analysis
1m 47s
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)
|
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)
|
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:72: 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:70: PossiblyNullArgument: Argument 2 of OCA\Tables\Service\RowService::findAllByView cannot be null, possibly null value provided (see https://psalm.dev/078)
|
PossiblyNullArgument:
lib/Controller/Api1Controller.php#L1140
lib/Controller/Api1Controller.php:1140:84: PossiblyNullArgument: Argument 4 of OCA\Tables\Service\RowService::updateSet cannot be null, possibly null value provided (see https://psalm.dev/078)
|
PossiblyNullArgument:
lib/Controller/Api1Controller.php#L1165
lib/Controller/Api1Controller.php:1165:68: PossiblyNullArgument: Argument 3 of OCA\Tables\Service\RowService::delete cannot be null, possibly null value provided (see https://psalm.dev/078)
|