- Issue created by @xjm
Among our efforts to add strict typing to core, tests are good early targets, because the majority of test code is internal API.
Add return typehints to the test codebase, first where non-disruptive, then where possibly disruptive (base classes, traits, etc.).
SlevomatCodingStandard.TypeHints.ReturnTypeHint
phpcs code sniff on */tests/*Return typehints on methods in test code.
Maybe?