Your project must not contain invalid instantiations
- Read doc
- Reliability
- Major
More information: https://insight.symfony.com/what-we-analyse/php.invalid_instantiation
- return $enum;
- }
- $this
- ->setStruct(true)
- ->setRestriction(true)
- ->getValues()->add(new StructValue($this->getGenerator(), $value, $this->getValues()->count(), $this));
- }
- return $this;
- }