Closed phil-davis closed 11 months ago
All modified and coverable lines are covered by tests :white_check_mark:
:exclamation: No coverage uploaded for pull request base (
4.6@f2fa433
). Click here to learn what that means.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
backport of #1519
To preserve backward-compatibility I added the last commit https://github.com/sabre-io/dav/pull/1526/commits/db80aae6119e95c900575b516817a0bdf91bc8fc in addition to all the commits from master.
The original client
propFind
function needs to preserve its existing untyped parameters to be strictly backward-compatible.I added some unit test cases to check what happens when
$url
is passed as anint
(a file called "123456" might be passed as the integer123456
), and what happens when depth of1
is passes as the string "1". We should let callers still be able to do those things in the current release series.