upgrade/check_version.php
Reference to undeclared constant \_NO
Open
Open
alt="<?php echo $res?_YES:_NO; ?>" /></td>
- Exclude checks
Reference to undeclared constant \_NO
Open
Open
echo '<div class="x2-note"><td><img src="img/no.png" alt="'._NO.'" />' . ERR_NO_PHP5_CONTENT . '<br /></td><br /></div>';
- Exclude checks
Reference to undeclared constant \_YES
Open
Open
alt="<?php echo $res?_YES:_NO; ?>" /></td>
- Exclude checks
Space found after opening bracket of FOREACH loop Open
Open
<?php foreach ( $results as $upd => $res) { ?>
- Exclude checks
Space found before closing bracket of FOREACH loop Open
Open
foreach ( $files as $file ) echo "<li>$file</li>\n";
- Exclude checks
Space found after opening bracket of FOREACH loop Open
Open
foreach ( $dirs as $dir) {
- Exclude checks
Space found after opening bracket of FOREACH loop Open
Open
foreach ( $files as $k => $file) {
- Exclude checks
Space found after opening bracket of FOREACH loop Open
Open
foreach ( $files as $file ) echo "<li>$file</li>\n";
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
Open
foreach ( $files as $file ) echo "<li>$file</li>\n";
- Exclude checks
Inline control structures are not allowed Open
Open
foreach ( $files as $file ) echo "<li>$file</li>\n";
- Exclude checks
Inline control structures are not allowed Open
Open
if (!defined('ICMS_ROOT_PATH')) die("ImpressCMS root path not defined");
- Exclude checks
Space after opening parenthesis of function call prohibited Open
Open
if (is_object( $upgrader )) {
- Exclude checks
Space after opening parenthesis of function call prohibited Open
Open
$files = array_merge( $files, $upgrader->usedFiles );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
Open
if (strpos( $dir, "-to-" )) {
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
Open
if (!empty( $files )) {
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
Open
if (!empty( $upgrader->usedFiles )) {
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
Open
if (is_writable( "../$file" )) {
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
Open
if (strpos( $dir, "-to-" )) {
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
Open
if ($needUpgrade && !empty( $files )) {
- Exclude checks
Expected 0 spaces after opening bracket; 1 found Open
Open
foreach ( $dirs as $dir) {
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
Open
unset( $files[$k] );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
Open
$dirs = getDirList( "." );
- Exclude checks
Closing brace indented incorrectly; expected 0 spaces, found 4 Open
Open
<?php } ?>
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
Open
if (is_object( $upgrader )) {
- Exclude checks
Space after opening parenthesis of function call prohibited Open
Open
if (is_writable( "../$file" )) {
- Exclude checks
Space after opening parenthesis of function call prohibited Open
Open
unset( $files[$k] );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
Open
if (!empty( $files )) {
- Exclude checks
Expected 0 spaces after opening bracket; 1 found Open
Open
foreach ( $files as $k => $file) {
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
Open
$dirs = getDirList( "." );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
Open
if (!empty( $upgrader->usedFiles )) {
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
Open
if (!is_writable(XOOPS_ROOT_PATH."/mainfile.php" )) {
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
Open
$files = array_merge( $files, $upgrader->usedFiles );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
Open
if ($needUpgrade && !empty( $files )) {
- Exclude checks
Expected 0 spaces after opening bracket; 1 found Open
Open
foreach ( $files as $file ) echo "<li>$file</li>\n";
- Exclude checks
Closing brace must be on a line by itself Open
Open
echo "</ul></div>";} else {
- Exclude checks
Expected 0 spaces after opening bracket; 1 found Open
Open
<?php foreach ( $results as $upd => $res) { ?>
- Exclude checks
Unexpected spaces found. Open
Open
'._I_AM_AWARE.'</div>
- Exclude checks
Unexpected spaces found. Open
Open
<div class="xoform-help">';
- Exclude checks