From 40cdb2f91271427dc711296074e2603861b9577d Mon Sep 17 00:00:00 2001 From: Manuel VACELET Date: Tue, 5 Oct 2021 16:03:19 +0200 Subject: [PATCH] php 8.0 introduced visibility constants on ReflectionClassConstant Spotted in issue #6588 --- stubs/Php80.phpstub | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/stubs/Php80.phpstub b/stubs/Php80.phpstub index dec2ba0b5..877b156f3 100644 --- a/stubs/Php80.phpstub +++ b/stubs/Php80.phpstub @@ -48,6 +48,13 @@ class ReflectionAttribute } } +class ReflectionClassConstant +{ + public const IS_PUBLIC = 1; + public const IS_PROTECTED = 2; + public const IS_PRIVATE = 4; +} + class Attribute { public const TARGET_CLASS = 1;