ImpressCMS/impresscms

View on GitHub
htdocs/install/install_tpl.php

Summary

Maintainability
A
0 mins
Test Coverage

Variable $wizard is undeclared
Open

        (<?php echo ($wizard->currentPage + 1) . '/' . count($wizard->pages); ?>)</title>
Severity: Minor
Found in htdocs/install/install_tpl.php by phan

Variable $wizard is undeclared
Open

                        if ($k == $wizard->currentPage) $class = ' class="current"';
Severity: Minor
Found in htdocs/install/install_tpl.php by phan

Variable $wizard is undeclared
Open

                            $li = '<a href="' . $wizard->pageURI($page) . '">' . $wizard->pagesNames[$k] . '</a>';
Severity: Minor
Found in htdocs/install/install_tpl.php by phan

Variable $wizard is undeclared
Open

                <div class="page" id="<?php echo $wizard->currentPageName; ?>">
Severity: Minor
Found in htdocs/install/install_tpl.php by phan

Variable $wizard is undeclared
Open

            &nbsp;<?php echo ($wizard->currentPage + 1) . INSTALL_OUTOF . count($wizard->pages); ?></div>
Severity: Minor
Found in htdocs/install/install_tpl.php by phan

Variable $wizard is undeclared
Open

                        elseif ($k > $wizard->currentPage) $class = ' class="disabled"';
Severity: Minor
Found in htdocs/install/install_tpl.php by phan

Variable $wizard is undeclared
Open

                    <h2><?php echo $wizard->pagesTitles[$wizard->currentPage]; ?></h2>
Severity: Minor
Found in htdocs/install/install_tpl.php by phan

Variable $wizard is undeclared
Open

                    <?php if ($wizard->currentPage != 0 && ($wizard->currentPage != 11)) { ?>
Severity: Minor
Found in htdocs/install/install_tpl.php by phan

Variable $wizard is undeclared
Open

                    <?php if ($wizard->pages[$wizard->currentPage] == $wizard->secondlastpage) { ?>
Severity: Minor
Found in htdocs/install/install_tpl.php by phan

Variable $pageHasForm is undeclared
Open

                        <?php if (@$pageHasForm) { ?>
Severity: Minor
Found in htdocs/install/install_tpl.php by phan

Variable $wizard is undeclared
Open

                                    onclick="location.href='<?php echo $wizard->pageURI('+1'); ?>'" class="next">
Severity: Minor
Found in htdocs/install/install_tpl.php by phan

Variable $pageHasHelp is undeclared
Open

                    <?php if ($pageHasHelp) { ?>
Severity: Minor
Found in htdocs/install/install_tpl.php by phan

Variable $wizard is undeclared
Open

                                onclick="location.href='<?php echo $wizard->pageURI('11'); ?>?success=true'"
Severity: Minor
Found in htdocs/install/install_tpl.php by phan

Variable $pageHasForm is undeclared
Open

                    <?php if (@$pageHasForm) { ?>
Severity: Minor
Found in htdocs/install/install_tpl.php by phan

Variable $wizard is undeclared
Open

                        <?php } else if ($wizard->pages[$wizard->currentPage] != $wizard->lastpage) { ?>
Severity: Minor
Found in htdocs/install/install_tpl.php by phan

Variable $wizard is undeclared
Open

                                onclick="location.href='<?php echo $wizard->pageURI('-1'); ?>'" class="prev">
Severity: Minor
Found in htdocs/install/install_tpl.php by phan

Variable $wizard is undeclared
Open

                    <?php if ($wizard->currentPage == 11) { ?>
Severity: Minor
Found in htdocs/install/install_tpl.php by phan

Variable $wizard is undeclared
Open

                    <?php foreach ($wizard->pages as $k => $page) {
Severity: Minor
Found in htdocs/install/install_tpl.php by phan

Variable $content is undeclared
Open

                    <?php echo $content; ?>
Severity: Minor
Found in htdocs/install/install_tpl.php by phan

Variable $wizard is undeclared
Open

                                onclick="location.href='<?php echo $wizard->pageURI('+1'); ?>'" class="next">
Severity: Minor
Found in htdocs/install/install_tpl.php by phan

Variable $wizard is undeclared
Open

                            $li = $wizard->pagesNames[$k];
Severity: Minor
Found in htdocs/install/install_tpl.php by phan

Inline control structures are not allowed
Open

                        if ($k == $wizard->currentPage) $class = ' class="current"';

Inline control structures are not allowed
Open

                        elseif ($k > $wizard->currentPage) $class = ' class="disabled"';

Closing brace indented incorrectly; expected 20 spaces, found 24
Open

                        <?php } else { ?>

Closing brace indented incorrectly; expected 24 spaces, found 28
Open

                            <?php } else { ?>

Line indented incorrectly; expected 0 tabs, found 5
Open

                    } ?>

Closing brace indented incorrectly; expected 20 spaces, found 24
Open

                        <?php } else if ($wizard->pages[$wizard->currentPage] != $wizard->lastpage) { ?>

Closing brace indented incorrectly; expected 28 spaces, found 32
Open

                                <?php } ?>

Closing brace indented incorrectly; expected 24 spaces, found 28
Open

                            <?php } ?>

Closing brace indented incorrectly; expected 24 spaces, found 28
Open

                            <?php } ?>

Unexpected spaces found.
Open

                                 title="<?php echo BUTTON_SHOW_SITE; ?>" width="32"/>
Severity: Minor
Found in htdocs/install/install_tpl.php by editorconfig

Unexpected spaces found.
Open

                                 title="<?php echo BUTTON_PREVIOUS; ?>" width="16"/>
Severity: Minor
Found in htdocs/install/install_tpl.php by editorconfig

Unexpected spaces found.
Open

                                 title="<?php echo SHOW_HIDE_HELP; ?>"/>
Severity: Minor
Found in htdocs/install/install_tpl.php by editorconfig

Unexpected spaces found.
Open

                             title="<?php echo SHOW_HIDE_HELP; ?>"/>
Severity: Minor
Found in htdocs/install/install_tpl.php by editorconfig

There are no issues that match your filters.

Category
Status