Getting the module rulling #43
pr.yml
on: pull_request
Changelog should be updated
3s
markdownlint
6s
Matrix: PHP code analysis
Matrix: PHP coding standards
Matrix: Validate composer
Annotations
10 errors and 17 warnings
PHP code analysis (8.3):
web/modules/contrib/llm_services/src/Client/Ollama.php#L184
Method Drupal\llm_services\Client\Ollama::chatMessagesAsArray() return type has no value type specified in iterable type array.
|
PHP code analysis (8.3):
web/modules/contrib/llm_services/src/Client/Ollama.php#L262
Method Drupal\llm_services\Client\Ollama::call() has parameter $options with no value type specified in iterable type array.
|
PHP code analysis (8.3):
web/modules/contrib/llm_services/src/Client/Ollama.php#L263
\Drupal calls should be avoided in classes, use dependency injection instead
|
PHP code analysis (8.3):
web/modules/contrib/llm_services/src/Client/OllamaChatResponse.php#L27
Method Drupal\llm_services\Client\OllamaChatResponse::__construct() has parameter $images with no value type specified in iterable type array.
|
PHP code analysis (8.3):
web/modules/contrib/llm_services/src/Client/OllamaCompletionResponse.php#L56
Method Drupal\llm_services\Client\OllamaCompletionResponse::getContext() return type has no value type specified in iterable type array.
|
PHP code analysis (8.3):
web/modules/contrib/llm_services/src/Commands/ModelChatCommand.php#L110
While loop condition is always true.
|
PHP code analysis (8.3):
web/modules/contrib/llm_services/src/Commands/ModelChatCommand.php#L115
Call to an undefined method Symfony\Component\Console\Helper\HelperInterface::ask().
|
PHP code analysis (8.3):
web/modules/contrib/llm_services/src/Controller/LocalTasksController.php#L55
Method Drupal\Core\Form\FormBuilderInterface::getForm() invoked with 2 parameters, 1 required.
|
PHP code analysis (8.3):
web/modules/contrib/llm_services/src/Form/PluginSettingsForm.php#L59
Method Drupal\llm_services\Form\PluginSettingsForm::getEditableConfigNames() return type has no value type specified in iterable type array.
|
PHP code analysis (8.3):
web/modules/contrib/llm_services/src/Form/PluginSettingsForm.php#L73
Method Drupal\llm_services\Form\PluginSettingsForm::buildForm() has parameter $form with no value type specified in iterable type array.
|
Changelog should be updated
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
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/
|
markdownlint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/cache@v2, actions/setup-node@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
markdownlint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
markdownlint
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.3, prefer-stable)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Validate composer (8.3, 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.3, 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/
|
PHP code analysis (8.3)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
PHP code analysis (8.3)
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.3)
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 coding standards (8.3)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
PHP coding standards (8.3)
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 coding standards (8.3)
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.3, prefer-lowest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Validate composer (8.3, 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.3, 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/
|