Skip to content

fix tests

fix tests #148

Triggered via push September 27, 2023 14:43
Status Failure
Total duration 16m 43s
Artifacts

main.yml

on: push
general_module_workflow  /  hash_generation
3s
general_module_workflow / hash_generation
Matrix: general_module_workflow / autoformat
Matrix: general_module_workflow / code-tests
Matrix: general_module_workflow / codestyle-tests
Matrix: general_module_workflow / custom
Matrix: general_module_workflow / static-tests
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 8 warnings
general_module_workflow / static-tests (8.1): Models/Contact.php#L144
Method Modules\Profile\Models\Contact::getId() should return int but return statement is missing.
general_module_workflow / static-tests (8.1): Models/ContactElement.php#L78
Method Modules\Profile\Models\ContactElement::getId() should return int but return statement is missing.
general_module_workflow / static-tests (8.1): Models/ContactElement.php#L104
Method Modules\Profile\Models\ContactElement::getType() should return int but return statement is missing.
general_module_workflow / static-tests (8.1): Models/ContactElement.php#L130
Method Modules\Profile\Models\ContactElement::getSubtype() should return int but return statement is missing.
general_module_workflow / static-tests (8.1): Models/Profile.php#L96
Constructor of class Modules\Profile\Models\Profile has an unused parameter $account.
general_module_workflow / static-tests (8.1): Models/Profile.php#L109
Method Modules\Profile\Models\Profile::getId() should return int but return statement is missing.
general_module_workflow / static-tests (8.1): Models/Profile.php#L121
Method Modules\Profile\Models\Profile::getGender() should return int but return statement is missing.
general_module_workflow / static-tests (8.1): Models/Profile.php#L153
Method Modules\Profile\Models\Profile::getSex() should return int but return statement is missing.
general_module_workflow / static-tests (8.1): Models/Profile.php#L181
Method Modules\Profile\Models\Profile::toArray() should return array but return statement is missing.
general_module_workflow / static-tests (8.1): Models/Profile.php#L196
Method Modules\Profile\Models\Profile::jsonSerialize() should return mixed but return statement is missing.
general_module_workflow / codestyle-tests (8.1)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/cache@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
general_module_workflow / codestyle-tests (8.1)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
general_module_workflow / autoformat (8.1)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/cache@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
general_module_workflow / autoformat (8.1)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
general_module_workflow / static-tests (8.1)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/cache@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
general_module_workflow / static-tests (8.1)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
general_module_workflow / code-tests (8.1)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/cache@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
general_module_workflow / code-tests (8.1)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/