eustasy/phoenix

View on GitHub
_onces/phoenix/once.announce.peer.event.php

Summary

Maintainability
A
40 mins
Test Coverage

Consider simplifying this complex logical expression.
Open

if (
    // No Existing Peer
    !$peer['old'] ||
    // IP has changed.
    $peer['ipv4'] != $peer['old']['ipv4'] ||
Severity: Major
Found in _onces/phoenix/once.announce.peer.event.php - About 40 mins to fix

    Blank line found at end of control structure
    Open

    
    

    Usage of ELSE IF is discouraged; use ELSEIF instead
    Open

        } else if ( $_GET['event'] == 'completed' ) {

    There are no issues that match your filters.

    Category
    Status