mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-06-01 12:19:28 +00:00
Codesniffer compliant: if, for and while
This commit is contained in:
@@ -35,7 +35,7 @@
|
||||
* @since Version 1.0.0
|
||||
* @filesource
|
||||
*/
|
||||
defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
if (! defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
$lang['cal_su'] = 'Su';
|
||||
$lang['cal_mo'] = 'Mo';
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
* @since Version 1.0.0
|
||||
* @filesource
|
||||
*/
|
||||
defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
if (! defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
$lang['date_year'] = 'Year';
|
||||
$lang['date_years'] = 'Years';
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
* @since Version 1.0.0
|
||||
* @filesource
|
||||
*/
|
||||
defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
if (! defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
$lang['db_invalid_connection_str'] = 'Unable to determine the database settings based on the connection string you submitted.';
|
||||
$lang['db_unable_to_connect'] = 'Unable to connect to your database server using the provided settings.';
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
* @since Version 1.0.0
|
||||
* @filesource
|
||||
*/
|
||||
defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
if (! defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
$lang['email_must_be_array'] = 'The email validation method must be passed an array.';
|
||||
$lang['email_invalid_address'] = 'Invalid email address: %s';
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
* @since Version 1.0.0
|
||||
* @filesource
|
||||
*/
|
||||
defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
if (! defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
$lang['form_validation_required'] = 'The {field} field is required.';
|
||||
$lang['form_validation_isset'] = 'The {field} field must have a value.';
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
* @since Version 1.0.0
|
||||
* @filesource
|
||||
*/
|
||||
defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
if (! defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
$lang['ftp_no_connection'] = 'Unable to locate a valid connection ID. Please make sure you are connected before performing any file routines.';
|
||||
$lang['ftp_unable_to_connect'] = 'Unable to connect to your FTP server using the supplied hostname.';
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
* @since Version 1.0.0
|
||||
* @filesource
|
||||
*/
|
||||
defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
if (! defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
$lang['imglib_source_image_required'] = 'You must specify a source image in your preferences.';
|
||||
$lang['imglib_gd_required'] = 'The GD image library is required for this feature.';
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
* @since Version 1.0.0
|
||||
* @filesource
|
||||
*/
|
||||
defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
if (! defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
$lang['terabyte_abbr'] = 'TB';
|
||||
$lang['gigabyte_abbr'] = 'GB';
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
* @since Version 1.0.0
|
||||
* @filesource
|
||||
*/
|
||||
defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
if (! defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
$lang['pagination_first_link'] = '‹ First';
|
||||
$lang['pagination_next_link'] = '>';
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
* @since Version 1.0.0
|
||||
* @filesource
|
||||
*/
|
||||
defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
if (! defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
$lang['profiler_database'] = 'DATABASE';
|
||||
$lang['profiler_controller_info'] = 'CLASS/METHOD';
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
* FH-Complete
|
||||
*
|
||||
*/
|
||||
defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
if (! defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
$lang['seed_none_found'] = 'No seeds were found.';
|
||||
$lang['seed_not_found'] = 'No seed could be found with the version number: %s.';
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
* @since Version 1.0.0
|
||||
* @filesource
|
||||
*/
|
||||
defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
if (! defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
$lang['ut_test_name'] = 'Test Name';
|
||||
$lang['ut_test_datatype'] = 'Test Datatype';
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
* @since Version 1.0.0
|
||||
* @filesource
|
||||
*/
|
||||
defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
if (! defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
$lang['upload_userfile_not_set'] = 'Unable to find a post variable called userfile.';
|
||||
$lang['upload_file_exceeds_limit'] = 'The uploaded file exceeds the maximum allowed size in your PHP configuration file.';
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
* @since Version 1.0.0
|
||||
* @filesource
|
||||
*/
|
||||
defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
if (! defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
$lang['cal_su'] = 'Su';
|
||||
$lang['cal_mo'] = 'Mo';
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
* @since Version 1.0.0
|
||||
* @filesource
|
||||
*/
|
||||
defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
if (! defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
$lang['date_year'] = 'Year';
|
||||
$lang['date_years'] = 'Years';
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
* @since Version 1.0.0
|
||||
* @filesource
|
||||
*/
|
||||
defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
if (! defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
$lang['db_invalid_connection_str'] = 'Unable to determine the database settings based on the connection string you submitted.';
|
||||
$lang['db_unable_to_connect'] = 'Unable to connect to your database server using the provided settings.';
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
* @since Version 1.0.0
|
||||
* @filesource
|
||||
*/
|
||||
defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
if (! defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
$lang['email_must_be_array'] = 'The email validation method must be passed an array.';
|
||||
$lang['email_invalid_address'] = 'Invalid email address: %s';
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
* @since Version 1.0.0
|
||||
* @filesource
|
||||
*/
|
||||
defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
if (! defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
$lang['form_validation_required'] = 'The {field} field is required.';
|
||||
$lang['form_validation_isset'] = 'The {field} field must have a value.';
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
* @since Version 1.0.0
|
||||
* @filesource
|
||||
*/
|
||||
defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
if (! defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
$lang['ftp_no_connection'] = 'Unable to locate a valid connection ID. Please make sure you are connected before performing any file routines.';
|
||||
$lang['ftp_unable_to_connect'] = 'Unable to connect to your FTP server using the supplied hostname.';
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
* @since Version 1.0.0
|
||||
* @filesource
|
||||
*/
|
||||
defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
if (! defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
$lang['imglib_source_image_required'] = 'You must specify a source image in your preferences.';
|
||||
$lang['imglib_gd_required'] = 'The GD image library is required for this feature.';
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
* @since Version 3.0.0
|
||||
* @filesource
|
||||
*/
|
||||
defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
if (! defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
$lang['migration_none_found'] = 'No migrations were found.';
|
||||
$lang['migration_not_found'] = 'No migration could be found with the version number: %s.';
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
* @since Version 1.0.0
|
||||
* @filesource
|
||||
*/
|
||||
defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
if (! defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
$lang['terabyte_abbr'] = 'TB';
|
||||
$lang['gigabyte_abbr'] = 'GB';
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
* @since Version 1.0.0
|
||||
* @filesource
|
||||
*/
|
||||
defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
if (! defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
$lang['pagination_first_link'] = '‹ First';
|
||||
$lang['pagination_next_link'] = '>';
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
* @since Version 1.0.0
|
||||
* @filesource
|
||||
*/
|
||||
defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
if (! defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
$lang['profiler_database'] = 'DATABASE';
|
||||
$lang['profiler_controller_info'] = 'CLASS/METHOD';
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
* FH-Complete
|
||||
*
|
||||
*/
|
||||
defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
if (! defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
$lang['seed_none_found'] = 'No seeds were found.';
|
||||
$lang['seed_not_found'] = 'No seed could be found with the version number: %s.';
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
* @since Version 1.0.0
|
||||
* @filesource
|
||||
*/
|
||||
defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
if (! defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
$lang['ut_test_name'] = 'Test Name';
|
||||
$lang['ut_test_datatype'] = 'Test Datatype';
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
* @since Version 1.0.0
|
||||
* @filesource
|
||||
*/
|
||||
defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
if (! defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
$lang['upload_userfile_not_set'] = 'Unable to find a post variable called userfile.';
|
||||
$lang['upload_file_exceeds_limit'] = 'The uploaded file exceeds the maximum allowed size in your PHP configuration file.';
|
||||
|
||||
Reference in New Issue
Block a user