diff --git a/CHANGELOG.md b/CHANGELOG.md index bd6a91111913456c54704d4012463f931afc437e..e30095a0a24edfbdba281c11b5bb69bb2fccca51 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## [1.2.3] - 2021-07-07 +### Changed +- Removed demanding brackets with inline if statement + ## [1.2.2] - 2021-06-16 ### Changed - Add phpcs.xml.dist and .editorconfig to package distribution as configuration examples to copy diff --git a/WPDeskPlugin/ruleset.xml b/WPDeskPlugin/ruleset.xml index cf634cc6e28b9a4de182e39bc8e9d069b56e8828..a779dbd49c8ab0ebe820e4e0a7fbc70067465976 100644 --- a/WPDeskPlugin/ruleset.xml +++ b/WPDeskPlugin/ruleset.xml @@ -96,9 +96,6 @@ These may make it into WPCS at some point. If so, they can be removed here. ############################################################################# --> - <!-- Error prevention: Make sure the condition in a inline if declaration is bracketed. --> - <rule ref="Squiz.ControlStructures.InlineIfDeclaration"/> - <!-- 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 2666e1f17161eddc97800fe5eda9030594134ffc..a01d5a22046dac40a1ba5a068cfa822b67329645 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.2", + "version": "1.2.3", "authors": [ { "name": "grola",