fix(sync): prevent race condition by relying on autoincrement #6848
Annotations
8 errors
Run coding standards check:
lib/Db/Step.php#L52
lib/Db/Step.php:52:27: UndefinedConstant: Const VERSION_STORED_IN_ID is not defined (see https://psalm.dev/020)
|
Run coding standards check:
lib/Db/Step.php#L68
lib/Db/Step.php:68:37: UndefinedConstant: Const VERSION_STORED_IN_ID is not defined (see https://psalm.dev/020)
|
Run coding standards check:
lib/Db/StepMapper.php#L46
lib/Db/StepMapper.php:46:4: ParseError: Syntax error, unexpected T_OBJECT_OPERATOR on line 46 (see https://psalm.dev/173)
|
Run coding standards check:
lib/Db/StepMapper.php#L46
lib/Db/StepMapper.php:46:6: UndefinedFunction: Function OCA\Text\Db\andWhere does not exist (see https://psalm.dev/021)
|
Run coding standards check:
lib/Service/DocumentService.php#L254
lib/Service/DocumentService.php:254:13: InvalidReturnType: The declared return type 'int' for OCA\Text\Service\DocumentService::insertSteps is incorrect, got 'string' (see https://psalm.dev/011)
|
Run coding standards check:
lib/Service/DocumentService.php#L272
lib/Service/DocumentService.php:272:24: UndefinedConstant: Const id is not defined (see https://psalm.dev/020)
|
Run coding standards check:
lib/Service/DocumentService.php#L275
lib/Service/DocumentService.php:275:11: InvalidReturnStatement: The inferred type 'string' does not match the declared return type 'int' for OCA\Text\Service\DocumentService::insertSteps (see https://psalm.dev/128)
|
Run coding standards check
Process completed with exit code 2.
|
The logs for this run have expired and are no longer available.
Loading