Move strict type declaration.

This commit is contained in:
James Cole 2018-03-19 13:22:08 +01:00
parent ed33a72945
commit c5d4ec17c3
No known key found for this signature in database
GPG Key ID: C16961E655E74B5E
15 changed files with 16 additions and 15 deletions

View File

@ -1,4 +1,5 @@
<?php <?php
declare(strict_types=1);
/** /**
* auth.php * auth.php
* Copyright (c) 2017 thegrumpydictator@gmail.com * Copyright (c) 2017 thegrumpydictator@gmail.com
@ -18,7 +19,6 @@
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with Firefly III. If not, see <http://www.gnu.org/licenses/>. * along with Firefly III. If not, see <http://www.gnu.org/licenses/>.
*/ */
declare(strict_types=1);
return [ return [
/* /*

View File

@ -1,4 +1,5 @@
<?php <?php
declare(strict_types=1);
/** /**
* bank.php * bank.php
* Copyright (c) 2017 thegrumpydictator@gmail.com * Copyright (c) 2017 thegrumpydictator@gmail.com
@ -18,7 +19,6 @@
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with Firefly III. If not, see <http://www.gnu.org/licenses/>. * along with Firefly III. If not, see <http://www.gnu.org/licenses/>.
*/ */
declare(strict_types=1);
return [ return [
]; ];

View File

@ -1,4 +1,5 @@
<?php <?php
declare(strict_types=1);
/** /**
* breadcrumbs.php * breadcrumbs.php
* Copyright (c) 2017 thegrumpydictator@gmail.com * Copyright (c) 2017 thegrumpydictator@gmail.com
@ -18,7 +19,6 @@
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with Firefly III. If not, see <http://www.gnu.org/licenses/>. * along with Firefly III. If not, see <http://www.gnu.org/licenses/>.
*/ */
declare(strict_types=1);
return [ return [
'home' => 'Home', 'home' => 'Home',

View File

@ -1,4 +1,5 @@
<?php <?php
declare(strict_types=1);
/** /**
* components.php * components.php
* Copyright (c) 2018 thegrumpydictator@gmail.com * Copyright (c) 2018 thegrumpydictator@gmail.com
@ -18,7 +19,6 @@
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with Firefly III. If not, see <http://www.gnu.org/licenses/>. * along with Firefly III. If not, see <http://www.gnu.org/licenses/>.
*/ */
declare(strict_types=1);
return [ return [
// profile // profile

View File

@ -1,4 +1,5 @@
<?php <?php
declare(strict_types=1);
/** /**
* config.php * config.php
* Copyright (c) 2017 thegrumpydictator@gmail.com * Copyright (c) 2017 thegrumpydictator@gmail.com
@ -18,7 +19,6 @@
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with Firefly III. If not, see <http://www.gnu.org/licenses/>. * along with Firefly III. If not, see <http://www.gnu.org/licenses/>.
*/ */
declare(strict_types=1);
return [ return [
'html_language' => 'en', 'html_language' => 'en',

View File

@ -1,4 +1,5 @@
<?php <?php
declare(strict_types=1);
/** /**
* csv.php * csv.php
* Copyright (c) 2017 thegrumpydictator@gmail.com * Copyright (c) 2017 thegrumpydictator@gmail.com
@ -18,7 +19,6 @@
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with Firefly III. If not, see <http://www.gnu.org/licenses/>. * along with Firefly III. If not, see <http://www.gnu.org/licenses/>.
*/ */
declare(strict_types=1);
return [ return [
]; ];

View File

@ -1,4 +1,5 @@
<?php <?php
declare(strict_types=1);
/** /**
* demo.php * demo.php
* Copyright (c) 2017 thegrumpydictator@gmail.com * Copyright (c) 2017 thegrumpydictator@gmail.com
@ -18,7 +19,6 @@
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with Firefly III. If not, see <http://www.gnu.org/licenses/>. * along with Firefly III. If not, see <http://www.gnu.org/licenses/>.
*/ */
declare(strict_types=1);
return [ return [
'no_demo_text' => 'Sorry, there is no extra demo-explanation text for <abbr title=":route">this page</abbr>.', 'no_demo_text' => 'Sorry, there is no extra demo-explanation text for <abbr title=":route">this page</abbr>.',

View File

@ -1,4 +1,5 @@
<?php <?php
declare(strict_types=1);
/** /**
* firefly.php * firefly.php
* Copyright (c) 2017 thegrumpydictator@gmail.com * Copyright (c) 2017 thegrumpydictator@gmail.com
@ -18,7 +19,6 @@
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with Firefly III. If not, see <http://www.gnu.org/licenses/>. * along with Firefly III. If not, see <http://www.gnu.org/licenses/>.
*/ */
declare(strict_types=1);
return [ return [
// general stuff: // general stuff:

View File

@ -1,4 +1,5 @@
<?php <?php
declare(strict_types=1);
/** /**
* form.php * form.php
* Copyright (c) 2017 thegrumpydictator@gmail.com * Copyright (c) 2017 thegrumpydictator@gmail.com
@ -18,7 +19,6 @@
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with Firefly III. If not, see <http://www.gnu.org/licenses/>. * along with Firefly III. If not, see <http://www.gnu.org/licenses/>.
*/ */
declare(strict_types=1);
return [ return [
// new user: // new user:

View File

@ -1,4 +1,5 @@
<?php <?php
declare(strict_types=1);
/** /**
* import.php * import.php
* Copyright (c) 2017 thegrumpydictator@gmail.com * Copyright (c) 2017 thegrumpydictator@gmail.com
@ -18,7 +19,6 @@
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with Firefly III. If not, see <http://www.gnu.org/licenses/>. * along with Firefly III. If not, see <http://www.gnu.org/licenses/>.
*/ */
declare(strict_types=1);
return [ return [
// status of import: // status of import:
@ -133,6 +133,7 @@ return [
'column_date-transaction' => 'Date', 'column_date-transaction' => 'Date',
'column_description' => 'Description', 'column_description' => 'Description',
'column_opposing-iban' => 'Opposing account (IBAN)', 'column_opposing-iban' => 'Opposing account (IBAN)',
'column_opposing-bic' => 'Opposing account (BIC)',
'column_opposing-id' => 'Opposing account ID (matching FF3)', 'column_opposing-id' => 'Opposing account ID (matching FF3)',
'column_external-id' => 'External ID', 'column_external-id' => 'External ID',
'column_opposing-name' => 'Opposing account (name)', 'column_opposing-name' => 'Opposing account (name)',

View File

@ -1,4 +1,5 @@
<?php <?php
declare(strict_types=1);
/** /**
* intro.php * intro.php
* Copyright (c) 2017 thegrumpydictator@gmail.com * Copyright (c) 2017 thegrumpydictator@gmail.com
@ -18,7 +19,6 @@
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with Firefly III. If not, see <http://www.gnu.org/licenses/>. * along with Firefly III. If not, see <http://www.gnu.org/licenses/>.
*/ */
declare(strict_types=1);
return [ return [
// index // index

View File

@ -1,4 +1,5 @@
<?php <?php
declare(strict_types=1);
/** /**
* list.php * list.php
* Copyright (c) 2017 thegrumpydictator@gmail.com * Copyright (c) 2017 thegrumpydictator@gmail.com
@ -18,7 +19,6 @@
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with Firefly III. If not, see <http://www.gnu.org/licenses/>. * along with Firefly III. If not, see <http://www.gnu.org/licenses/>.
*/ */
declare(strict_types=1);
return [ return [
'buttons' => 'Buttons', 'buttons' => 'Buttons',

View File

@ -1,4 +1,5 @@
<?php <?php
declare(strict_types=1);
/** /**
* pagination.php * pagination.php
* Copyright (c) 2017 thegrumpydictator@gmail.com * Copyright (c) 2017 thegrumpydictator@gmail.com
@ -18,7 +19,6 @@
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with Firefly III. If not, see <http://www.gnu.org/licenses/>. * along with Firefly III. If not, see <http://www.gnu.org/licenses/>.
*/ */
declare(strict_types=1);
return [ return [
'previous' => '&laquo; Previous', 'previous' => '&laquo; Previous',

View File

@ -1,4 +1,5 @@
<?php <?php
declare(strict_types=1);
/** /**
* passwords.php * passwords.php
* Copyright (c) 2017 thegrumpydictator@gmail.com * Copyright (c) 2017 thegrumpydictator@gmail.com
@ -18,7 +19,6 @@
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with Firefly III. If not, see <http://www.gnu.org/licenses/>. * along with Firefly III. If not, see <http://www.gnu.org/licenses/>.
*/ */
declare(strict_types=1);
return [ return [
'password' => 'Passwords must be at least six characters and match the confirmation.', 'password' => 'Passwords must be at least six characters and match the confirmation.',

View File

@ -1,4 +1,5 @@
<?php <?php
declare(strict_types=1);
/** /**
* validation.php * validation.php
* Copyright (c) 2017 thegrumpydictator@gmail.com * Copyright (c) 2017 thegrumpydictator@gmail.com
@ -18,7 +19,6 @@
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with Firefly III. If not, see <http://www.gnu.org/licenses/>. * along with Firefly III. If not, see <http://www.gnu.org/licenses/>.
*/ */
declare(strict_types=1);
return [ return [
'iban' => 'This is not a valid IBAN.', 'iban' => 'This is not a valid IBAN.',