piotrpolak/pepiscms

View on GitHub
pepiscms/application/libraries/SecurityPolicyBuilder.php

Summary

Maintainability
A
1 hr
Test Coverage

Method build has 29 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function build($module_name, $policy_entries)
    {
        $allowed_entity_accesses = array('NONE', 'READ', 'WRITE', 'FULL_CONTROL');

        $doc = new DomDocument('1.0', 'UTF-8');
Severity: Minor
Found in pepiscms/application/libraries/SecurityPolicyBuilder.php - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status