add notes path to capabilities #87
Annotations
4 errors
Run coding standards check:
lib/AppInfo/Capabilities.php#L30
lib/AppInfo/Capabilities.php:30:21: RiskyTruthyFalsyComparison: Operand of type null|string contains type string, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
|
Run coding standards check:
lib/Service/NoteUtil.php#L193
lib/Service/NoteUtil.php:193:17: MissingDependency: OCP\Files\IRootFolder depends on class or interface oc\hooks\emitter that does not exist (see https://psalm.dev/157)
|
Run coding standards check:
vendor/nextcloud/ocp/OCP/AppFramework/Controller.php#L77
vendor/nextcloud/ocp/OCP/AppFramework/Controller.php:77:7: ArgumentTypeCoercion: Argument 1 of OCP\AppFramework\Http\JSONResponse::__construct expects JsonSerializable|array<array-key, mixed>|null|scalar|stdClass, but parent type array<array-key, mixed>|null|object|scalar provided (see https://psalm.dev/193)
|
Run coding standards check
Process completed with exit code 2.
|
Loading