syntaxerrors/Steam

View on GitHub
src/Syntax/SteamApi/Containers/App.php

Summary

Maintainability
A
1 hr
Test Coverage
A
100%

Method __construct has 27 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function __construct($app)
    {

        $this->id                 = $app->steam_appid;
        $this->type               = $app->type;
Severity: Minor
Found in src/Syntax/SteamApi/Containers/App.php - About 1 hr to fix

    Function closing brace must go on the next line following the body; found 1 blank lines before brace
    Open

        }

    Line exceeds 120 characters; contains 123 characters
    Open

            $this->recommendations    = $this->checkIssetField($app, 'recommendations', $this->getFakeRecommendationsObject());

    There are no issues that match your filters.

    Category
    Status