I forked the repository and when I was trying to install the dependencies I ran this error that says:
Symfony\Component\ErrorHandler\Error\UndefinedFunctionError: Attempted to call function "array_is_list" from namespace "Symfony\Component\Config\Definition".
(the error message truncated )
This caused by this dependency :
"symfony/polyfill-php81": "*"
in replaces section of composer.json
Turned out the reason is that my local PHP version is 8.0 but this dependency needs PHP 8.1.
You need to upgrade your local PHP.
I found this tutorial useful:
https://chasingcode.dev/blog/upgrade-php-74-cli-mac/
I forked the repository and when I was trying to install the dependencies I ran this error that says:
Symfony\Component\ErrorHandler\Error\UndefinedFunctionError: Attempted to call function "array_is_list" from namespace "Symfony\Component\Config\Definition".(the error message truncated )
This caused by this dependency :
"symfony/polyfill-php81": "*"in
replacessection ofcomposer.jsonTurned out the reason is that my local PHP version is 8.0 but this dependency needs PHP 8.1.
You need to upgrade your local PHP.
I found this tutorial useful:
https://chasingcode.dev/blog/upgrade-php-74-cli-mac/