Skip to content

Commit

Permalink
Fix errors with php < 8 (#924)
Browse files Browse the repository at this point in the history
Related issue #919

Co-authored-by: tlallement <tlallement@incert.lu>
  • Loading branch information
raziel057 and tlallement committed Mar 25, 2021
1 parent 8daf4cc commit 238533b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@
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')) {
/**
Expand Down

0 comments on commit 238533b

Please sign in to comment.