Version that supports both versions of PHP
jakublabno opened this issue · 4 comments
jakublabno commented
I don't see any version that works on both, 7.4 and 8.0 PHP versions, could you add support?
asgrim commented
Duplicate of #984 - specifically
BR 5.1.x running in PHP 8 can analyse all older versions of PHP code, so it doesn't matter what version of PHP the codebase being analysed is, as long as the version of PHP running BR is PHP 8+
asgrim commented
Hope this helps! Please let us know if you have any further questions :)
jakublabno commented
asgrim commented
Not quite; you have to run it with PHP 8/8.1, but it can analyse code that runs on older PHP versions, if that makes sense :) for example you could run it in a Docker container to analyse