@@ -298,15 +298,7 @@ public function update(Event $event, $operations = [])
298
298
copy (getcwd ().'/.env.dist ' , getcwd ().'/.env ' );
299
299
}
300
300
301
- list ($ recipes , $ vulnerabilities ) = $ this ->fetchRecipes ();
302
- if ($ vulnerabilities ) {
303
- $ this ->io ->writeError (sprintf ('<info>Vulnerabilities: %d package%s</> ' , \count ($ vulnerabilities ), \count ($ recipes ) > 1 ? 's ' : '' ));
304
- }
305
- foreach ($ vulnerabilities as $ name => $ vulns ) {
306
- foreach ($ vulns as $ v ) {
307
- $ this ->io ->writeError (sprintf (' - <error>Vulnerability on %s</>: %s ' , $ name , $ v ));
308
- }
309
- }
301
+ $ recipes = $ this ->fetchRecipes ();
310
302
311
303
if (2 === $ this ->displayThanksReminder ) {
312
304
$ love = '\\' === \DIRECTORY_SEPARATOR ? 'love ' : '💖 ' ;
@@ -573,7 +565,7 @@ private function fetchRecipes(): array
573
565
if (null === $ this ->downloader ->getEndpoint ()) {
574
566
$ this ->io ->writeError ('<warning>Symfony recipes are disabled: "symfony/flex" not found in the root composer.json</warning> ' );
575
567
576
- return [[], [] ];
568
+ return [];
577
569
}
578
570
$ devPackages = null ;
579
571
$ data = $ this ->downloader ->getRecipes ($ this ->operations );
@@ -624,7 +616,7 @@ private function fetchRecipes(): array
624
616
}
625
617
$ this ->operations = [];
626
618
627
- return [ array_filter ($ recipes ), $ data [ ' vulnerabilities ' ] ?? []] ;
619
+ return array_filter ($ recipes );
628
620
}
629
621
630
622
private function initOptions (): Options
0 commit comments