Skip to content
This repository has been archived by the owner on Apr 23, 2024. It is now read-only.

Latest commit

 

History

History
88 lines (49 loc) · 3.42 KB

CHANGELOG.md

File metadata and controls

88 lines (49 loc) · 3.42 KB

Changelog

All notable changes to this project will be documented in this file, in reverse chronological order by release.

1.1.0 2021-20-08

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

  • #19: Added initial support of PHP 8
  • #19: Added flag --php7 for analyze as PHP 7

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

1.0.4 2021-01-07

If you used version 1.0.3 and below, then remove the current cache with the cache-clear command.

Added

  • #16: Added a message about the successful deletion of the cache for cache-clear command, and now, in case of a strange path, a message is displayed without panic.

Fixed

  • #15: Fixed a bug due to which the wrong colors could be set for functions on subsequent launches;

  • #17: Fixed inconsistency in commands description.

Changed

  • #18: Collecting colors has been moved from the indexing stage to the call graph creation stage.

1.0.3 2021-01-07

Added

  • #14: Added cache-clear command.

Fixed

  • 1a7ac: Fixed panic if no arguments or commands were passed.

1.0.2 2021-30-06

Added

  • #8: Added support for the following magic methods:
    • __clone
    • __invoke
    • __call
    • __callStatic
    • __get
    • __set

Changed

  • #11: Changed behavior, if the new operator is called with a variable that has a class type, then we assume that the constructor of this class is called;

  • #12: Changed behavior, if a method is called from a variable with several possible classes, then a connection will be created with the methods of all classes;

  • 3bf46: Improved the output for the version command.

1.0.1 2021-28-06

Changed

  • #1: Changed function for recalculating masks for colors, which allowed to increase the speed by 2-3%.

Fixed

  • #2: Fixed a bug when calling the new operator for a class that does not have an explicit constructor;
  • #3: Fixed color mixing for classes and methods.

1.0.0 2021-27-06

First stable version.