### Summary

This was likely caused by the refactoring in abacf6a108b038571a0c3daeae63da0897c8fcb6; the old code was calling `list_deprecations()` from `AnsibleModule._handle_no_log_values()`, and the new code renamed the function to `_list_deprecations()`, but doesn't seem to call it *at all*. (There also seem to be no integration tests for this, so this went unnoticed.)

Ref: https://github.com/ansible-collections/community.zabbix/issues/857#issuecomment-1354637050

### Issue Type

Bug Report

### Component Name

AnsibleModule / argument spec validation

### Ansible Version

```console
2.11 to devel
```


### Configuration

```console
-
```


### OS / Environment

-

### Steps to Reproduce

-

### Expected Results

-

### Actual Results

```console
-
```


### Code of Conduct

- [X] I agree to follow the Ansible Code of Conduct
flattened_names.append(item)
            unsupported_string = ", ".join(sorted(list(flattened_names)))
            supported_params = supported_aliases = []
            if result._supported_parameters.get(item):
                supported_params = sorted(list(result._supported_parameters[item][0]))
                supported_aliases = sorted(list(result._supported_parameters[item][1]))
            supported_string = ", ".join(supported_params)
            if supported_aliases:
                aliases_string = ", ".join(supported_aliases)
                supported_string += " (%s)" % aliases_string
            msg = "{0}. Supported parameters include: {1}.".format(unsupported_string, supported_string)
            result.errors.append(UnsupportedError(msg))
        return result
class ModuleArgumentSpecValidator(ArgumentSpecValidator):
    """Argument spec validation class used by :class:`AnsibleModule`.
    This is not meant to be used outside of :class:`AnsibleModule`. Use
    :class:`ArgumentSpecValidator` instead.
    """
    def __init__(self, *args, **kwargs):
        super(ModuleArgumentSpecValidator, self).__init__(*args, **kwargs)
    def validate(self, parameters):
        result = super(ModuleArgumentSpecValidator, self).validate(parameters)
        for d in result._deprecations:
            deprecate("Alias '{name}' is deprecated. See the module docs for more information".format(name=d['name']),
                      version=d.get('version'), date=d.get('date'),
                      collection_name=d.get('collection_name'))
        for w in result._warnings:
            warn('Both option {option} and its alias {alias} are set.'.format(option=w['option'], alias=w['alias']))
        return result