phan
phan copied to clipboard
Handle edge cases when inheriting class constants from traits (PHP 8.2)
This will be similar to the edge cases for conflicting method definitions in php 8.2.
Class constants can be inherited from parent classes, traits, and interfaces.
The visibility and class constant values should be compatible. Warn if they aren't.
Add test cases