Add return types to UserCreationTrait

Created on 13 October 2024, 2 months ago

Problem/Motivation

As per ✨ Enforce return types in all new methods and functions RTBC new classes that implement traits with methods that have a return type missing will fail phpstan.

Steps to reproduce

Proposed resolution

  • In 11.x add proper return types. These are usually void as other types are often documented.
  • In 10.4.x add a @return annotation, or a @phpstan-return annotation as that does not require a description, eg. for void return.
  • Update phpstan baseline for hundreds of entries we no longer require.

Remaining tasks

User interface changes

Introduced terminology

API changes

Data model changes

Release notes snippet

πŸ“Œ Task
Status

Active

Version

11.0 πŸ”₯

Component

user.module

Created by

πŸ‡¦πŸ‡ΊAustralia mstrelan

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024