SergioMadness/pwf-helpers

View on GitHub

Showing 119 of 119 total issues

The first parameter of a multi-line function declaration must be on the line after the opening bracket
Open

    public static function invokeSoap($wsdlURL, $method,
Severity: Minor
Found in src/HttpHelper.php by phpcodesniffer

The first parameter of a multi-line function declaration must be on the line after the opening bracket
Open

    public static function validateEquality($paramName, array $data,
Severity: Minor
Found in src/Validator.php by phpcodesniffer

The closing parenthesis and the opening brace of a multi-line function declaration must be on the same line
Open

    {
Severity: Minor
Found in src/SystemHelpers.php by phpcodesniffer

Multi-line function declarations must define one parameter per line
Open

    public static function recursiveArraySearch($needleKey, $needleValue,
Severity: Minor
Found in src/ArrayHelper.php by phpcodesniffer

Multi-line function declaration not indented correctly; expected 8 spaces but found 38
Open

                                      \Closure $callback = null)
Severity: Minor
Found in src/SystemHelpers.php by phpcodesniffer

Multi-line function declaration not indented correctly; expected 8 spaces but found 46
Open

                                              array $params)
Severity: Minor
Found in src/Validator.php by phpcodesniffer

The closing parenthesis of a multi-line function declaration must be on a new line
Open

                                              array $params)
Severity: Minor
Found in src/Validator.php by phpcodesniffer

The closing parenthesis and the opening brace of a multi-line function declaration must be on the same line
Open

    {
Severity: Minor
Found in src/Validator.php by phpcodesniffer

The first parameter of a multi-line function declaration must be on the line after the opening bracket
Open

    public static function recursivelySetValue($needleKey, $needleValue,
Severity: Minor
Found in src/ArrayHelper.php by phpcodesniffer

Multi-line function declaration not indented correctly; expected 8 spaces but found 36
Open

                                    $_return_header = true)
Severity: Minor
Found in src/HttpHelper.php by phpcodesniffer

Multi-line function declarations must define one parameter per line
Open

    public static function invokeSoap($wsdlURL, $method,
Severity: Minor
Found in src/HttpHelper.php by phpcodesniffer

The closing parenthesis of a multi-line function declaration must be on a new line
Open

                                          array $params = [])
Severity: Minor
Found in src/Validator.php by phpcodesniffer

The first parameter of a multi-line function declaration must be on the line after the opening bracket
Open

    public static function validateByCallback($paramName, array $data,
Severity: Minor
Found in src/Validator.php by phpcodesniffer

Multi-line function declarations must define one parameter per line
Open

    public static function validateByCallback($paramName, array $data,
Severity: Minor
Found in src/Validator.php by phpcodesniffer

The closing parenthesis of a multi-line function declaration must be on a new line
Open

                                                array $haystack)
Severity: Minor
Found in src/ArrayHelper.php by phpcodesniffer

The closing parenthesis and the opening brace of a multi-line function declaration must be on the same line
Open

    {
Severity: Minor
Found in src/ArrayHelper.php by phpcodesniffer

The closing parenthesis of a multi-line function declaration must be on a new line
Open

                                      array $options = array())
Severity: Minor
Found in src/HttpHelper.php by phpcodesniffer

Missing class import via use statement (line '97', column '23').
Open

            throw new \Exception('Parameter is not set');
Severity: Minor
Found in src/Validator.php by phpmd

MissingImport

Since: 2.7.0

Importing all external classes in a file through use statements makes them clearly visible.

Example

function make() {
    return new \stdClass();
}

Source http://phpmd.org/rules/cleancode.html#MissingImport

Missing class import via use statement (line '84', column '31').
Open

            $soapClient = new \SoapClient($wsdlURL, $options);
Severity: Minor
Found in src/HttpHelper.php by phpmd

MissingImport

Since: 2.7.0

Importing all external classes in a file through use statements makes them clearly visible.

Example

function make() {
    return new \stdClass();
}

Source http://phpmd.org/rules/cleancode.html#MissingImport

Missing class import via use statement (line '88', column '20').
Open

        $ref = new \ReflectionClass($className);
Severity: Minor
Found in src/SystemHelpers.php by phpmd

MissingImport

Since: 2.7.0

Importing all external classes in a file through use statements makes them clearly visible.

Example

function make() {
    return new \stdClass();
}

Source http://phpmd.org/rules/cleancode.html#MissingImport

Severity
Category
Status
Source
Language