dav
dav copied to clipboard
Error PHP "continue" targeting switch is equivalent to "break"
This error pops up for two files in the nextcloud log:
3rdparty/sabre/vobject/lib/Component/VCard.php#514 3rdparty/sabre/dav/lib/CalDAV/ICSExportPlugin.php#321
replacing the continue statement by "continue 2" solves this, but maybe it shoule be a break?
Which php version are you running?
IIRC this is a new error/warning with php 7.3
I sent the pull request for php 7.3 fix that resolves this issue in sabre/dav:3.2 branch.
Until it's merged I aliased the repository in my composer.json
:
"require": {
"sabre/dav": "^3.2"
},
"repositories": [
{
"type": "vcs",
"url": "https://github.com/koerbler/dav"
}
]