Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
handleUpload uses coninue in a switch: https://cgit.drupalcode.org/dropzonejs/tree/src/UploadHandler.php
Triggering a PHP error:
PHP 7.3 Bug: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"
Comment | File | Size | Author |
---|---|---|---|
#5 | 3043246-6.patch | 934 bytes | chr.fritsch |
#4 | 3043246-4.patch | 1.5 KB | chr.fritsch |
#2 | 3043246-2.patch | 934 bytes | chr.fritsch |
Comments
Comment #2
chr.fritschHere is a patch. Let's fix this first on 8.x-1.x and then on 8.x-2.x
Comment #4
chr.fritsch$this->tmpFile was assigned twice, but the first one is not needed.
Comment #5
chr.fritschRe-uploading #2 to test on 8.x-2.x
Comment #6
chr.fritschWe have now also green test on Thunder with 7.3
Comment #7
chr.fritschLet's close this. Committed.