Skip to content

Firefly III: a personal finances manager

Move strict type declaration.

James Colec5d4ec17c34c
diff --git a/resources/lang/en_US/auth.php b/resources/lang/en_US/auth.php
index a9ccd1af92..1f12718e35 100644
--- a/resources/lang/en_US/auth.php
+++ b/resources/lang/en_US/auth.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/**
* auth.php
* Copyright (c) 2017 [email protected]
@@ -18,7 +19,6 @@
* You should have received a copy of the GNU General Public License
* along with Firefly III. If not, see <http://www.gnu.org/licenses/>.
*/
-declare(strict_types=1);
return [
/*
diff --git a/resources/lang/en_US/bank.php b/resources/lang/en_US/bank.php
index ef0d636f91..b6a86faa4b 100644
--- a/resources/lang/en_US/bank.php
+++ b/resources/lang/en_US/bank.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/**
* bank.php
* Copyright (c) 2017 [email protected]
@@ -18,7 +19,6 @@
* You should have received a copy of the GNU General Public License
* along with Firefly III. If not, see <http://www.gnu.org/licenses/>.
*/
-declare(strict_types=1);
return [
];
diff --git a/resources/lang/en_US/breadcrumbs.php b/resources/lang/en_US/breadcrumbs.php
index 0777e36191..0360acf584 100644
--- a/resources/lang/en_US/breadcrumbs.php
+++ b/resources/lang/en_US/breadcrumbs.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/**
* breadcrumbs.php
* Copyright (c) 2017 [email protected]
@@ -18,7 +19,6 @@
* You should have received a copy of the GNU General Public License
* along with Firefly III. If not, see <http://www.gnu.org/licenses/>.
*/
-declare(strict_types=1);
return [
'home' => 'Home',
diff --git a/resources/lang/en_US/components.php b/resources/lang/en_US/components.php
index 125c74b2f0..1e9fce7f61 100644
--- a/resources/lang/en_US/components.php
+++ b/resources/lang/en_US/components.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/**
* components.php
* Copyright (c) 2018 [email protected]
@@ -18,7 +19,6 @@
* You should have received a copy of the GNU General Public License
* along with Firefly III. If not, see <http://www.gnu.org/licenses/>.
*/
-declare(strict_types=1);
return [
// profile
diff --git a/resources/lang/en_US/config.php b/resources/lang/en_US/config.php
index 71d15b1baa..bb9db534fe 100644
--- a/resources/lang/en_US/config.php
+++ b/resources/lang/en_US/config.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/**
* config.php
* Copyright (c) 2017 [email protected]
@@ -18,7 +19,6 @@
* You should have received a copy of the GNU General Public License
* along with Firefly III. If not, see <http://www.gnu.org/licenses/>.
*/
-declare(strict_types=1);
return [
'html_language' => 'en',
diff --git a/resources/lang/en_US/csv.php b/resources/lang/en_US/csv.php
index d61316b632..892c8beac4 100644
--- a/resources/lang/en_US/csv.php
+++ b/resources/lang/en_US/csv.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/**
* csv.php
* Copyright (c) 2017 [email protected]
@@ -18,7 +19,6 @@
* You should have received a copy of the GNU General Public License
* along with Firefly III. If not, see <http://www.gnu.org/licenses/>.
*/
-declare(strict_types=1);
return [
];
diff --git a/resources/lang/en_US/demo.php b/resources/lang/en_US/demo.php
index a86d6d9a2d..3e58cb61cc 100644
--- a/resources/lang/en_US/demo.php
+++ b/resources/lang/en_US/demo.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/**
* demo.php
* Copyright (c) 2017 [email protected]
@@ -18,7 +19,6 @@
* You should have received a copy of the GNU General Public License
* along with Firefly III. If not, see <http://www.gnu.org/licenses/>.
*/
-declare(strict_types=1);
return [
'no_demo_text' => 'Sorry, there is no extra demo-explanation text for <abbr title=":route">this page</abbr>.',
diff --git a/resources/lang/en_US/firefly.php b/resources/lang/en_US/firefly.php
index c2d9acc508..b1f28f141f 100644
--- a/resources/lang/en_US/firefly.php
+++ b/resources/lang/en_US/firefly.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/**
* firefly.php
* Copyright (c) 2017 [email protected]
@@ -18,7 +19,6 @@
* You should have received a copy of the GNU General Public License
* along with Firefly III. If not, see <http://www.gnu.org/licenses/>.
*/
-declare(strict_types=1);
return [
// general stuff:
diff --git a/resources/lang/en_US/form.php b/resources/lang/en_US/form.php
index fda485df3f..4c132ced51 100644
--- a/resources/lang/en_US/form.php
+++ b/resources/lang/en_US/form.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/**
* form.php
* Copyright (c) 2017 [email protected]
@@ -18,7 +19,6 @@
* You should have received a copy of the GNU General Public License
* along with Firefly III. If not, see <http://www.gnu.org/licenses/>.
*/
-declare(strict_types=1);
return [
// new user:
diff --git a/resources/lang/en_US/import.php b/resources/lang/en_US/import.php
index 9459769eb5..829f26399a 100644
--- a/resources/lang/en_US/import.php
+++ b/resources/lang/en_US/import.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/**
* import.php
* Copyright (c) 2017 [email protected]
@@ -18,7 +19,6 @@
* You should have received a copy of the GNU General Public License
* along with Firefly III. If not, see <http://www.gnu.org/licenses/>.
*/
-declare(strict_types=1);
return [
// status of import:
@@ -133,6 +133,7 @@ return [
'column_date-transaction' => 'Date',
'column_description' => 'Description',
'column_opposing-iban' => 'Opposing account (IBAN)',
+ 'column_opposing-bic' => 'Opposing account (BIC)',
'column_opposing-id' => 'Opposing account ID (matching FF3)',
'column_external-id' => 'External ID',
'column_opposing-name' => 'Opposing account (name)',
diff --git a/resources/lang/en_US/intro.php b/resources/lang/en_US/intro.php
index 12485de8fd..8dba87a7cc 100644
--- a/resources/lang/en_US/intro.php
+++ b/resources/lang/en_US/intro.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/**
* intro.php
* Copyright (c) 2017 [email protected]
@@ -18,7 +19,6 @@
* You should have received a copy of the GNU General Public License
* along with Firefly III. If not, see <http://www.gnu.org/licenses/>.
*/
-declare(strict_types=1);
return [
// index
diff --git a/resources/lang/en_US/list.php b/resources/lang/en_US/list.php
index 08ebf2bddd..484bbbc67d 100644
--- a/resources/lang/en_US/list.php
+++ b/resources/lang/en_US/list.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/**
* list.php
* Copyright (c) 2017 [email protected]
@@ -18,7 +19,6 @@
* You should have received a copy of the GNU General Public License
* along with Firefly III. If not, see <http://www.gnu.org/licenses/>.
*/
-declare(strict_types=1);
return [
'buttons' => 'Buttons',
diff --git a/resources/lang/en_US/pagination.php b/resources/lang/en_US/pagination.php
index 2c19d61e0c..08f0120dcf 100644
--- a/resources/lang/en_US/pagination.php
+++ b/resources/lang/en_US/pagination.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/**
* pagination.php
* Copyright (c) 2017 [email protected]
@@ -18,7 +19,6 @@
* You should have received a copy of the GNU General Public License
* along with Firefly III. If not, see <http://www.gnu.org/licenses/>.
*/
-declare(strict_types=1);
return [
'previous' => '&laquo; Previous',
diff --git a/resources/lang/en_US/passwords.php b/resources/lang/en_US/passwords.php
index 022045d473..886144c6f9 100644
--- a/resources/lang/en_US/passwords.php
+++ b/resources/lang/en_US/passwords.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/**
* passwords.php
* Copyright (c) 2017 [email protected]
@@ -18,7 +19,6 @@
* You should have received a copy of the GNU General Public License
* along with Firefly III. If not, see <http://www.gnu.org/licenses/>.
*/
-declare(strict_types=1);
return [
'password' => 'Passwords must be at least six characters and match the confirmation.',
diff --git a/resources/lang/en_US/validation.php b/resources/lang/en_US/validation.php
index e4e734f9fe..a5338ebd8f 100644
--- a/resources/lang/en_US/validation.php
+++ b/resources/lang/en_US/validation.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/**
* validation.php
* Copyright (c) 2017 [email protected]
@@ -18,7 +19,6 @@
* You should have received a copy of the GNU General Public License
* along with Firefly III. If not, see <http://www.gnu.org/licenses/>.
*/
-declare(strict_types=1);
return [
'iban' => 'This is not a valid IBAN.',