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

Releases: VKCOM/nocolor

NoColor v1.1.0: Initial PHP 8 support

20 Aug 16:26
bc3c4de
Compare
Choose a tag to compare

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

NoColor v1.0.4

01 Jul 18:21
5680370
Compare
Choose a tag to compare

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.

NoColor v1.0.3

30 Jun 21:41
fb10fa2
Compare
Choose a tag to compare

Added

  • #14: Added cache-clear command.

Fixed

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

NoColor v1.0.2

30 Jun 09:54
53fdf4e
Compare
Choose a tag to compare

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.

NoColor v1.0.1

28 Jun 09:47
c94d1a2
Compare
Choose a tag to compare

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.

NoColor v1.0

27 Jun 09:11
Compare
Choose a tag to compare

First stable version.