Open sbulen opened 4 months ago
Class type declarations were added in PHP 7.4. In theory we still support older versions of PHP...
So... In PHP 7.3, this throws an error: https://github.com/SimpleMachines/tools/blob/4cd83c240873008ac4d30c8bf07ac172eec4696f/fix_packages.php#L90
PHP Parse error: syntax error, unexpected 'bool' (T_STRING), expecting function (T_FUNCTION) or const (T_CONST) in /var/www/html/forum/fix_packages.php on line 90
I believe this is the only tweak needed to support 7.3.
This was reported in the forum: https://www.simplemachines.org/community/index.php?topic=588937.0
Class type declarations were added in PHP 7.4. In theory we still support older versions of PHP...
So... In PHP 7.3, this throws an error: https://github.com/SimpleMachines/tools/blob/4cd83c240873008ac4d30c8bf07ac172eec4696f/fix_packages.php#L90
I believe this is the only tweak needed to support 7.3.
This was reported in the forum: https://www.simplemachines.org/community/index.php?topic=588937.0