Enabled PHPMD for src and tests

This commit is contained in:
Junade Ali
2017-10-13 15:18:08 +01:00
parent f0213ecf92
commit ca9e5bbc28
11 changed files with 64 additions and 35 deletions

View File

@@ -21,6 +21,16 @@ class PageRules implements API
$this->adapter = $adapter;
}
/**
* @SuppressWarnings(PHPMD.BooleanArgumentFlag)
*
* @param string $zoneID
* @param PageRulesTargets $target
* @param PageRulesActions $actions
* @param bool $active
* @param int|null $priority
* @return bool
*/
public function createPageRule(
string $zoneID,
PageRulesTargets $target,