Skip to content

Add nvm use and auto-branching #15

Add nvm use and auto-branching

Add nvm use and auto-branching #15

Triggered via pull request September 23, 2024 07:40
Status Failure
Total duration 22s
Artifacts

php-coding-standards.yml

on: pull_request
PHP coding standards
13s
PHP coding standards
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 10 warnings
PHP coding standards: packages/php/woorelease-extension/src/Utils/Product.php#L8
Missing doc comment for class Product
PHP coding standards: packages/php/woorelease-extension/src/Utils/Product.php#L69
Short array syntax must be used to define arrays
PHP coding standards: packages/php/woorelease-extension/src/Utils/Git.php#L38
Doc comment for parameter "$folder" missing
PHP coding standards: packages/php/woorelease-extension/src/Utils/Git.php#L41
Doc comment for parameter $branch does not match actual variable name $folder
PHP coding standards: packages/php/woorelease-extension/src/Commands/Branch.php#L27
Member variable "$defaultName" is not in valid snake_case format, try "$default_name"
PHP coding standards: packages/php/woorelease-extension/src/Commands/Branch.php#L29
Missing doc comment for function configure()
PHP coding standards: packages/php/woorelease-extension/src/Commands/Branch.php#L128
Missing doc comment for function cleanup()
PHP coding standards: packages/php/woorelease-extension/src/Commands/Release.php#L35
Missing doc comment for function configure()
PHP coding standards: packages/php/woorelease-extension/src/Utils/Product.php#L44
Loose comparisons are not allowed. Expected: "!=="; Found: "!="
PHP coding standards: packages/php/woorelease-extension/src/Utils/Product.php#L55
shell_exec() found. PHP system calls are often disabled by server admins.
PHP coding standards: packages/php/woorelease-extension/src/Utils/Product.php#L57
shell_exec() found. PHP system calls are often disabled by server admins.
PHP coding standards: packages/php/woorelease-extension/src/Utils/Product.php#L59
shell_exec() found. PHP system calls are often disabled by server admins.
PHP coding standards: packages/php/woorelease-extension/src/Commands/Release.php#L44
Equals sign not aligned with surrounding assignments; expected 13 spaces but found 16 spaces
PHP coding standards: packages/php/woorelease-extension/src/Commands/Release.php#L45
Equals sign not aligned with surrounding assignments; expected 9 spaces but found 12 spaces
PHP coding standards: packages/php/woorelease-extension/src/Commands/Release.php#L46
Equals sign not aligned with surrounding assignments; expected 12 spaces but found 15 spaces
PHP coding standards: packages/php/woorelease-extension/src/Commands/Release.php#L47
Equals sign not aligned with surrounding assignments; expected 10 spaces but found 13 spaces
PHP coding standards: packages/php/woorelease-extension/src/Commands/Release.php#L48
Equals sign not aligned with surrounding assignments; expected 10 spaces but found 13 spaces
PHP coding standards: packages/php/woorelease-extension/src/Commands/Release.php#L49
Equals sign not aligned with surrounding assignments; expected 9 spaces but found 12 spaces