stable
Clone or download
Read-only
request #11666: Fix ForbiddenBreakContinueOutsideLoop error
The following error is raised by our PHPCompatibility job: > Using 'break' outside of a loop or switch structure is invalid and will throw > a fatal error since PHP 7.0. This is a false positive, since the for loop is only missing curly braces (which is valid but does not comply with PSR-2[0]). Basically here we are stopping two gaps with one bush \o/ No functional changes. [0] https://www.php-fig.org/psr/psr-2/#5-control-structures Change-Id: I0580f7772992818460f1e2fd89b3bae102abcc26
Modified Files
Name | ||||
---|---|---|---|---|
M | src/common/wiki/phpwiki/lib/fpdf.php | +2 | −1 | Go to diff View file |