From 6318e5514b61b21e8a9d2befbdd26bd9b8aa2cc8 Mon Sep 17 00:00:00 2001 From: "Michael Kaufmann (d00p)" Date: Tue, 27 Feb 2018 10:54:03 +0100 Subject: [PATCH] ignore some more checkstyle rules Signed-off-by: Michael Kaufmann (d00p) --- lib/classes/api/commands/class.Subdomains.php | 8 ++++++-- phpcs.xml | 4 ++++ 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/lib/classes/api/commands/class.Subdomains.php b/lib/classes/api/commands/class.Subdomains.php index 8f88b676..cfec3569 100644 --- a/lib/classes/api/commands/class.Subdomains.php +++ b/lib/classes/api/commands/class.Subdomains.php @@ -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() { diff --git a/phpcs.xml b/phpcs.xml index e2a1b208..032051b6 100644 --- a/phpcs.xml +++ b/phpcs.xml @@ -4,9 +4,13 @@ + + + +