Skip to content

test: make tests green #15

test: make tests green

test: make tests green #15

Status Failure
Total duration 18s
Artifacts

phpmd.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

1 error and 10 warnings
PHPMD
Process completed with exit code 2.
PHPMD: Abstracts/Exceptions/Exception.php#L41
The method debug has a boolean flag argument $force, which is a certain sign of a Single Responsibility Principle violation.
PHPMD: Abstracts/Exceptions/Exception.php#L54
The method withErrors has a boolean flag argument $override, which is a certain sign of a Single Responsibility Principle violation.
PHPMD: Abstracts/Exceptions/Exception.php#L58
The method withErrors uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them.
PHPMD: Abstracts/Exceptions/Exception.php#L78
The method getErrors uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them.
PHPMD: Abstracts/Notifications/Notification.php#L10
Avoid unused parameters such as '$notifiable'.
PHPMD: Abstracts/Requests/Request.php#L258
The method check uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them.
PHPMD: Foundation/Apiato.php#L36
Avoid unused local variables such as '$key'.
PHPMD: Foundation/Apiato.php#L70
The method getClassNamespaceFromFile() has a Cyclomatic Complexity of 8. The configured cyclomatic complexity threshold is 7.
PHPMD: Foundation/Apiato.php#L78
The variable $namespace_ok is not named in camelCase.
PHPMD: Foundation/Apiato.php#L109
The variable $php_code is not named in camelCase.