iamcal / emoji-data

Easy to parse data and spritesheets for emoji
MIT License
2.57k stars 304 forks source link

build_map script issues #191

Closed fangxg closed 3 years ago

fangxg commented 3 years ago

I try to rebuild the master mapping, so I run the './download_spec_files.sh’ and 'php build_map.php’. But I will receive the warning count(): Parameter must be an array or an object that implements Countable in emoji-data-master/build/build_map.php on line 996’.Do you know why? My computer is MacBook Pro. And I have installed the optimization tools.

iamcal commented 3 years ago

This error was introduced in a recent PHP version. I've now fixed it with commit f7b4458 - if you git pull it should work without errors.

fangxg commented 3 years ago

Awesome~, thank you very much~