web/admin/edit_silverbullet.php
File edit_silverbullet.php
has 644 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
<?php
/*
* Contributions to this work were made on behalf of the GÉANT project, a
* project that has received funding from the European Union’s Horizon 2020
* research and innovation programme under Grant Agreement No. 731122 (GN4-2).
Avoid deeply nested control flow statements. Open
Open
if ($oneLine === FALSE) {
break;
}
Avoid deeply nested control flow statements. Open
Open
if ($number === FALSE) { // invalid input received, default to sane
$number = 5;
}
Avoid deeply nested control flow statements. Open
Open
if (count($elements) < 2) {
break;
}