Showing 5 of 5 total issues
User
has 23 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class User{ /** @var int */ private $id;
Method __construct
has 20 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
int $id, string $name, ? string $screenName, ? string $location, ? string $url,
Method __construct
has 14 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
int $id, string $text, string $lang, string $createdAt, string $timestampMs,
Method __construct
has 12 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
int $id, string $text, string $lang, string $createdAt, ? array $geo,
Function readStreamLine
has a Cognitive Complexity of 7 (exceeds 5 allowed). Consider refactoring. Open
Open
private function readStreamLine( Stream $stream, int $maxLength = null ) : string {
- Read upRead up