mirror of
https://github.com/rectorphp/rector.git
synced 2024-06-11 21:52:21 +00:00
65abab80de
5c1be93b80
PHP 8.2 is supported (#3717)
14 lines
297 B
PHP
14 lines
297 B
PHP
<?php
|
|
|
|
declare (strict_types=1);
|
|
namespace RectorPrefix202305;
|
|
|
|
// mimic missing T_ENUM constant on PHP 8.0-
|
|
if (!\defined('T_ENUM')) {
|
|
\define('T_ENUM', 5000);
|
|
}
|
|
// mimic missing T_NAME_RELATIVE constant on PHP 8.0-
|
|
if (!\defined('T_NAME_RELATIVE')) {
|
|
\define('T_NAME_RELATIVE', 5001);
|
|
}
|