Skip to content

Commit

Permalink
chore: modified the phpcs file
Browse files Browse the repository at this point in the history
  • Loading branch information
rezaelahidev committed Jan 18, 2025
1 parent b0753c8 commit 22c38ae
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions phpcs.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,36 @@
<rule ref="WordPress.WP.I18n"/>
<config name="text_domain" value="blockera,default"/>

<rule ref="Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed">
<exclude-pattern>*</exclude-pattern>
</rule>
<rule ref="WordPress.WhiteSpace.DisallowInlineTabs.NonIndentTabsUsed">
<exclude-pattern>*</exclude-pattern>
</rule>
<rule ref="WordPress.Arrays.MultipleStatementAlignment.DoubleArrowNotAligned">
<exclude-pattern>*</exclude-pattern>
</rule>
<rule ref="Squiz.WhiteSpace.SuperfluousWhitespace.EndLine">
<exclude-pattern>*</exclude-pattern>
</rule>
<rule ref="PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket">
<exclude-pattern>*</exclude-pattern>
</rule>
<rule ref="PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket">
<exclude-pattern>*</exclude-pattern>
</rule>
<rule ref="WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceAfterOpenParenthesis">
<exclude-pattern>*</exclude-pattern>
</rule>
<rule ref="WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBeforeCloseParenthesis">
<exclude-pattern>*</exclude-pattern>
</rule>
<rule ref="Generic.Functions.OpeningFunctionBraceKernighanRitchie.SpaceBeforeBrace">
<exclude-pattern>*</exclude-pattern>
</rule>
<rule ref="WordPress.WhiteSpace.OperatorSpacing.NoSpaceBefore">
<exclude-pattern>*</exclude-pattern>
</rule>
<rule ref="WordPress.Files.FileName.NotHyphenatedLowercase">
<exclude-pattern>*</exclude-pattern>
</rule>
Expand Down

0 comments on commit 22c38ae

Please sign in to comment.