Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
Force PHP 7.3, break anything before PHP 7.3
James Colea86e956dbbb2
diff --git a/app/Http/Controllers/Controller.php b/app/Http/Controllers/Controller.phpindex afb509c27f..46408b0a93 100644--- a/app/Http/Controllers/Controller.php+++ b/app/Http/Controllers/Controller.php@@ -50,15 +50,16 @@ class Controller extends BaseController/*** Controller constructor.+ ** @codeCoverageIgnore*/public function __construct(){// for transaction lists:- app('view')->share('hideBudgets', false); // TODO add a comma when PHP7.3 hits so everybody will notice it.- app('view')->share('hideCategories', false);- app('view')->share('hideBills', false);- app('view')->share('hideTags', false);+ app('view')->share('hideBudgets', false,); // Firefly III will break here if you don't have PHP 7.3up+ app('view')->share('hideCategories', false,);+ app('view')->share('hideBills', false,);+ app('view')->share('hideTags', false,);// is site a demo site?$isDemoSite = app('fireflyconfig')->get('is_demo_site', config('firefly.configuration.is_demo_site'))->data;diff --git a/composer.json b/composer.jsonindex ae5c7c35f0..4acc13261c 100644--- a/composer.json+++ b/composer.json@@ -55,7 +55,7 @@"docs": "https://firefly-iii.readthedocs.io/en/latest/"},"require": {- "php": ">=7.2.0",+ "php": ">=7.3.0","ext-bcmath": "*","ext-curl": "*","ext-fileinfo": "*",diff --git a/composer.lock b/composer.lockindex e07509962f..8d5b985de8 100644--- a/composer.lock+++ b/composer.lock@@ -4,7 +4,7 @@"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies","This file is @generated automatically"],- "content-hash": "37a04601a45e0a40bd62e1b79ffa73d1",+ "content-hash": "3f739750fe2fcd798a369d0547753daa","packages": [{"name": "adldap2/adldap2",@@ -7872,7 +7872,7 @@"prefer-stable": false,"prefer-lowest": false,"platform": {- "php": ">=7.2.0",+ "php": ">=7.3.0","ext-bcmath": "*","ext-curl": "*","ext-fileinfo": "*",