N°7176 - Update nikic/php-parser to 5.0.0 (#735)

This commit is contained in:
Benjamin Dalsass
2025-08-14 09:03:32 +02:00
committed by GitHub
parent a975f67bd5
commit 8bca3ac830
290 changed files with 11630 additions and 10372 deletions

View File

@@ -10,19 +10,20 @@ use PhpParser\Node;
use PhpParser\Node\Identifier;
use PhpParser\Node\Stmt;
class EnumCase implements PhpParser\Builder
{
class EnumCase implements PhpParser\Builder {
/** @var Identifier|string */
protected $name;
protected $value = null;
protected $attributes = [];
protected ?Node\Expr $value = null;
/** @var array<string, mixed> */
protected array $attributes = [];
/** @var Node\AttributeGroup[] */
protected $attributeGroups = [];
/** @var list<Node\AttributeGroup> */
protected array $attributeGroups = [];
/**
* Creates an enum case builder.
*
* @param string|Identifier $name Name
* @param string|Identifier $name Name
*/
public function __construct($name) {
$this->name = $name;