1
0
mirror of https://github.com/danog/psalm.git synced 2024-12-14 18:36:58 +01:00
psalm/src/Psalm/Internal/Scanner/VarDocblockComment.php

87 lines
1.2 KiB
PHP
Raw Normal View History

<?php
2018-11-06 03:57:36 +01:00
namespace Psalm\Internal\Scanner;
2021-12-13 16:28:14 +01:00
use Psalm\Type\Union;
/**
* @internal
*/
class VarDocblockComment
{
/**
2021-12-13 16:28:14 +01:00
* @var ?Union
*/
public $type;
/**
* @var string|null
*/
2021-09-26 23:24:07 +02:00
public $var_id;
/**
* @var int|null
*/
public $line_number;
2019-06-01 18:25:57 +02:00
/**
* @var int|null
*/
public $type_start;
/**
* @var int|null
*/
public $type_end;
/**
* Whether or not the property is deprecated
2017-05-27 02:16:18 +02:00
*
* @var bool
*/
public $deprecated = false;
/**
* Whether or not the property is internal
*
* @var bool
*/
public $internal = false;
/**
2019-05-11 19:56:55 +02:00
* If set, the property is internal to the given namespace.
*
* @var null|string
*/
2021-09-26 23:24:07 +02:00
public $psalm_internal;
2019-08-11 22:01:37 +02:00
/**
* Whether or not the property is readonly
*
* @var bool
*/
public $readonly = false;
/**
* Whether or not to allow mutation by internal methods
*
* @var bool
*/
public $allow_private_mutation = false;
/**
2020-05-22 04:47:58 +02:00
* @var list<string>
*/
2020-05-22 04:47:58 +02:00
public $removed_taints = [];
/**
* @var array<int, string>
*/
public $suppressed_issues = [];
/**
* @var ?string
*/
public $description;
}