gdbots/ncr-php

View on GitHub
src/UniqueNodeValidator.php

Summary

Maintainability
A
1 hr
Test Coverage

Method ensureSlugIsAvailable has 28 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    protected function ensureSlugIsAvailable(PbjxEvent $pbjxEvent, NodeRef $nodeRef, string $slug): void
    {
        $pbjx = $pbjxEvent::getPbjx();
        $command = $pbjxEvent->getMessage();

Severity: Minor
Found in src/UniqueNodeValidator.php - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status