skqr/hateoas-bundle

View on GitHub

Showing 191 of 191 total issues

Line exceeds 120 characters; contains 124 characters
Open

    const ERROR_LOG_MESSAGE_PATTERN = "The HATEOAS API is responding with the error \"%s\" in %s:%s. (Occurrence UUID %s.)";

Inline control structures are not allowed
Open

            if (!$container->hasDefinition($name)) return;

Inline control structures are not allowed
Open

        if (!$container->hasDefinition(self::LOCALE_PARSER_SERVICE)) return;

Line exceeds 120 characters; contains 131 characters
Open

 * To learn more see {@link http://symfony.com/doc/current/cookbook/bundles/extension.html#cookbook-bundles-extension-config-class}

Line exceeds 120 characters; contains 128 characters
Open

        WSSE_CREDENTIALS_PATTERN = "X-WSSE: UsernameToken Username=\"%s\", PasswordDigest=\"%s\", Nonce=\"%s\", Created=\"%s\"",
Severity: Minor
Found in Test/PHPUnit/ApiTestCase.php by phpcodesniffer

Whitespace found at end of line
Open

            $url, 
Severity: Minor
Found in Test/PHPUnit/ApiTestCase.php by phpcodesniffer

Closing parenthesis of a multi-line function call must be on a line by itself
Open

            $language);
Severity: Minor
Found in Test/PHPUnit/ApiTestCase.php by phpcodesniffer

Expected 0 spaces after opening bracket; newline found
Open

        if (
Severity: Minor
Found in Test/PHPUnit/ApiTestCase.php by phpcodesniffer

Expected 0 spaces after opening bracket; newline found
Open

        if (

Multi-line function call not indented correctly; expected 8 spaces but found 12
Open

            $language);
Severity: Minor
Found in Test/PHPUnit/ApiTestCase.php by phpcodesniffer

Expected 1 newline at end of file; 0 found
Open

}
Severity: Minor
Found in Util/HttpClientUtil.php by phpcodesniffer
Severity
Category
Status
Source
Language