Skip to content

Commit

Permalink
PSR-2 2.2 no closing tag.
Browse files Browse the repository at this point in the history
  • Loading branch information
Stardog committed Apr 7, 2016
1 parent 5db136e commit df35ff3
Show file tree
Hide file tree
Showing 122 changed files with 11 additions and 195 deletions.
4 changes: 1 addition & 3 deletions core/conf/i18n/default.php
Expand Up @@ -11,6 +11,4 @@
define('PREFERRED_YEAR_DISPLAY', '%Y');
define('PHPWS_DATE_FORMAT', 'm/d/Y');
define('PHPWS_DAY_START', 0); // 0 = Sunday, 1 = Monday
define('PHPWS_TIME_DIFF', 0);

?>
define('PHPWS_TIME_DIFF', 0);
3 changes: 1 addition & 2 deletions javascript/captcha/freecap/verify.php
Expand Up @@ -44,5 +44,4 @@ function verify($return_value=false)
} else {
return false;
}
}
?>
}
3 changes: 1 addition & 2 deletions javascript/check_all/default.php
Expand Up @@ -16,5 +16,4 @@
default:
$data['input_type'] = 'button';
break;
}
?>
}
1 change: 0 additions & 1 deletion javascript/flowplayer/default.php
@@ -1,3 +1,2 @@
<?php
javascript('jquery');
?>
2 changes: 0 additions & 2 deletions javascript/js_calendar/default.php
Expand Up @@ -46,5 +46,3 @@
}

$data['alt'] = _('Pick date');

?>
2 changes: 0 additions & 2 deletions javascript/prompt/default.php
Expand Up @@ -20,5 +20,3 @@
$data['answer'] = preg_replace("/([^\\\])'/", "\\1\'", $data['answer']);
$data['answer'] = str_replace("&#039;", "\\'", $data['answer']);
}

?>
2 changes: 0 additions & 2 deletions mod/access/class/Forms.php
Expand Up @@ -291,5 +291,3 @@ public static function shortcut_menu()
}

}

?>
1 change: 0 additions & 1 deletion mod/access/conf/config.php
Expand Up @@ -11,4 +11,3 @@
define('DEFAULT_CONDITION', "RewriteCond %{REQUEST_FILENAME} !-f\nRewriteCond %{REQUEST_FILENAME} !-d");
define('DEFAULT_REWRITE_1', 'RewriteRule ^([a-z0-9]+)/([a-z0-9]+)/?$ index.php?module=$1&id=$2 [L,NC]');
define('DEFAULT_REWRITE_2', 'RewriteRule ^([a-z0-9]+)/([a-z0-9]+)/([a-z0-9]+)/?$ index.php?module=$1&id=$2&page=$3 [L,NC]');
?>
2 changes: 0 additions & 2 deletions mod/access/inc/close.php
Expand Up @@ -23,5 +23,3 @@
Access::shortcut($key);
}
}

?>
1 change: 0 additions & 1 deletion mod/addthis/boost/controlpanel.php
Expand Up @@ -31,4 +31,3 @@
'tab' => 'admin'
);

?>
1 change: 0 additions & 1 deletion mod/addthis/class/SettingsView.php
Expand Up @@ -51,4 +51,3 @@ public function show()
}
}

?>
2 changes: 0 additions & 2 deletions mod/block/inc/init.php
Expand Up @@ -7,5 +7,3 @@
\phpws\PHPWS_Core::initModClass('block', 'Block.php');
require_once PHPWS_SOURCE_DIR . 'mod/block/inc/parse.php';
PHPWS_Text::addTag('block', 'view');

?>
2 changes: 0 additions & 2 deletions mod/blog/boost/uninstall.php
Expand Up @@ -14,5 +14,3 @@ function blog_uninstall(&$content)
return TRUE;
}


?>
1 change: 0 additions & 1 deletion mod/blog/class/Blog_Admin.php
Expand Up @@ -434,4 +434,3 @@ public static function purgeEntries($date)

}

?>
2 changes: 0 additions & 2 deletions mod/blog/class/Blog_XML.php
Expand Up @@ -172,5 +172,3 @@ public function getKeyId($id)
}

}

?>
1 change: 0 additions & 1 deletion mod/boost/boost/permission.php
@@ -1,4 +1,3 @@
<?php

$use_permissions = TRUE;
?>
1 change: 0 additions & 1 deletion mod/boost/conf/config.php
Expand Up @@ -31,4 +31,3 @@
define('BOOST_NO_REGISTER_FUNCTION', -7);
define('BOOST_FAILED_BACKUP', -8);
define('BOOST_FAILED_LOCAL_COPY', -9);
?>
2 changes: 1 addition & 1 deletion mod/calendar/boost/boost.php
Expand Up @@ -11,4 +11,4 @@
$import_sql = true;
$about = true;
$dependency = true;
?>

2 changes: 0 additions & 2 deletions mod/calendar/boost/update.php
Expand Up @@ -323,5 +323,3 @@ function calendarUpdateFiles($files, &$content) {
$content[] = ' ' . implode("\n ", $files);
$content[] = '';
}

?>
2 changes: 0 additions & 2 deletions mod/calendar/class/Admin.php
Expand Up @@ -1589,5 +1589,3 @@ public function postBlog()
}

}

?>
3 changes: 0 additions & 3 deletions mod/calendar/inc/error_defines.php
Expand Up @@ -8,6 +8,3 @@
define('CAL_EVENT_TABLE_MISSING', 1);
define('CAL_REPEAT_LIMIT_PASSED', 2);
define('CAL_CANNOT_MAKE_EVENT_TABLE', 3);


?>
1 change: 0 additions & 1 deletion mod/calendar/inc/runtime.php
Expand Up @@ -24,4 +24,3 @@
}
}

?>
3 changes: 0 additions & 3 deletions mod/checkin/boost/uninstall.php
Expand Up @@ -13,6 +13,3 @@ function checkin_uninstall(&$content)
PHPWS_DB::dropTable('checkin_rtos');
return true;
}


?>
2 changes: 1 addition & 1 deletion mod/checkin/class/Checkin.php
Expand Up @@ -280,4 +280,4 @@ public static function timeWaiting($rel)
}

}
?>

1 change: 0 additions & 1 deletion mod/checkin/class/Checkin_User.php
Expand Up @@ -178,4 +178,3 @@ public function postCheckin()

}

?>
2 changes: 0 additions & 2 deletions mod/checkin/inc/runtime.php
Expand Up @@ -16,5 +16,3 @@
$checkin_admin = new Checkin_Admin;
$checkin_admin->menu();
}

?>
2 changes: 1 addition & 1 deletion mod/checkin/inc/settings.php
Expand Up @@ -15,4 +15,4 @@
$settings['email'] = 0;
$settings['gender'] = 0;
$settings['birthdate'] = 0;
?>

2 changes: 0 additions & 2 deletions mod/controlpanel/boost/permission.php
Expand Up @@ -11,5 +11,3 @@
$permissions['move_link'] = dgettext('controlpanel', 'Move Link');

$itemPermissions = FALSE;

?>
2 changes: 0 additions & 2 deletions mod/controlpanel/boost/register.php
Expand Up @@ -12,5 +12,3 @@ function controlpanel_register($module, &$content)
$result = PHPWS_ControlPanel::registerModule($module, $content);
return $result;
}

?>
1 change: 0 additions & 1 deletion mod/filecabinet/class/Cabinet.php
Expand Up @@ -1368,4 +1368,3 @@ public static function setMessage($message)

}

?>
2 changes: 0 additions & 2 deletions mod/filecabinet/class/File_Assoc.php
Expand Up @@ -574,5 +574,3 @@ public function setMediaDimensions()
}

}

?>
2 changes: 0 additions & 2 deletions mod/filecabinet/class/File_Common.php
Expand Up @@ -622,5 +622,3 @@ public function ckButtons()
}

}

?>
2 changes: 0 additions & 2 deletions mod/filecabinet/class/Folder.php
Expand Up @@ -556,5 +556,3 @@ public function tallyItems()
}

}

?>
1 change: 0 additions & 1 deletion mod/filecabinet/class/Forms.php
Expand Up @@ -844,4 +844,3 @@ public function postAllowedFiles()

}

?>
2 changes: 0 additions & 2 deletions mod/filecabinet/class/Multimedia_Manager.php
Expand Up @@ -308,5 +308,3 @@ public function loadFolder($folder_id = 0)
}

}

?>
2 changes: 0 additions & 2 deletions mod/filecabinet/inc/init.php
Expand Up @@ -8,5 +8,3 @@
\phpws\PHPWS_Core::requireInc('filecabinet', 'parse.php');
\phpws\PHPWS_Core::requireInc('filecabinet', 'defines.php');
\phpws\PHPWS_Core::initModClass('filecabinet', 'Cabinet.php');

?>
2 changes: 0 additions & 2 deletions mod/filecabinet/index.php
Expand Up @@ -40,5 +40,3 @@
$cabinet->download($_GET['id']);
}
}

?>
2 changes: 0 additions & 2 deletions mod/filecabinet/javascript/update_file/default.php
Expand Up @@ -5,5 +5,3 @@
*/

javascript('jquery');

?>
1 change: 0 additions & 1 deletion mod/filecabinet/templates/filters/media/filter.php
Expand Up @@ -11,4 +11,3 @@
$tpl['HEIGHT'] = 20;
$tpl['WIDTH'] = 260;
}
?>
2 changes: 1 addition & 1 deletion mod/layout/boost/boost.php
Expand Up @@ -14,4 +14,4 @@
$priority = 999;
$about = true;
$dependency = true;
?>

2 changes: 0 additions & 2 deletions mod/layout/boost/update.php
Expand Up @@ -267,5 +267,3 @@ function layoutUpdateFiles($files, &$content)
}
$content[] = " " . implode("\n ", $files);
}

?>
1 change: 0 additions & 1 deletion mod/layout/class/Layout.php
Expand Up @@ -1094,4 +1094,3 @@ public static function keyDescriptions()

}

?>
2 changes: 0 additions & 2 deletions mod/layout/class/Layout_Settings.php
Expand Up @@ -289,5 +289,3 @@ public function loadKeyStyle($key_id)
}

}

?>
1 change: 0 additions & 1 deletion mod/layout/inc/close.php
Expand Up @@ -12,4 +12,3 @@
check_cookie();
}
echo Layout::display();
?>
2 changes: 0 additions & 2 deletions mod/layout/inc/settings.php
Expand Up @@ -7,5 +7,3 @@

$settings['use_key_summaries'] = 0;
$settings['include_css_order'] = 1;

?>
1 change: 0 additions & 1 deletion mod/likebox/boost/boost.php
Expand Up @@ -30,4 +30,3 @@
$image_dir = false;
$file_dir = false;

?>
2 changes: 1 addition & 1 deletion mod/likebox/class/LikeboxView.php
Expand Up @@ -76,4 +76,4 @@ public function view()
Layout::add($content, 'likebox', 'view');
}
}
?>

1 change: 0 additions & 1 deletion mod/menu/boost/update.php
Expand Up @@ -409,4 +409,3 @@ function menuUpdateFiles($files, &$content)
}
}

?>
2 changes: 0 additions & 2 deletions mod/menu/inc/key.php
Expand Up @@ -40,5 +40,3 @@ function menu_unregister_key(Key $key)

return true;
}

?>
2 changes: 1 addition & 1 deletion mod/notification/class/NotificationQueue.php
Expand Up @@ -33,4 +33,4 @@ public function isEmpty()
return empty($this->queue);
}
}
?>

2 changes: 0 additions & 2 deletions mod/notification/inc/runtime.php
Expand Up @@ -3,5 +3,3 @@
\phpws\PHPWS_Core::initModClass('notification', 'NQ.php');

NQ::init();

?>
2 changes: 0 additions & 2 deletions mod/pagesmith/boost/permission.php
Expand Up @@ -10,5 +10,3 @@
$permissions['edit_page'] = dgettext('pagesmith', 'Edit page');
$permissions['delete_page'] = dgettext('pagesmith', 'Delete page');
$permissions['settings'] = dgettext('pagesmith', 'Change settings (Unrestricted only)');

?>
1 change: 0 additions & 1 deletion mod/pagesmith/boost/update.php
Expand Up @@ -524,4 +524,3 @@ function pagesmithSearchIndex()
return true;
}

?>
1 change: 0 additions & 1 deletion mod/pagesmith/class/PS_Page.php
Expand Up @@ -680,4 +680,3 @@ public static function purgeRows($rows)

}

?>
2 changes: 0 additions & 2 deletions mod/pagesmith/class/PS_Text.php
Expand Up @@ -86,5 +86,3 @@ public function save($key_id)
}

}

?>
2 changes: 0 additions & 2 deletions mod/pagesmith/conf/config.php
Expand Up @@ -19,5 +19,3 @@
* change the below to false. Do so at your own risk.
*/
define('PS_CHECK_CHAR_LENGTH', true);

?>
1 change: 0 additions & 1 deletion mod/pagesmith/conf/error.php
Expand Up @@ -9,4 +9,3 @@
$errors[PS_TPL_NO_TN] = dgettext('pagesmith', 'Page template is missing a thumbnail.');
$errors[PS_TPL_NO_SECTIONS] = dgettext('pagesmith', 'Page template did not contain any sections.');
$errors[PS_PG_TPL_ERROR] = dgettext('pagesmith', 'An error occurred when trying to load the page template.');
?>
2 changes: 0 additions & 2 deletions mod/pagesmith/javascript/confirm_delete/default.php
Expand Up @@ -5,5 +5,3 @@
*/

$data['question'] = dgettext('pagesmith', 'Are you sure you want to delete this page template?');

?>
2 changes: 1 addition & 1 deletion mod/pagesmith/javascript/update/default.php
Expand Up @@ -6,4 +6,4 @@
*/

javascript('jquery');
?>

1 change: 0 additions & 1 deletion mod/phatform/boost/boost.php
Expand Up @@ -10,4 +10,3 @@
$version_http = 'http://phpwebsite.appstate.edu/downloads/modules/phatform/check.xml';
$about = true;
$dependency = true;
?>
2 changes: 0 additions & 2 deletions mod/phatform/class/Pager.php
Expand Up @@ -361,5 +361,3 @@ function cleanUp() {
unset($this->returnData);
}
} // END CLASS PHPWS_Pager

?>

0 comments on commit df35ff3

Please sign in to comment.