coding-standards
coding-standards copied to clipboard
Require visibility for class constants
With PHP 7.2 being required going forward, I propose all class constants are required to have a visibility declared so it is explicitly clear what constants are visible in what scopes. Obviously, most constants will have to be public for B/C.
Makes sense to me