Skip to content

Merge branch '8.x' of https://github.com/apiato/core into 8.x #3

Merge branch '8.x' of https://github.com/apiato/core into 8.x

Merge branch '8.x' of https://github.com/apiato/core into 8.x #3

Triggered via push December 14, 2023 16:12
Status Failure
Total duration 19s
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/Actions/Action.php#L12
Avoid variables with short names like $ui. Configured minimum length is 3.
PHPMD: Abstracts/Actions/Action.php#L16
Avoid using static access to class '\Illuminate\Support\Facades\DB' in method 'transactionalRun'.
PHPMD: Abstracts/Commands/ConsoleCommand.php#L13
Avoid variables with short names like $ui. Configured minimum length is 3.
PHPMD: Abstracts/Controllers/ApiController.php#L15
Avoid variables with short names like $ui. Configured minimum length is 3.
PHPMD: Abstracts/Controllers/WebController.php#L11
Avoid variables with short names like $ui. Configured minimum length is 3.
PHPMD: Abstracts/Exceptions/Exception.php#L20
Avoid using static access to class '\Illuminate\Support\Facades\Config' in method '__construct'.
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#L48
Avoid using static access to class '\Illuminate\Support\Facades\Log' in method 'debug'.
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.