add notes path to capabilities #87
psalm-matrix.yml
on: pull_request
matrix
12s
Matrix: static-analysis
static-psalm-analysis-summary
5s
Annotations
19 errors
RiskyTruthyFalsyComparison:
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)
|
ArgumentTypeCoercion:
lib/Controller/Helper.php#L140
lib/Controller/Helper.php:140:38: ArgumentTypeCoercion: Argument 2 of OCP\AppFramework\Http\JSONResponse::__construct expects 100|101|102|200|201|202|203|204|205|206|207|208|226|300|301|302|303|304|305|306|307|400|401|402|403|404|405|406|407|408|409|410|411|412|413|414|415|416|417|418|422|423|424|426|428|429|431|500|501|502|503|504|505|506|507|508|509|510|511, but parent type int provided (see https://psalm.dev/193)
|
MissingDependency:
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)
|
ArgumentTypeCoercion:
vendor/nextcloud/ocp/OCP/AppFramework/Controller.php#L56
vendor/nextcloud/ocp/OCP/AppFramework/Controller.php:56: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)
|
static-psalm-analysis dev-stable31
Process completed with exit code 2.
|
RiskyTruthyFalsyComparison:
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)
|
MissingDependency:
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)
|
ArgumentTypeCoercion:
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)
|
static-psalm-analysis dev-stable29
Process completed with exit code 2.
|
RiskyTruthyFalsyComparison:
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)
|
MissingDependency:
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)
|
ArgumentTypeCoercion:
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)
|
static-psalm-analysis dev-stable28
Process completed with exit code 2.
|
RiskyTruthyFalsyComparison:
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)
|
ArgumentTypeCoercion:
lib/Controller/Helper.php#L140
lib/Controller/Helper.php:140:38: ArgumentTypeCoercion: Argument 2 of OCP\AppFramework\Http\JSONResponse::__construct expects 100|101|102|200|201|202|203|204|205|206|207|208|226|300|301|302|303|304|305|306|307|400|401|402|403|404|405|406|407|408|409|410|411|412|413|414|415|416|417|418|422|423|424|426|428|429|431|500|501|502|503|504|505|506|507|508|509|510|511, but parent type int provided (see https://psalm.dev/193)
|
MissingDependency:
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)
|
ArgumentTypeCoercion:
vendor/nextcloud/ocp/OCP/AppFramework/Controller.php#L56
vendor/nextcloud/ocp/OCP/AppFramework/Controller.php:56: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)
|
static-psalm-analysis dev-stable30
Process completed with exit code 2.
|
static-psalm-analysis-summary
Process completed with exit code 1.
|