* Use FQCN for native attributes
For attributes, it's non-obvious that they need to be imported with `use` or
referenced with their FQCN, because applying a non-existent attribute is not an
error.
Make the examples copy-and-paste safe by adding the leading backslash, as
already done for `#[\SensitiveParameterValue]`.
6e69d9342e
Backslashes before ReturnTypeWillChange in deprecation messages were left as-is, since those are quoting actual output from PHP. See 081cf71 for those messages.
362f36f682
The newly introduced tentative return types require us to specify
return types for the method implementation. Since `mixed` is only
available as of PHP 8.0.0, we use the `ReturnTypeWillChange` attribute
to suppress the deprecation for now.
This includes user note 127108 (well, at least the relevant parts of
it).
cfaa7659da