admin/utility.php
There must be one USE keyword per declaration Open
Open
use XoopsModules\Xoopspoll\{
- Exclude checks
Line exceeds 120 characters; contains 148 characters Open
Open
redirect_header($_SERVER['SCRIPT_NAME'], Constants::REDIRECT_DELAY_MEDIUM, implode('<br>', $GLOBALS['xoopsSecurity']->getErrors()));
- Exclude checks
Line exceeds 120 characters; contains 135 characters Open
Open
throw new Exception('Could not find options for the ' . $umPollObj->getVar('question') . ' poll.');
- Exclude checks
Line exceeds 120 characters; contains 165 characters Open
Open
throw new Exception(sprintf(_AM_XOOPSPOLL_QUESTION_IMPORT_FAILED, $umPollObj->getVar('question'), '<br>' . $umPollObj->getHtmlErrors()));
- Exclude checks
Line exceeds 120 characters; contains 165 characters Open
Open
throw new Exception(sprintf(_AM_XOOPSPOLL_LOG_FAILED, $umPollObj->getVar('question') . '<br>' . $xpLogObj->getHtmlErrors()));
- Exclude checks
Line exceeds 120 characters; contains 158 characters Open
Open
throw new Exception(sprintf(_AM_XOOPSPOLL_QUESTION_FAILED, $umPollObj->getVar('question'), '<br>' . $xpObj->getHtmlErrors()));
- Exclude checks
Line exceeds 120 characters; contains 201 characters Open
Open
throw new Exception(sprintf(_AM_XOOPSPOLL_OPTION_FAILED, $umOptObj->getVar('option_text'), $umPollObj->getVar('question'), '<br>' . $xpOptObj->getHtmlErrors()));
- Exclude checks
Line exceeds 120 characters; contains 124 characters Open
Open
echo "<div class='floatcenter1'>" . xoops_error($e->getMessage(), _AM_XOOPSPOLL_IMPORT_FAILED) . "</div>\n";
- Exclude checks
Line exceeds 120 characters; contains 150 characters Open
Open
redirect_header('index.php', Constants::REDIRECT_DELAY_MEDIUM, sprintf(_AM_XOOPSPOLL_IMPORT_SUCCESS, count($allUmfragePollObjs)));
- Exclude checks