We're getting the following notice while running unit tests with PHP 7.4.2:
PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /var/www/html/wp-content/client-mu-plugins/vip-go-wpcom-compat/wpcom-hooks.php on line 68
We're getting the following notice while running unit tests with PHP 7.4.2:
which maps to the following line of code:
https://github.com/Automattic/vip-go-wpcom-compat/blob/79bce981b331c7ed9e608f06b2407f976dac9235/wpcom-hooks.php#L68
PHP version:
Offset access syntax with curly braces was deprecated in PHP 7.4 https://wiki.php.net/rfc/deprecate_curly_braces_array_access