Getting this error when using civix to generate a module or an entity:
Fatal error: Array and string offset access syntax with curly braces is no longer supported in phar:///usr/local/bin/civix/vendor/civicrm/cv/src/BuildkitReader.php on line 38
Can anyone explain what could be causing this and what I could do?