mirror of
https://github.com/rectorphp/rector.git
synced 2024-06-03 01:40:49 +00:00
f177e0c3dd
76dc886f7a
Cleanup, re-use AttributeName enums (#2792)
23 lines
472 B
PHP
23 lines
472 B
PHP
<?php
|
|
|
|
declare (strict_types=1);
|
|
namespace Rector\Php81\Enum;
|
|
|
|
final class AttributeName
|
|
{
|
|
/**
|
|
* Available since PHP 8.1
|
|
* @see https://php.watch/versions/8.1/ReturnTypeWillChange
|
|
* @var string
|
|
*/
|
|
public const RETURN_TYPE_WILL_CHANGE = 'ReturnTypeWillChange';
|
|
/**
|
|
* @var string
|
|
*/
|
|
public const ATTRIBUTE = 'Attribute';
|
|
/**
|
|
* @var string
|
|
*/
|
|
public const ALLOW_DYNAMIC_PROPERTIES = 'AllowDynamicProperties';
|
|
}
|