phergie/phergie-irc-client-react

View on GitHub
src/WriteStream.php

Summary

Maintainability
D
2 days
Test Coverage

WriteStream has 67 functions (exceeds 20 allowed). Consider refactoring.
Open

class WriteStream extends EventEmitter implements ReadableStreamInterface, GeneratorInterface
{
    /**
     * Generator composed to write IRC messages to the stream
     *
Severity: Major
Found in src/WriteStream.php - About 1 day to fix

    File WriteStream.php has 407 lines of code (exceeds 250 allowed). Consider refactoring.
    Open

    <?php
    /**
     * Phergie (http://phergie.org)
     *
     * @link http://github.com/phergie/phergie-irc-client-react for the canonical source repository
    Severity: Minor
    Found in src/WriteStream.php - About 5 hrs to fix

      Method ircUserhost has 5 arguments (exceeds 4 allowed). Consider refactoring.
      Open

          public function ircUserhost($nickname1, $nickname2 = null, $nickname3 = null, $nickname4 = null, $nickname5 = null)
      Severity: Minor
      Found in src/WriteStream.php - About 35 mins to fix

        There are no issues that match your filters.

        Category
        Status