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

Merge branch 'fix/if-bracket-operator' into 'master'

fix: remove requiring bracket operator with inline if statements

See merge request !9
parents 387e2f2a 0da3cfa0
No related branches found
No related tags found
1 merge request!9fix: remove requiring bracket operator with inline if statements
# 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
......
......@@ -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"/>
......
......@@ -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",
......
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