Skip to content

Add code analysis script #39

Add code analysis script

Add code analysis script #39

Triggered via pull request September 20, 2024 10:36
Status Failure
Total duration 2m 56s
Artifacts

pr.yaml

on: pull_request
Changelog should be updated
8s
Changelog should be updated
Matrix: PHP - Check Coding Standards
Matrix: PHP code analysis
Matrix: Validate composer
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 17 warnings
PHP code analysis (8.1): web/modules/contrib/os2forms_user_field_lookup/src/Plugin/WebformElement/UserFieldElement.php#L19
Class Drupal\os2forms_user_field_lookup\Plugin\WebformElement\UserFieldElement extends unknown class Drupal\webform\Plugin\WebformElement\TextField.
PHP code analysis (8.1): web/modules/contrib/os2forms_user_field_lookup/src/Plugin/WebformElement/UserFieldElement.php#L29
Drupal\os2forms_user_field_lookup\Plugin\WebformElement\UserFieldElement::defineDefaultProperties() calls parent::defineDefaultProperties() but Drupal\os2forms_user_field_lookup\Plugin\WebformElement\UserFieldElement does not extend any class.
PHP code analysis (8.1): web/modules/contrib/os2forms_user_field_lookup/src/Plugin/WebformElement/UserFieldElement.php#L40
Access to an undefined property Drupal\os2forms_user_field_lookup\Plugin\WebformElement\UserFieldElement::$currentUser.
PHP code analysis (8.1): web/modules/contrib/os2forms_user_field_lookup/src/Plugin/WebformElement/UserFieldElement.php#L42
Access to an undefined property Drupal\os2forms_user_field_lookup\Plugin\WebformElement\UserFieldElement::$currentUser.
PHP code analysis (8.1): web/modules/contrib/os2forms_user_field_lookup/src/Plugin/WebformElement/UserFieldElement.php#L42
Access to an undefined property Drupal\os2forms_user_field_lookup\Plugin\WebformElement\UserFieldElement::$entityTypeManager.
PHP code analysis (8.1): web/modules/contrib/os2forms_user_field_lookup/src/Plugin/WebformElement/UserFieldElement.php#L42
PHPDoc tag @var for variable $user contains unknown class Drupal\user\Entity\User.
PHP code analysis (8.1): web/modules/contrib/os2forms_user_field_lookup/src/Plugin/WebformElement/UserFieldElement.php#L43
Call to method hasField() on an unknown class Drupal\user\Entity\User.
PHP code analysis (8.1): web/modules/contrib/os2forms_user_field_lookup/src/Plugin/WebformElement/UserFieldElement.php#L44
Call to method get() on an unknown class Drupal\user\Entity\User.
PHP code analysis (8.1): web/modules/contrib/os2forms_user_field_lookup/src/Plugin/WebformElement/UserFieldElementCheckbox.php#L19
Class Drupal\os2forms_user_field_lookup\Plugin\WebformElement\UserFieldElementCheckbox extends unknown class Drupal\webform\Plugin\WebformElement\Checkbox.
PHP code analysis (8.1): web/modules/contrib/os2forms_user_field_lookup/src/Plugin/WebformElement/UserFieldElementCheckbox.php#L29
Drupal\os2forms_user_field_lookup\Plugin\WebformElement\UserFieldElementCheckbox::defineDefaultProperties() calls parent::defineDefaultProperties() but Drupal\os2forms_user_field_lookup\Plugin\WebformElement\UserFieldElementCheckbox does not extend any class.
Changelog should be updated
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Changelog should be updated
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
PHP - Check Coding Standards (8.1, prefer-lowest)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
PHP - Check Coding Standards (8.1, prefer-lowest)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
PHP - Check Coding Standards (8.1, prefer-lowest)
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/
PHP - Check Coding Standards (8.1, prefer-stable)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
PHP - Check Coding Standards (8.1, prefer-stable)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
PHP - Check Coding Standards (8.1, prefer-stable)
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/
Validate composer (8.1, prefer-lowest)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Validate composer (8.1, prefer-lowest)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Validate composer (8.1, prefer-lowest)
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/
PHP code analysis (8.1)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
PHP code analysis (8.1)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
PHP code analysis (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/
Validate composer (8.1, prefer-stable)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Validate composer (8.1, prefer-stable)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Validate composer (8.1, prefer-stable)
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/