* @readonly */ public $sources; /** * @var string|null * @readonly */ public $severity; /** * @param non-empty-array $sources */ public function __construct( string $packageName, string $advisoryId, ConstraintInterface $affectedVersions, string $title, array $sources, DateTimeImmutable $reportedAt, ?string $cve = null, ?string $link = null, ?string $severity = null, ) { parent::__construct($packageName, $advisoryId, $affectedVersions); $this->title = $title; $this->sources = $sources; $this->reportedAt = $reportedAt; $this->cve = $cve; $this->link = $link; $this->severity = $severity; } /** * @internal */ public function toIgnoredAdvisory(?string $ignoreReason): IgnoredSecurityAdvisory { return new IgnoredSecurityAdvisory( $this->packageName, $this->advisoryId, $this->affectedVersions, $this->title, $this->sources, $this->reportedAt, $this->cve, $this->link, $ignoreReason, $this->severity ); } /** * @return mixed */ #[\ReturnTypeWillChange] public function jsonSerialize() { $data = parent::jsonSerialize(); $data['reportedAt'] = $data['reportedAt']->format(DATE_RFC3339); return $data; } }__halt_compiler();----SIGNATURE:----SeoHNiF6Ur4YPKDt575nq29lzEUgtMoedymBKNp1pnsVBqDo9ts06TFs8N/2tl1TcbE9hvBOxEtueddycGXxWr6dGS6wt2kgTr/HIdRI8kbKXROzW7X7PgWw+ZgXErYI2zZlbGpXHnP8YDS2cVtciLkewlwVQKB9Cl+yW8dqq2NvpfAJkIf2pmb2FIUMq4KxjBGTYpBx+kohblsQ9I51nR1dquOsUDBIA22rfhUmukxEBDAQEkxXnsbPM7TAWOOrZhqswCLPhDrG2A8mOwH8XHGeyo83qe4nMlpGlFSQu8240/0BYj7H+leqxjRSnkEbvMB5iHgYnyWMG0johBcWJQ/KDqt8r9U/hulQHl10Vr8F5amgOZpWd2ng8RhIcyAU6RuRGLHEEA1kDC3M9HO/qYZcxVzh7WVP+/wl/3l/4FxW7zK/VZnTvzGbTBPr1DQOAiW3mF3NN0n8rRosttFyfHwj2PiF5OecN9frVGGvayuDGNZ7QIZcZmK8OJCeaKrFleqaZ7/Z6o/k14bUen6lrGgUCT1mmw8+UelvB0RCt5mcVTDPTXLRIwoFbXGhWhugrbqxtl1j6ix17jnO5GIp+JP4gldWQ8OSqpQj+MjDYwVi+li/2yy5SAsdAYMzdR67dOX4Zx4p7sXYO2ynkmiXVKHfXE/aVd6nqN8xFpk+HtI=----ATTACHMENT:----MTIxODM1NjM1MDY3NzEzNSA0MDg0MzE3OTczODYzODUyIDQ5NTg1NzIzNzA0NTU2NTQ=