public function execute() { $file = php_ini_loaded_file(); if (!file_exists($file)) { $php = Config::getCurrentPhpName(); $this->logger->warn("Sorry, I can't find the {$file} file for php {$php}."); return; } Utils::editor($file); }