aik099/CodingStandard

Exclude "Generic.WhiteSpace.ScopeIndent.IncorrectExact" error for InPortal standard

aik099 opened this issue · 0 comments

In In-Portal the code is indented correctly, but unfortunately all class declaration are 1 TAB away from what's needed.

What we have:

<?php
    class MyClass
    {

    }

What we need:

<?php
class MyClass
{

}

The Generic.WhiteSpace.ScopeIndent sniff is correct for reporting that error, but it does so on every line that opens/closes block (e.g. function/if/while, etc.) and that creates a lot of noise.

For now let's exclude Generic.WhiteSpace.ScopeIndent.IncorrectExact error from In-Portal version of standard.