povils / phpmnd

PHP Magic Number Detector
MIT License
550 stars 46 forks source link

Add ncurses dependency or test tput availability #153

Closed a-menshchikov closed 1 year ago

a-menshchikov commented 2 years ago

When run phpmnd in an alpine container without ncurses I get an error sh: tput: not found.

exussum12 commented 2 years ago

Does phpmnd stop working or just emit that as a warning ? Have you got a container you were working with ?

a-menshchikov commented 2 years ago

Just print a warning in terminal. Now I can't take you a container at the moment, but you can test this issue on any php:*-cli-alpine image (or any other that has no ncurses installed).

exussum12 commented 2 years ago

I will look at silencing that warning, as there is code to handle it not working. Thanks!

sidz commented 1 year ago

Fixed in https://github.com/povils/phpmnd/releases/tag/v3.2.0