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
declare(strict_types=1);
/**
* auth.php
* Copyright (c) 2017 thegrumpydictator@gmail.com
@ -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 [
/*

View File

@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
/**
* bank.php
* Copyright (c) 2017 thegrumpydictator@gmail.com
@ -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 [
];

View File

@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
/**
* breadcrumbs.php
* Copyright (c) 2017 thegrumpydictator@gmail.com
@ -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',

View File

@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
/**
* components.php
* Copyright (c) 2018 thegrumpydictator@gmail.com
@ -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

View File

@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
/**
* config.php
* Copyright (c) 2017 thegrumpydictator@gmail.com
@ -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',

View File

@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
/**
* csv.php
* Copyright (c) 2017 thegrumpydictator@gmail.com
@ -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 [
];

View File

@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
/**
* demo.php
* Copyright (c) 2017 thegrumpydictator@gmail.com
@ -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>.',

View File

@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
/**
* firefly.php
* Copyright (c) 2017 thegrumpydictator@gmail.com
@ -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:

View File

@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
/**
* form.php
* Copyright (c) 2017 thegrumpydictator@gmail.com
@ -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:

View File

@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
/**
* import.php
* Copyright (c) 2017 thegrumpydictator@gmail.com
@ -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)',

View File

@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
/**
* intro.php
* Copyright (c) 2017 thegrumpydictator@gmail.com
@ -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

View File

@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
/**
* list.php
* Copyright (c) 2017 thegrumpydictator@gmail.com
@ -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',

View File

@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
/**
* pagination.php
* Copyright (c) 2017 thegrumpydictator@gmail.com
@ -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',

View File

@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
/**
* passwords.php
* Copyright (c) 2017 thegrumpydictator@gmail.com
@ -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.',

View File

@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
/**
* validation.php
* Copyright (c) 2017 thegrumpydictator@gmail.com
@ -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.',