From ed1d7e4b24cda7cea7de8702f1efb201183c0046 Mon Sep 17 00:00:00 2001 From: Tinsh Date: Wed, 21 Nov 2018 17:36:36 +0800 Subject: [PATCH] style(*): lowercase TRUE, FALSE and NULL --- system/config/credit_cards.php | 16 ++++++++-------- system/config/curl.php | 2 +- system/config/session.php | 2 +- system/config/userguide.php | 2 +- 4 files changed, 11 insertions(+), 11 deletions(-) diff --git a/system/config/credit_cards.php b/system/config/credit_cards.php index 1401f5c..b8f7be2 100644 --- a/system/config/credit_cards.php +++ b/system/config/credit_cards.php @@ -13,41 +13,41 @@ 'default' => [ 'length' => '13,14,15,16,17,18,19', 'prefix' => '', - 'luhn' => TRUE, + 'luhn' => true, ], 'american express' => [ 'length' => '15', 'prefix' => '3[47]', - 'luhn' => TRUE, + 'luhn' => true, ], 'diners club' => [ 'length' => '14,16', 'prefix' => '36|55|30[0-5]', - 'luhn' => TRUE, + 'luhn' => true, ], 'discover' => [ 'length' => '16', 'prefix' => '6(?:5|011)', - 'luhn' => TRUE, + 'luhn' => true, ], 'jcb' => [ 'length' => '15,16', 'prefix' => '3|1800|2131', - 'luhn' => TRUE, + 'luhn' => true, ], 'maestro' => [ 'length' => '16,18', 'prefix' => '50(?:20|38)|6(?:304|759)', - 'luhn' => TRUE, + 'luhn' => true, ], 'mastercard' => [ 'length' => '16', 'prefix' => '5[1-5]', - 'luhn' => TRUE, + 'luhn' => true, ], 'visa' => [ 'length' => '13,16', 'prefix' => '4', - 'luhn' => TRUE, + 'luhn' => true, ], ]; diff --git a/system/config/curl.php b/system/config/curl.php index 36441af..f386568 100644 --- a/system/config/curl.php +++ b/system/config/curl.php @@ -6,5 +6,5 @@ CURLOPT_USERAGENT => 'Mozilla/5.0 (compatible; Kohana v' . Kohana::VERSION . ' +http://kohanaframework.org/)', CURLOPT_CONNECTTIMEOUT => 5, CURLOPT_TIMEOUT => 5, - CURLOPT_HEADER => FALSE, + CURLOPT_HEADER => false, ]; diff --git a/system/config/session.php b/system/config/session.php index 5178410..0c54eab 100644 --- a/system/config/session.php +++ b/system/config/session.php @@ -4,6 +4,6 @@ return [ 'cookie' => [ - 'encrypted' => FALSE, + 'encrypted' => false, ], ]; diff --git a/system/config/userguide.php b/system/config/userguide.php index 5a777f0..5ced0ca 100644 --- a/system/config/userguide.php +++ b/system/config/userguide.php @@ -8,7 +8,7 @@ // This should be the path to this modules userguide pages, without the 'guide/'. Ex: '/guide/modulename/' would be 'modulename' 'kohana' => [ // Whether this modules userguide pages should be shown - 'enabled' => TRUE, + 'enabled' => true, // The name that should show up on the userguide index page 'name' => 'Kohana', // A short description of this module, shown on the index page