designsecurity / progpilot

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

Installation instructions doesn't work with any stable php version #15

Closed LANGERGabrielle closed 5 years ago

LANGERGabrielle commented 5 years ago

This is because the dev version of package ircmaxell/php-cfg uses typed property features from php7.4 (Though their composer.json has not been updated).

PHP version: <=7.3 Progpilot version: latest dev

Running vendor/bin/progpilot gives a parse error

eric-therond commented 5 years ago

thanks for the report @LANGERGabriel I have updated the version of ircmaxell/php-cfg to ^0.5 in composer.json let me know if it doesn't fix the bug

Eric

LANGERGabrielle commented 5 years ago

Works for me!