ISN-6794 - Fix syntax error since PHP 8 doesn't allow { to refer to array indexes #6
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes this error in Datadog:
E_COMPILE_ERROR: Array and string offset access syntax with curly braces is no longer supported
#0 /var/www/isn/vendor/inspectionsupport/pegasusphp.org/includes/PHPExcel-1.8.1/Classes/PHPExcel/Autoloader.php(36): PHPExcel_Autoloader::Load()
#1 /var/www/isn/vendor/inspectionsupport/pegasusphp.org/includes/PHPExcel-1.8.1/Classes/PHPExcel.php(32): require()
#2 /var/www/isn/www/src/HmInspectionLogController.php(3): require_once()
#3 /var/www/isn/vendor/composer/ClassLoader.php(576): include()
#4 /var/www/isn/vendor/composer/ClassLoader.php(427): Composer\Autoload{closure}()
#5 [internal function]: Composer\Autoload\ClassLoader->loadClass()
#6 /var/www/isn/vendor/inspectionsupport/pegasusphp.org/objects/SimpleRouter.php(286): class_exists()
#7 /var/www/isn/vendor/inspectionsupport/pegasusphp.org/objects/SimpleRouter.php(313): SimpleRouter::dispatch()
#8 /var/www/isn/www/index.php(645): SimpleRouter::process()
cbschuld#9 {main}
Ticket