ignore some more checkstyle rules

Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann (d00p) 2018-02-27 10:54:03 +01:00
parent 392db944a2
commit 6318e5514b
2 changed files with 10 additions and 2 deletions

View File

@ -19,7 +19,9 @@ class Subdomains extends ApiCommand implements ResourceEntity
{
public function add()
{}
{
throw new Exception("Not available yet.", 501);
}
/**
* return a subdomain entry by either id or domainname
@ -97,7 +99,9 @@ class Subdomains extends ApiCommand implements ResourceEntity
}
public function update()
{}
{
throw new Exception("Not available yet.", 501);
}
public function list()
{

View File

@ -4,9 +4,13 @@
<config name="show_progress" value="1" />
<config name="ignore_warnings_on_exit" value="1" />
<arg name="tab-width" value="4" />
<!-- Show sniff codes in all reports -->
<arg value="s" />
<rule ref="PSR2">
<exclude name="Generic.WhiteSpace.DisallowTabIndent" />
<exclude name="Generic.Files.LineLength" />
<exclude name="PSR1.Classes.ClassDeclaration.MissingNamespace" />
<exclude name="Squiz.WhiteSpace.ControlStructureSpacing.SpacingAfterOpen" />
<exclude name="Squiz.WhiteSpace.SuperfluousWhitespace.EndLine" />
</rule>
</ruleset>