Skip to content
Snippets Groups Projects
Verified Commit b37cab90 authored by Bartek Jaskulski's avatar Bartek Jaskulski
Browse files

fix: remove wrapping operations in brackets

parent aa28f042
No related branches found
No related tags found
1 merge request!7fix: remove wrapping operations in brackets
# Changelog # Changelog
## [1.2.1] - 2021-06-14
### Fixed
- Removed wrapping operations in brackets
## [1.2.0] - 2021-06-14 ## [1.2.0] - 2021-06-14
### Changed ### Changed
- Fully rewritten CS rules to adhere developers needs - Fully rewritten CS rules to adhere developers needs
......
...@@ -99,9 +99,6 @@ ...@@ -99,9 +99,6 @@
<!-- Error prevention: Make sure the condition in a inline if declaration is bracketed. --> <!-- Error prevention: Make sure the condition in a inline if declaration is bracketed. -->
<rule ref="Squiz.ControlStructures.InlineIfDeclaration"/> <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.--> <!-- CS: no blank line between the content of a function and a function close brace.-->
<rule ref="PSR2.Methods.FunctionClosingBrace"/> <rule ref="PSR2.Methods.FunctionClosingBrace"/>
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
"homepage": "https://gitlab.com/wpdesk/wp-code-sniffer", "homepage": "https://gitlab.com/wpdesk/wp-code-sniffer",
"type": "phpcodesniffer-standard", "type": "phpcodesniffer-standard",
"prefer-stable": true, "prefer-stable": true,
"version": "1.2.0", "version": "1.2.1",
"authors": [ "authors": [
{ {
"name": "grola", "name": "grola",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment