From b37cab905bccbbdb67ebade3440d51fabb2984f7 Mon Sep 17 00:00:00 2001 From: Bart Jaskulski <bjaskulski@protonmail.com> Date: Mon, 14 Jun 2021 12:30:50 +0200 Subject: [PATCH] fix: remove wrapping operations in brackets --- CHANGELOG.md | 4 ++++ WPDeskPlugin/ruleset.xml | 3 --- composer.json | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index de0b345..5505491 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## [1.2.1] - 2021-06-14 +### Fixed +- Removed wrapping operations in brackets + ## [1.2.0] - 2021-06-14 ### Changed - Fully rewritten CS rules to adhere developers needs diff --git a/WPDeskPlugin/ruleset.xml b/WPDeskPlugin/ruleset.xml index 46cbd2f..cf634cc 100644 --- a/WPDeskPlugin/ruleset.xml +++ b/WPDeskPlugin/ruleset.xml @@ -99,9 +99,6 @@ <!-- Error prevention: Make sure the condition in a inline if declaration is bracketed. --> <rule ref="Squiz.ControlStructures.InlineIfDeclaration"/> - <!-- Error prevention: Make sure arithmetics are bracketed. --> - <rule ref="Squiz.Formatting.OperatorBracket.MissingBrackets"/> - <!-- CS: no blank line between the content of a function and a function close brace.--> <rule ref="PSR2.Methods.FunctionClosingBrace"/> diff --git a/composer.json b/composer.json index 0c11750..6c7d9b8 100644 --- a/composer.json +++ b/composer.json @@ -6,7 +6,7 @@ "homepage": "https://gitlab.com/wpdesk/wp-code-sniffer", "type": "phpcodesniffer-standard", "prefer-stable": true, - "version": "1.2.0", + "version": "1.2.1", "authors": [ { "name": "grola", -- GitLab