Skip to content

php syntax warning #114

@ryangroth5

Description

@ryangroth5

getting a syntax error with PHP 7.3.2, "continue is the same as break in a swtich" the following patch suppresses the error and will work for any version of PHP:

--- a/src/PHPVideoToolkit/Mime.php~	2019-02-06 20:11:38.000000000 +0000
+++ b/src/PHPVideoToolkit/Mime.php	2019-03-01 15:57:29.245315100 +0000
@@ -186,7 +186,7 @@
 
                          default:
                             // date, ldate, ledate, leldate, beldate, lebelbe...
-                            continue;
+                            break;
                       }
                    }
                

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions