for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php declare(strict_types=1);
/**
* uninstall.php - cleanup on module uninstall
*
* @author XOOPS Module Development Team
* @copyright {@link https://xoops.org 2001-2016 XOOPS Project}
* @license {@link https://www.fsf.org/copyleft/gpl.html GNU public license}
* @link https://xoops.org XOOPS
*/
* Prepares system prior to attempting to uninstall module
* @param \XoopsModule $module {@link XoopsModule}
* @return bool true if ready to uninstall, false if not
function xoops_module_pre_uninstall_contact(\XoopsModule $module)
$module
If this is a false-positive, you can also ignore this issue in your code via the ignore-unused annotation
ignore-unused
function xoops_module_pre_uninstall_contact(/** @scrutinizer ignore-unused */ \XoopsModule $module)
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.
{
// Do some synchronization
return true;
}
* Performs tasks required during uninstallation of the module
* @return bool true if uninstallation successful, false if not
function xoops_module_uninstall_contact(\XoopsModule $module)
function xoops_module_uninstall_contact(/** @scrutinizer ignore-unused */ \XoopsModule $module)
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.