Skip to content
On this page

ArbitraryParenthesesSpacing

Check & fix whitespace on the inside of arbitrary parentheses.

Arbitrary parentheses are those which are not owned by a function (call), array or control structure. Spacing on the outside is not checked on purpose as this would too easily conflict with other spacing rules.

Scope

Generic.WhiteSpace.ArbitraryParenthesesSpacing

Description

Arbitrary sets of parentheses should have no spaces inside.

Properties

Property NameTypeDefaultAvailable Since
ignoreNewlinesboolfalse3.3.0
spacingint03.3.0

Usage

xml
<rule ref="Generic.WhiteSpace.ArbitraryParenthesesSpacing">
    <properties>
        <property name="ignoreNewlines" value="true" />
    </properties>
</rule>

Examples

No Examples Available

Please edit this page through Github to add examples.

Released under the MIT License.