When I run composer --version in the macOS terminal I get the following errors:
composer --version
PHP Warning: preg_match(): JIT compilation failed: no mo