Releases: VKCOM/nocolor
NoColor v1.1.0: Initial PHP 8 support
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,callablein PHPDoc,array{}) - Help now has grouping for flags
vendorfolder is now added by default if it exists
NoColor v1.0.4
If you used version 1.0.3 and below, then remove the current cache with the
cache-clearcommand.
Added
- #16: Added a message about the successful deletion of the cache for
cache-clearcommand, 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
NoColor v1.0.2
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 theversioncommand.
NoColor v1.0.1
NoColor v1.0
First stable version.