feat: Add backend for table archive and favorite flag #179
psalm-matrix.yml
on: pull_request
Matrix: static-analysis
static-psalm-analysis-summary
5s
Annotations
19 errors and 20 warnings
InvalidScalarArgument:
lib/Command/RenameTable.php#L79
lib/Command/RenameTable.php:79:62: InvalidScalarArgument: Argument 4 of OCA\Tables\Service\TableService::update expects bool|null, but '' provided (see https://psalm.dev/012)
|
InvalidScalarArgument:
lib/Controller/Api1Controller.php#L183
lib/Controller/Api1Controller.php:183:82: InvalidScalarArgument: Argument 4 of OCA\Tables\Service\TableService::update expects bool|null, but null|string provided (see https://psalm.dev/012)
|
InvalidReturnType:
lib/Controller/ApiFavoriteController.php#L42
lib/Controller/ApiFavoriteController.php:42:13: InvalidReturnType: The declared return type 'OCP\AppFramework\Http\DataResponse<200|500, array{columnsCount?: int, createdAt?: string, createdBy?: string, emoji?: null|string, hasShares?: bool, id?: int, isShared?: bool, lastEditAt?: string, lastEditBy?: string, message?: string, onSharePermissions?: array{create: bool, delete: bool, manage: bool, read: bool, update: bool}|null, ownerDisplayName?: string, ownership?: string, rowsCount?: int, title?: string, views?: array<array-key, array{columns: array<array-key, int>, createdAt: string, createdBy: string, description: null|string, emoji: null|string, filter: list<list<array{columnId: int, operator: 'begins-with'|'contains'|'ends-with'|'is-empty'|'is-equal'|'is-greater-than'|'is-greater-than-or-equal'|'is-lower-than'|'is-lower-than-or-equal', value: float|int|string}>>, hasShares: bool, id: int, isShared: bool, lastEditAt: string, lastEditBy: string, onSharePermissions: array{create: bool, delete: bool, manage: bool, read: bool, update: bool}|null, ownerDisplayName: null|string, ownership: string, rowsCount: int, sort: list<array{columnId: int, mode: 'ASC'|'DESC'}>, tableId: int, title: string}>}, array<never, never>>' for OCA\Tables\Controller\ApiFavoriteController::create is incorrect, got 'OCP\AppFramework\Http\DataResponse<200|500, array{0?: 'ok', message?: string}, array<never, never>>' (see https://psalm.dev/011)
|
InvalidReturnStatement:
lib/Controller/ApiFavoriteController.php#L49
lib/Controller/ApiFavoriteController.php:49:11: InvalidReturnStatement: The inferred type 'OCP\AppFramework\Http\DataResponse<200, list{'ok'}, array<never, never>>' does not match the declared return type 'OCP\AppFramework\Http\DataResponse<200|500, array{columnsCount?: int, createdAt?: string, createdBy?: string, emoji?: null|string, hasShares?: bool, id?: int, isShared?: bool, lastEditAt?: string, lastEditBy?: string, message?: string, onSharePermissions?: array{create: bool, delete: bool, manage: bool, read: bool, update: bool}|null, ownerDisplayName?: string, ownership?: string, rowsCount?: int, title?: string, views?: array<array-key, array{columns: array<array-key, int>, createdAt: string, createdBy: string, description: null|string, emoji: null|string, filter: list<list<array{columnId: int, operator: 'begins-with'|'contains'|'ends-with'|'is-empty'|'is-equal'|'is-greater-than'|'is-greater-than-or-equal'|'is-lower-than'|'is-lower-than-or-equal', value: float|int|string}>>, hasShares: bool, id: int, isShared: bool, lastEditAt: string, lastEditBy: string, onSharePermissions: array{create: bool, delete: bool, manage: bool, read: bool, update: bool}|null, ownerDisplayName: null|string, ownership: string, rowsCount: int, sort: list<array{columnId: int, mode: 'ASC'|'DESC'}>, tableId: int, title: string}>}, array<never, never>>' for OCA\Tables\Controller\ApiFavoriteController::create (see https://psalm.dev/128)
|
InvalidReturnType:
lib/Controller/ApiFavoriteController.php#L62
lib/Controller/ApiFavoriteController.php:62:13: InvalidReturnType: The declared return type 'OCP\AppFramework\Http\DataResponse<200|403|404|500, array{columnsCount?: int, createdAt?: string, createdBy?: string, emoji?: null|string, hasShares?: bool, id?: int, isShared?: bool, lastEditAt?: string, lastEditBy?: string, message?: string, onSharePermissions?: array{create: bool, delete: bool, manage: bool, read: bool, update: bool}|null, ownerDisplayName?: string, ownership?: string, rowsCount?: int, title?: string, views?: array<array-key, array{columns: array<array-key, int>, createdAt: string, createdBy: string, description: null|string, emoji: null|string, filter: list<list<array{columnId: int, operator: 'begins-with'|'contains'|'ends-with'|'is-empty'|'is-equal'|'is-greater-than'|'is-greater-than-or-equal'|'is-lower-than'|'is-lower-than-or-equal', value: float|int|string}>>, hasShares: bool, id: int, isShared: bool, lastEditAt: string, lastEditBy: string, onSharePermissions: array{create: bool, delete: bool, manage: bool, read: bool, update: bool}|null, ownerDisplayName: null|string, ownership: string, rowsCount: int, sort: list<array{columnId: int, mode: 'ASC'|'DESC'}>, tableId: int, title: string}>}, array<never, never>>' for OCA\Tables\Controller\ApiFavoriteController::destroy is incorrect, got 'OCP\AppFramework\Http\DataResponse<200|403|404|500, array{0?: 'ok', message?: string}, array<never, never>>' (see https://psalm.dev/011)
|
InvalidReturnStatement:
lib/Controller/ApiFavoriteController.php#L71
lib/Controller/ApiFavoriteController.php:71:11: InvalidReturnStatement: The inferred type 'OCP\AppFramework\Http\DataResponse<200, list{'ok'}, array<never, never>>' does not match the declared return type 'OCP\AppFramework\Http\DataResponse<200|403|404|500, array{columnsCount?: int, createdAt?: string, createdBy?: string, emoji?: null|string, hasShares?: bool, id?: int, isShared?: bool, lastEditAt?: string, lastEditBy?: string, message?: string, onSharePermissions?: array{create: bool, delete: bool, manage: bool, read: bool, update: bool}|null, ownerDisplayName?: string, ownership?: string, rowsCount?: int, title?: string, views?: array<array-key, array{columns: array<array-key, int>, createdAt: string, createdBy: string, description: null|string, emoji: null|string, filter: list<list<array{columnId: int, operator: 'begins-with'|'contains'|'ends-with'|'is-empty'|'is-equal'|'is-greater-than'|'is-greater-than-or-equal'|'is-lower-than'|'is-lower-than-or-equal', value: float|int|string}>>, hasShares: bool, id: int, isShared: bool, lastEditAt: string, lastEditBy: string, onSharePermissions: array{create: bool, delete: bool, manage: bool, read: bool, update: bool}|null, ownerDisplayName: null|string, ownership: string, rowsCount: int, sort: list<array{columnId: int, mode: 'ASC'|'DESC'}>, tableId: int, title: string}>}, array<never, never>>' for OCA\Tables\Controller\ApiFavoriteController::destroy (see https://psalm.dev/128)
|
InvalidReturnType:
lib/Db/Table.php#L76
lib/Db/Table.php:76:19: InvalidReturnType: The declared return type 'array{columnsCount: int, createdAt: string, createdBy: string, emoji: null|string, hasShares: bool, id: int, isShared: bool, lastEditAt: string, lastEditBy: string, onSharePermissions: array{create: bool, delete: bool, manage: bool, read: bool, update: bool}|null, ownerDisplayName: string, ownership: string, rowsCount: int, title: string, views: array<array-key, array{columns: array<array-key, int>, createdAt: string, createdBy: string, description: null|string, emoji: null|string, filter: list<list<array{columnId: int, operator: 'begins-with'|'contains'|'ends-with'|'is-empty'|'is-equal'|'is-greater-than'|'is-greater-than-or-equal'|'is-lower-than'|'is-lower-than-or-equal', value: float|int|string}>>, hasShares: bool, id: int, isShared: bool, lastEditAt: string, lastEditBy: string, onSharePermissions: array{create: bool, delete: bool, manage: bool, read: bool, update: bool}|null, ownerDisplayName: null|string, ownership: string, rowsCount: int, sort: list<array{columnId: int, mode: 'ASC'|'DESC'}>, tableId: int, title: string}>}' for OCA\Tables\Db\Table::jsonSerialize is incorrect, got 'array{archived: bool, columnsCount: int, createdAt: string, createdBy: string, emoji: null|string, favorite: bool|null, hasShares: bool, id: int, isShared: bool, lastEditAt: string, lastEditBy: string, onSharePermissions: array{create: bool, delete: bool, manage: bool, read: bool, update: bool}|null, ownerDisplayName: string, ownership: string, rowsCount: int, title: string, views: array<array-key, array{columns: array<array-key, int>, createdAt: string, createdBy: string, description: null|string, emoji: null|string, filter: list<list<array{columnId: int, operator: 'begins-with'|'contains'|'ends-with'|'is-empty'|'is-equal'|'is-greater-than'|'is-greater-than-or-equal'|'is-lower-than'|'is-lower-than-or-equal', value: float|int|string}>>, hasShares: bool, id: int, isShared: bool, lastEditAt: string, lastEditBy: string, onSharePermissions: array{create: bool, delete: bool, manage: bool, read: bool, update: bool}|null, ownerDisplayName: null|string, ownership: string, rowsCount: int, sort: list<array{columnId: int, mode: 'ASC'|'DESC'}>, tableId: int, title: string}>}' which is different due to additional array shape fields (archived, favorite) (see https://psalm.dev/011)
|
InvalidReturnStatement:
lib/Db/Table.php#L79
lib/Db/Table.php:79:10: InvalidReturnStatement: The inferred type 'array{archived: bool, columnsCount: int, createdAt: string, createdBy: string, emoji: null|string, favorite: bool|null, hasShares: bool, id: int, isShared: bool, lastEditAt: string, lastEditBy: string, onSharePermissions: array{create: bool, delete: bool, manage: bool, read: bool, update: bool}|null, ownerDisplayName: string, ownership: string, rowsCount: int, title: string, views: array<array-key, array{columns: array<array-key, int>, createdAt: string, createdBy: string, description: null|string, emoji: null|string, filter: list<list<array{columnId: int, operator: 'begins-with'|'contains'|'ends-with'|'is-empty'|'is-equal'|'is-greater-than'|'is-greater-than-or-equal'|'is-lower-than'|'is-lower-than-or-equal', value: float|int|string}>>, hasShares: bool, id: int, isShared: bool, lastEditAt: string, lastEditBy: string, onSharePermissions: array{create: bool, delete: bool, manage: bool, read: bool, update: bool}|null, ownerDisplayName: null|string, ownership: string, rowsCount: int, sort: list<array{columnId: int, mode: 'ASC'|'DESC'}>, tableId: int, title: string}>}' does not match the declared return type 'array{columnsCount: int, createdAt: string, createdBy: string, emoji: null|string, hasShares: bool, id: int, isShared: bool, lastEditAt: string, lastEditBy: string, onSharePermissions: array{create: bool, delete: bool, manage: bool, read: bool, update: bool}|null, ownerDisplayName: string, ownership: string, rowsCount: int, title: string, views: array<array-key, array{columns: array<array-key, int>, createdAt: string, createdBy: string, description: null|string, emoji: null|string, filter: list<list<array{columnId: int, operator: 'begins-with'|'contains'|'ends-with'|'is-empty'|'is-equal'|'is-greater-than'|'is-greater-than-or-equal'|'is-lower-than'|'is-lower-than-or-equal', value: float|int|string}>>, hasShares: bool, id: int, isShared: bool, lastEditAt: string, lastEditBy: string, onSharePermissions: array{create: bool, delete: bool, manage: bool, read: bool, update: bool}|null, ownerDisplayName: null|string, ownership: string, rowsCount: int, sort: list<array{columnId: int, mode: 'ASC'|'DESC'}>, tableId: int, title: string}>}' for OCA\Tables\Db\Table::jsonSerialize due to additional array shape fields (archived, favorite) (see https://psalm.dev/128)
|
static-psalm-analysis dev-master
Process completed with exit code 2.
|
InvalidScalarArgument:
lib/Command/RenameTable.php#L79
lib/Command/RenameTable.php:79:62: InvalidScalarArgument: Argument 4 of OCA\Tables\Service\TableService::update expects bool|null, but '' provided (see https://psalm.dev/012)
|
InvalidScalarArgument:
lib/Controller/Api1Controller.php#L183
lib/Controller/Api1Controller.php:183:82: InvalidScalarArgument: Argument 4 of OCA\Tables\Service\TableService::update expects bool|null, but null|string provided (see https://psalm.dev/012)
|
InvalidReturnType:
lib/Controller/ApiFavoriteController.php#L42
lib/Controller/ApiFavoriteController.php:42:13: InvalidReturnType: The declared return type 'OCP\AppFramework\Http\DataResponse<200|500, array{columnsCount?: int, createdAt?: string, createdBy?: string, emoji?: null|string, hasShares?: bool, id?: int, isShared?: bool, lastEditAt?: string, lastEditBy?: string, message?: string, onSharePermissions?: array{create: bool, delete: bool, manage: bool, read: bool, update: bool}|null, ownerDisplayName?: string, ownership?: string, rowsCount?: int, title?: string, views?: array<array-key, array{columns: array<array-key, int>, createdAt: string, createdBy: string, description: null|string, emoji: null|string, filter: list<list<array{columnId: int, operator: 'begins-with'|'contains'|'ends-with'|'is-empty'|'is-equal'|'is-greater-than'|'is-greater-than-or-equal'|'is-lower-than'|'is-lower-than-or-equal', value: float|int|string}>>, hasShares: bool, id: int, isShared: bool, lastEditAt: string, lastEditBy: string, onSharePermissions: array{create: bool, delete: bool, manage: bool, read: bool, update: bool}|null, ownerDisplayName: null|string, ownership: string, rowsCount: int, sort: list<array{columnId: int, mode: 'ASC'|'DESC'}>, tableId: int, title: string}>}, array<never, never>>' for OCA\Tables\Controller\ApiFavoriteController::create is incorrect, got 'OCP\AppFramework\Http\DataResponse<200|500, array{0?: 'ok', message?: string}, array<never, never>>' (see https://psalm.dev/011)
|
InvalidReturnStatement:
lib/Controller/ApiFavoriteController.php#L49
lib/Controller/ApiFavoriteController.php:49:11: InvalidReturnStatement: The inferred type 'OCP\AppFramework\Http\DataResponse<200, list{'ok'}, array<never, never>>' does not match the declared return type 'OCP\AppFramework\Http\DataResponse<200|500, array{columnsCount?: int, createdAt?: string, createdBy?: string, emoji?: null|string, hasShares?: bool, id?: int, isShared?: bool, lastEditAt?: string, lastEditBy?: string, message?: string, onSharePermissions?: array{create: bool, delete: bool, manage: bool, read: bool, update: bool}|null, ownerDisplayName?: string, ownership?: string, rowsCount?: int, title?: string, views?: array<array-key, array{columns: array<array-key, int>, createdAt: string, createdBy: string, description: null|string, emoji: null|string, filter: list<list<array{columnId: int, operator: 'begins-with'|'contains'|'ends-with'|'is-empty'|'is-equal'|'is-greater-than'|'is-greater-than-or-equal'|'is-lower-than'|'is-lower-than-or-equal', value: float|int|string}>>, hasShares: bool, id: int, isShared: bool, lastEditAt: string, lastEditBy: string, onSharePermissions: array{create: bool, delete: bool, manage: bool, read: bool, update: bool}|null, ownerDisplayName: null|string, ownership: string, rowsCount: int, sort: list<array{columnId: int, mode: 'ASC'|'DESC'}>, tableId: int, title: string}>}, array<never, never>>' for OCA\Tables\Controller\ApiFavoriteController::create (see https://psalm.dev/128)
|
InvalidReturnType:
lib/Controller/ApiFavoriteController.php#L62
lib/Controller/ApiFavoriteController.php:62:13: InvalidReturnType: The declared return type 'OCP\AppFramework\Http\DataResponse<200|403|404|500, array{columnsCount?: int, createdAt?: string, createdBy?: string, emoji?: null|string, hasShares?: bool, id?: int, isShared?: bool, lastEditAt?: string, lastEditBy?: string, message?: string, onSharePermissions?: array{create: bool, delete: bool, manage: bool, read: bool, update: bool}|null, ownerDisplayName?: string, ownership?: string, rowsCount?: int, title?: string, views?: array<array-key, array{columns: array<array-key, int>, createdAt: string, createdBy: string, description: null|string, emoji: null|string, filter: list<list<array{columnId: int, operator: 'begins-with'|'contains'|'ends-with'|'is-empty'|'is-equal'|'is-greater-than'|'is-greater-than-or-equal'|'is-lower-than'|'is-lower-than-or-equal', value: float|int|string}>>, hasShares: bool, id: int, isShared: bool, lastEditAt: string, lastEditBy: string, onSharePermissions: array{create: bool, delete: bool, manage: bool, read: bool, update: bool}|null, ownerDisplayName: null|string, ownership: string, rowsCount: int, sort: list<array{columnId: int, mode: 'ASC'|'DESC'}>, tableId: int, title: string}>}, array<never, never>>' for OCA\Tables\Controller\ApiFavoriteController::destroy is incorrect, got 'OCP\AppFramework\Http\DataResponse<200|403|404|500, array{0?: 'ok', message?: string}, array<never, never>>' (see https://psalm.dev/011)
|
InvalidReturnStatement:
lib/Controller/ApiFavoriteController.php#L71
lib/Controller/ApiFavoriteController.php:71:11: InvalidReturnStatement: The inferred type 'OCP\AppFramework\Http\DataResponse<200, list{'ok'}, array<never, never>>' does not match the declared return type 'OCP\AppFramework\Http\DataResponse<200|403|404|500, array{columnsCount?: int, createdAt?: string, createdBy?: string, emoji?: null|string, hasShares?: bool, id?: int, isShared?: bool, lastEditAt?: string, lastEditBy?: string, message?: string, onSharePermissions?: array{create: bool, delete: bool, manage: bool, read: bool, update: bool}|null, ownerDisplayName?: string, ownership?: string, rowsCount?: int, title?: string, views?: array<array-key, array{columns: array<array-key, int>, createdAt: string, createdBy: string, description: null|string, emoji: null|string, filter: list<list<array{columnId: int, operator: 'begins-with'|'contains'|'ends-with'|'is-empty'|'is-equal'|'is-greater-than'|'is-greater-than-or-equal'|'is-lower-than'|'is-lower-than-or-equal', value: float|int|string}>>, hasShares: bool, id: int, isShared: bool, lastEditAt: string, lastEditBy: string, onSharePermissions: array{create: bool, delete: bool, manage: bool, read: bool, update: bool}|null, ownerDisplayName: null|string, ownership: string, rowsCount: int, sort: list<array{columnId: int, mode: 'ASC'|'DESC'}>, tableId: int, title: string}>}, array<never, never>>' for OCA\Tables\Controller\ApiFavoriteController::destroy (see https://psalm.dev/128)
|
InvalidReturnType:
lib/Db/Table.php#L76
lib/Db/Table.php:76:19: InvalidReturnType: The declared return type 'array{columnsCount: int, createdAt: string, createdBy: string, emoji: null|string, hasShares: bool, id: int, isShared: bool, lastEditAt: string, lastEditBy: string, onSharePermissions: array{create: bool, delete: bool, manage: bool, read: bool, update: bool}|null, ownerDisplayName: string, ownership: string, rowsCount: int, title: string, views: array<array-key, array{columns: array<array-key, int>, createdAt: string, createdBy: string, description: null|string, emoji: null|string, filter: list<list<array{columnId: int, operator: 'begins-with'|'contains'|'ends-with'|'is-empty'|'is-equal'|'is-greater-than'|'is-greater-than-or-equal'|'is-lower-than'|'is-lower-than-or-equal', value: float|int|string}>>, hasShares: bool, id: int, isShared: bool, lastEditAt: string, lastEditBy: string, onSharePermissions: array{create: bool, delete: bool, manage: bool, read: bool, update: bool}|null, ownerDisplayName: null|string, ownership: string, rowsCount: int, sort: list<array{columnId: int, mode: 'ASC'|'DESC'}>, tableId: int, title: string}>}' for OCA\Tables\Db\Table::jsonSerialize is incorrect, got 'array{archived: bool, columnsCount: int, createdAt: string, createdBy: string, emoji: null|string, favorite: bool|null, hasShares: bool, id: int, isShared: bool, lastEditAt: string, lastEditBy: string, onSharePermissions: array{create: bool, delete: bool, manage: bool, read: bool, update: bool}|null, ownerDisplayName: string, ownership: string, rowsCount: int, title: string, views: array<array-key, array{columns: array<array-key, int>, createdAt: string, createdBy: string, description: null|string, emoji: null|string, filter: list<list<array{columnId: int, operator: 'begins-with'|'contains'|'ends-with'|'is-empty'|'is-equal'|'is-greater-than'|'is-greater-than-or-equal'|'is-lower-than'|'is-lower-than-or-equal', value: float|int|string}>>, hasShares: bool, id: int, isShared: bool, lastEditAt: string, lastEditBy: string, onSharePermissions: array{create: bool, delete: bool, manage: bool, read: bool, update: bool}|null, ownerDisplayName: null|string, ownership: string, rowsCount: int, sort: list<array{columnId: int, mode: 'ASC'|'DESC'}>, tableId: int, title: string}>}' which is different due to additional array shape fields (archived, favorite) (see https://psalm.dev/011)
|
InvalidReturnStatement:
lib/Db/Table.php#L79
lib/Db/Table.php:79:10: InvalidReturnStatement: The inferred type 'array{archived: bool, columnsCount: int, createdAt: string, createdBy: string, emoji: null|string, favorite: bool|null, hasShares: bool, id: int, isShared: bool, lastEditAt: string, lastEditBy: string, onSharePermissions: array{create: bool, delete: bool, manage: bool, read: bool, update: bool}|null, ownerDisplayName: string, ownership: string, rowsCount: int, title: string, views: array<array-key, array{columns: array<array-key, int>, createdAt: string, createdBy: string, description: null|string, emoji: null|string, filter: list<list<array{columnId: int, operator: 'begins-with'|'contains'|'ends-with'|'is-empty'|'is-equal'|'is-greater-than'|'is-greater-than-or-equal'|'is-lower-than'|'is-lower-than-or-equal', value: float|int|string}>>, hasShares: bool, id: int, isShared: bool, lastEditAt: string, lastEditBy: string, onSharePermissions: array{create: bool, delete: bool, manage: bool, read: bool, update: bool}|null, ownerDisplayName: null|string, ownership: string, rowsCount: int, sort: list<array{columnId: int, mode: 'ASC'|'DESC'}>, tableId: int, title: string}>}' does not match the declared return type 'array{columnsCount: int, createdAt: string, createdBy: string, emoji: null|string, hasShares: bool, id: int, isShared: bool, lastEditAt: string, lastEditBy: string, onSharePermissions: array{create: bool, delete: bool, manage: bool, read: bool, update: bool}|null, ownerDisplayName: string, ownership: string, rowsCount: int, title: string, views: array<array-key, array{columns: array<array-key, int>, createdAt: string, createdBy: string, description: null|string, emoji: null|string, filter: list<list<array{columnId: int, operator: 'begins-with'|'contains'|'ends-with'|'is-empty'|'is-equal'|'is-greater-than'|'is-greater-than-or-equal'|'is-lower-than'|'is-lower-than-or-equal', value: float|int|string}>>, hasShares: bool, id: int, isShared: bool, lastEditAt: string, lastEditBy: string, onSharePermissions: array{create: bool, delete: bool, manage: bool, read: bool, update: bool}|null, ownerDisplayName: null|string, ownership: string, rowsCount: int, sort: list<array{columnId: int, mode: 'ASC'|'DESC'}>, tableId: int, title: string}>}' for OCA\Tables\Db\Table::jsonSerialize due to additional array shape fields (archived, favorite) (see https://psalm.dev/128)
|
static-psalm-analysis dev-stable28
Process completed with exit code 2.
|
static-psalm-analysis-summary
Process completed with exit code 1.
|
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#L59
lib/Command/Clean.php:59: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)
|
PossiblyNullArgument:
lib/Command/Clean.php#L116
lib/Command/Clean.php:116:52: PossiblyNullArgument: Argument 1 of OCA\Tables\Service\ColumnService::findAllByTable cannot be null, possibly null value provided (see https://psalm.dev/078)
|
PossiblyNullPropertyAssignmentValue:
lib/Command/Clean.php#L118
lib/Command/Clean.php:118:20: PossiblyNullPropertyAssignmentValue: $this->offset with non-nullable declared type 'int' cannot be assigned nullable type 'int|null' (see https://psalm.dev/148)
|
PossiblyNullOperand:
lib/Command/Clean.php#L137
lib/Command/Clean.php:137:47: PossiblyNullOperand: Cannot concatenate with a possibly null int|null (see https://psalm.dev/080)
|
PossiblyNullIterator:
lib/Command/Clean.php#L147
lib/Command/Clean.php:147:12: PossiblyNullIterator: Cannot iterate over nullable var array<array-key, mixed>|null (see https://psalm.dev/097)
|
PossiblyNullReference:
lib/Command/Clean.php#L147
lib/Command/Clean.php:147:24: PossiblyNullReference: Cannot call method getData on possibly null value (see https://psalm.dev/083)
|
PossiblyNullOperand:
lib/Command/Clean.php#L165
lib/Command/Clean.php:165:87: PossiblyNullOperand: Cannot concatenate with a possibly null int|null (see https://psalm.dev/080)
|
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#L59
lib/Command/Clean.php:59: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)
|
PossiblyNullArgument:
lib/Command/Clean.php#L116
lib/Command/Clean.php:116:52: PossiblyNullArgument: Argument 1 of OCA\Tables\Service\ColumnService::findAllByTable cannot be null, possibly null value provided (see https://psalm.dev/078)
|
PossiblyNullPropertyAssignmentValue:
lib/Command/Clean.php#L118
lib/Command/Clean.php:118:20: PossiblyNullPropertyAssignmentValue: $this->offset with non-nullable declared type 'int' cannot be assigned nullable type 'int|null' (see https://psalm.dev/148)
|
PossiblyNullOperand:
lib/Command/Clean.php#L137
lib/Command/Clean.php:137:47: PossiblyNullOperand: Cannot concatenate with a possibly null int|null (see https://psalm.dev/080)
|
PossiblyNullIterator:
lib/Command/Clean.php#L147
lib/Command/Clean.php:147:12: PossiblyNullIterator: Cannot iterate over nullable var array<array-key, mixed>|null (see https://psalm.dev/097)
|
PossiblyNullReference:
lib/Command/Clean.php#L147
lib/Command/Clean.php:147:24: PossiblyNullReference: Cannot call method getData on possibly null value (see https://psalm.dev/083)
|
PossiblyNullOperand:
lib/Command/Clean.php#L165
lib/Command/Clean.php:165:87: PossiblyNullOperand: Cannot concatenate with a possibly null int|null (see https://psalm.dev/080)
|