This was spotted when running tests on Travis (PHP 7.3 nighly, trusty).
Two expressions inside preg_replace() contained non-escaped "-" inside [],
where this "-" meant an actual "-" character.
The warning is because "-" has special meaning inside [] ("a-z" for range),
and things like [\w-.] are considered "invalid range".
Solution is to escape "-" like this: [\w\-.]
Change-Id: I41cc217081f00f54d957b6d8052ee209412f5ff6
|
||
|---|---|---|
| .. | ||
| UploadBase.php | ||
| UploadFromChunks.php | ||
| UploadFromFile.php | ||
| UploadFromStash.php | ||
| UploadFromUrl.php | ||
| UploadStash.php | ||