This is only a rust learning project. Comments and corrections are highly encouraged.
See original PHP implementation for context.
- Run PHPStan, saving the output to a log:
vendor/bin/phpstan analyse --memory-limit=-1 --debug -vvv | tee phpstan.log
. - Display timing info with
target/release/phpstan-timer path-to/phpstan.log
. - See
sample/phpstan.log
for sample input.
You need a working rust installation.
Run cargo build --release
to make an optimised binary.