designsecurity / progpilot

A static analysis tool for security
MIT License
331 stars 61 forks source link

I can't install Progpilot on PHP < 7.4 #22

Closed andreasciamanna closed 1 year ago

andreasciamanna commented 4 years ago

The documentation says:

The minimum version of PHP needed to run Progpilot is 7.0.25

However, due to the library requiring ircmaxell/php-cfg (which is requiring PHP 7.4) it's impossible to install the library with versions of PHP older than 7.4.

As I'm dealing with legacy code which for which we must provide support for older 7.* versions of PHP, I'm unable to use this library to scan for security issue.

eric-therond commented 3 years ago

Hi I have updated composer.json and the FAQ the minimum php version to run progpilot 0.8.0 is 7.2.5 but not because of ircmaxell/php-cfg but other dependencies did you try progpilot 0.8.0?

so you need php 7.2.5 or higher to run progpilot but progpilot can then scan whatever php code for security issues

Eric

eric-therond commented 1 year ago

Done in v1.0.0