activity icon indicating copy to clipboard operation
activity copied to clipboard

Static analysis fails

Open artonge opened this issue 3 years ago • 1 comments

Steps to reproduce

Static analysis fails: https://github.com/nextcloud/activity/runs/2546830151?check_suite_focus=true

@ChristophWurst @nickvergessen, an idea why ?

Expected behaviour

Should not fails.

Actual behaviour

It fails :wink:

artonge avatar May 10 '21 15:05 artonge

The problem is ShareNotFound extends OC\HintException which is not public api. There is https://github.com/nextcloud/server/pull/26681 to fix it. Until then I guess you have to add it here or something: https://github.com/nextcloud/activity/blob/master/psalm.xml#L16

nickvergessen avatar May 11 '21 07:05 nickvergessen