Open
Description
Affected page
https://www.php.net/manual/en/enum.qosclass.php
Issue description
this documentation has several issues:
- it does not make it clear that this enum is not in the top-level namespace but in the
Pcntl
namespace - cases are broken as they all have a
Pcntl::
prefix that does not make any sense (and is invalid syntax in PHP)
Steps to reproduce
Suggested fix
Cases should be rendered without the broken prefix.
For the namespace, I would suggest rendered a namespace Pcntl;
statement above the enum. This seems the sensible way to render a synopsis for a namespaced enum (or class)