| Conditions | 2 |
| Paths | 2 |
| Total Lines | 10 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 22 | public static function setGenererRapport($titre, $infos, $type) { |
||
| 23 | $chemin = MODULEROOT."bataille/app/controller/rapports/"; |
||
| 24 | |||
| 25 | if ($type == "mission") { |
||
| 26 | require_once($chemin."mission.php"); |
||
| 27 | } |
||
| 28 | |||
| 29 | $messagerie = new Messagerie(); |
||
| 30 | $messagerie->setEnvoyerMessage($titre, Bataille::getIdIdentite(), $message); |
||
|
|
|||
| 31 | } |
||
| 32 | //-------------------------- END SETTER ----------------------------------------------------------------------------// |
||
| 33 | } |
This check looks for variables that are accessed but have not been defined. It raises an issue if it finds another variable that has a similar name.
The variable may have been renamed without also renaming all references.