Updated Rector to commit c860b0cd3976acfd4b05d6929f446a7b50454b52

c860b0cd39 Update docs for AddTypeToConstRector (#5803)
This commit is contained in:
Tomas Votruba 2024-04-05 18:05:20 +00:00
parent 6678ca05d4
commit b8bbd024cd
3 changed files with 4 additions and 4 deletions

View File

@ -5389,7 +5389,7 @@ Add override attribute to overridden methods
### AddTypeToConstRector
Add const to type
Add type to constants
- class: [`Rector\Php83\Rector\ClassConst\AddTypeToConstRector`](../rules/Php83/Rector/ClassConst/AddTypeToConstRector.php)

View File

@ -40,7 +40,7 @@ final class AddTypeToConstRector extends AbstractRector implements MinPhpVersion
}
public function getRuleDefinition() : RuleDefinition
{
return new RuleDefinition('Add const to type', [new CodeSample(<<<'CODE_SAMPLE'
return new RuleDefinition('Add type to constants', [new CodeSample(<<<'CODE_SAMPLE'
final class SomeClass
{
public const TYPE = 'some_type';

View File

@ -19,12 +19,12 @@ final class VersionResolver
* @api
* @var string
*/
public const PACKAGE_VERSION = '4a77565302216f6fde71232600cd175422a00965';
public const PACKAGE_VERSION = 'c860b0cd3976acfd4b05d6929f446a7b50454b52';
/**
* @api
* @var string
*/
public const RELEASE_DATE = '2024-04-05 20:02:11';
public const RELEASE_DATE = '2024-04-05 20:02:37';
/**
* @var int
*/