From 31afa4d9b64ad40ac4fd6a469619986f0c8c9697 Mon Sep 17 00:00:00 2001 From: Povilas Susinskas Date: Sun, 12 Jan 2020 11:30:05 +0100 Subject: [PATCH] Realease 2.2.0 --- CHANGELOG.md | 6 ++++++ src/Console/Application.php | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 77e535b..1ed49f7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/). +## [v2.2.0] - 2019-01-12 +- Add default ignore functions (intval, strval and floatval) +- Fix negative number whitelisting +- Ignore the negative value if the scalar does not have a value field +- Allow multiple files and directories +- ## [v2.1.0] - 2019-01-27 - Check magic numbers in constant arrays. - Catch array[magic_number] diff --git a/src/Console/Application.php b/src/Console/Application.php index 184c100..8492064 100644 --- a/src/Console/Application.php +++ b/src/Console/Application.php @@ -15,7 +15,7 @@ */ class Application extends BaseApplication { - const VERSION = '2.1.0'; + const VERSION = '2.2.0'; const COMMAND_NAME = 'phpmnd'; public function __construct()