This repository has been archived by the owner on Apr 23, 2024. It is now read-only.
Due to the addition of PHP 8 support, now by default all projects will be parsed as PHP 8. If your project uses the real
cast, the is_real
function, comments like #[...
or match
and enum
keywords, then use the --php7
flag to make the analyzer parse the project like PHP 7.4.
Previously, in order to take into account the vendor
folder for better type inference, it was necessary to use the --index-only-files
flag, now the vendor
folder is added to this flag by default if it exists, so you no longer need to explicitly pass it.
Added
Changed
- #19: Moved to new version of NoVerify:
- PHP 8 and 8.1 initial support
- Improvements in type inference (
instanceof
,callable
in PHPDoc,array{}
) - Help now has grouping for flags
vendor
folder is now added by default if it exists