Make sure that strict_types declaration is always at the very top of the file.

This commit is contained in:
James Cole 2018-03-19 12:09:12 +01:00
parent d8c0091680
commit ed33a72945
No known key found for this signature in database
GPG Key ID: C16961E655E74B5E
47 changed files with 47 additions and 47 deletions

View File

@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
/**
* CreateExport.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);
namespace FireflyIII\Console\Commands;

View File

@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
/**
* CreateImport.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);
namespace FireflyIII\Console\Commands;

View File

@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
/**
* DecryptAttachment.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);
namespace FireflyIII\Console\Commands;

View File

@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
/**
* EncryptFile.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);
namespace FireflyIII\Console\Commands;

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);
namespace FireflyIII\Console\Commands;

View File

@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
/**
* ScanAttachments.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);
namespace FireflyIII\Console\Commands;

View File

@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
/**
* UpgradeDatabase.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);
namespace FireflyIII\Console\Commands;

View File

@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
/**
* UpgradeFireflyInstructions.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);
namespace FireflyIII\Console\Commands;

View File

@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
/**
* UseEncryption.php
@ -19,7 +20,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);
namespace FireflyIII\Console\Commands;

View File

@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
/**
* VerifiesAccessToken.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);
namespace FireflyIII\Console\Commands;

View File

@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
/**
* VerifyDatabase.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);
namespace FireflyIII\Console\Commands;

View File

@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
/**
* Kernel.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);
namespace FireflyIII\Console;

View File

@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
/**
* AdminRequestedTestMessage.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);
namespace FireflyIII\Events;

View File

@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
/**
* Event.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);
namespace FireflyIII\Events;

View File

@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
/**
* RegisteredUser.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);
namespace FireflyIII\Events;

View File

@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
/**
* RequestedNewPassword.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);
namespace FireflyIII\Events;

View File

@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
/**
* RequestedVersionCheckStatus.php
* Copyright (c) 2017 thegrumpydictator@gmail.com
@ -19,7 +20,6 @@
* along with Firefly III. If not, see <http://www.gnu.org/licenses/>.
*/
declare(strict_types=1);
namespace FireflyIII\Events;

View File

@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
/**
* StoredTransactionJournal.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);
namespace FireflyIII\Events;

View File

@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
/**
* UpdatedTransactionJournal.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);
namespace FireflyIII\Events;

View File

@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
/**
* UserChangedEmail.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);
namespace FireflyIII\Events;

View File

@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
/**
* FireflyException.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);
namespace FireflyIII\Exceptions;

View File

@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
/**
* Handler.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);
namespace FireflyIII\Exceptions;

View File

@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
/**
* NotImplementedException.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);
namespace FireflyIII\Exceptions;

View File

@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
/**
* ValidationException.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);
namespace FireflyIII\Exceptions;

View File

@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
/**
* AttachmentCollector.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);
namespace FireflyIII\Export\Collector;

View File

@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
/**
* BasicCollector.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);
namespace FireflyIII\Export\Collector;

View File

@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
/**
* CollectorInterface.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);
namespace FireflyIII\Export\Collector;

View File

@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
/**
* UploadCollector.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);
namespace FireflyIII\Export\Collector;

View File

@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
/**
* Entry.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);
namespace FireflyIII\Export\Entry;

View File

@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
/**
* ExpandedProcessor.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);
namespace FireflyIII\Export;

View File

@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
/**
* BasicExporter.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);
namespace FireflyIII\Export\Exporter;

View File

@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
/**
* CsvExporter.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);
namespace FireflyIII\Export\Exporter;

View File

@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
/**
* ExporterInterface.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);
namespace FireflyIII\Export\Exporter;

View File

@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
/**
* ProcessorInterface.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);
namespace FireflyIII\Export;

View File

@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
/**
* AccountFactory.php
* Copyright (c) 2018 thegrumpydictator@gmail.com
@ -19,7 +20,6 @@
* along with Firefly III. If not, see <http://www.gnu.org/licenses/>.
*/
declare(strict_types=1);
namespace FireflyIII\Factory;

View File

@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
/**
* AccountMetaFactory.php
* Copyright (c) 2018 thegrumpydictator@gmail.com
@ -19,7 +20,6 @@
* along with Firefly III. If not, see <http://www.gnu.org/licenses/>.
*/
declare(strict_types=1);
namespace FireflyIII\Factory;

View File

@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
/**
* BillFactory.php
* Copyright (c) 2018 thegrumpydictator@gmail.com
@ -19,7 +20,6 @@
* along with Firefly III. If not, see <http://www.gnu.org/licenses/>.
*/
declare(strict_types=1);
namespace FireflyIII\Factory;

View File

@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
/**
* BudgetFactory.php
* Copyright (c) 2018 thegrumpydictator@gmail.com
@ -19,7 +20,6 @@
* along with Firefly III. If not, see <http://www.gnu.org/licenses/>.
*/
declare(strict_types=1);
namespace FireflyIII\Factory;

View File

@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
/**
* CategoryFactory.php
* Copyright (c) 2018 thegrumpydictator@gmail.com
@ -19,7 +20,6 @@
* along with Firefly III. If not, see <http://www.gnu.org/licenses/>.
*/
declare(strict_types=1);
namespace FireflyIII\Factory;

View File

@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
/**
* PiggyBankEventFactory.php
* Copyright (c) 2018 thegrumpydictator@gmail.com
@ -19,7 +20,6 @@
* along with Firefly III. If not, see <http://www.gnu.org/licenses/>.
*/
declare(strict_types=1);
namespace FireflyIII\Factory;

View File

@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
/**
* PiggyBankFactory.php
* Copyright (c) 2018 thegrumpydictator@gmail.com
@ -19,7 +20,6 @@
* along with Firefly III. If not, see <http://www.gnu.org/licenses/>.
*/
declare(strict_types=1);
namespace FireflyIII\Factory;

View File

@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
/**
* TagFactory.php
* Copyright (c) 2018 thegrumpydictator@gmail.com
@ -19,7 +20,6 @@
* along with Firefly III. If not, see <http://www.gnu.org/licenses/>.
*/
declare(strict_types=1);
namespace FireflyIII\Factory;

View File

@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
/**
* TransactionCurrencyFactory.php
* Copyright (c) 2018 thegrumpydictator@gmail.com
@ -19,7 +20,6 @@
* along with Firefly III. If not, see <http://www.gnu.org/licenses/>.
*/
declare(strict_types=1);
namespace FireflyIII\Factory;

View File

@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
/**
* TransactionFactory.php
* Copyright (c) 2018 thegrumpydictator@gmail.com
@ -19,7 +20,6 @@
* along with Firefly III. If not, see <http://www.gnu.org/licenses/>.
*/
declare(strict_types=1);
namespace FireflyIII\Factory;

View File

@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
/**
* TransactionJournalFactory.php
* Copyright (c) 2018 thegrumpydictator@gmail.com
@ -19,7 +20,6 @@
* along with Firefly III. If not, see <http://www.gnu.org/licenses/>.
*/
declare(strict_types=1);
namespace FireflyIII\Factory;

View File

@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
/**
* TransactionJournalMetaFactory.php
* Copyright (c) 2018 thegrumpydictator@gmail.com
@ -19,7 +20,6 @@
* along with Firefly III. If not, see <http://www.gnu.org/licenses/>.
*/
declare(strict_types=1);
namespace FireflyIII\Factory;

View File

@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
/**
* TransactionTypeFactory.php
* Copyright (c) 2018 thegrumpydictator@gmail.com
@ -19,7 +20,6 @@
* along with Firefly III. If not, see <http://www.gnu.org/licenses/>.
*/
declare(strict_types=1);
namespace FireflyIII\Factory;