InaccessibleClassConstant# Error at levels All Emitted when a public/private class constant is not accessible from the calling context <?php class A { protected const FOO = 'FOO'; } echo A::FOO; Get Psalm news by email News about Psalm, a few emails a month. You can unsubscribe at any time. Email Subscribe I accept the privacy policy