for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace modules\bataille\app\controller;
use modules\messagerie\app\controller\Messagerie;
class GenerationRapport {
//-------------------------- BUILDER ----------------------------------------------------------------------------//
public function __construct() {
}
//-------------------------- END BUILDER ----------------------------------------------------------------------------//
//-------------------------- GETTER ----------------------------------------------------------------------------//
//-------------------------- END GETTER ----------------------------------------------------------------------------//
//-------------------------- SETTER ----------------------------------------------------------------------------//
public static function setGenererRapport($titre, $infos, $type) {
$chemin = MODULEROOT."bataille/app/controller/rapports/";
if ($type == "mission") {
require_once($chemin."mission.php");
$messagerie = new Messagerie();
$messagerie->setEnvoyerMessage($titre, Bataille::getIdIdentite(), $message);
$message
$messagerie
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.
//-------------------------- END SETTER ----------------------------------------------------------------------------//
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.