Fix errors with php < 8 (#924)
Related issue https://github.com/zircote/swagger-php/issues/919 Co-authored-by: tlallement <tlallement@incert.lu>
This commit is contained in:
parent
8daf4cc9b6
commit
238533ba59
|
@ -25,6 +25,9 @@ if (!defined('T_NAME_QUALIFIED')) {
|
|||
if (!defined('T_NAME_FULLY_QUALIFIED')) {
|
||||
define('T_NAME_FULLY_QUALIFIED', -5);
|
||||
}
|
||||
if (!defined('T_ATTRIBUTE')) {
|
||||
define('T_ATTRIBUTE', -6);
|
||||
}
|
||||
|
||||
if (!function_exists('OpenApi\\scan')) {
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue