Skip to content

Commit

Permalink
Update composer 1 warning to announce EOL date
Browse files Browse the repository at this point in the history
  • Loading branch information
Seldaek committed Sep 4, 2024
1 parent 7448f9c commit 0ee73b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Package/SymlinkDumper.php
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ public function dump(array $packageIds, bool $force = false, bool $verbose = fal
'api-url' => $this->router->generate('api_security_advisories', [], UrlGeneratorInterface::ABSOLUTE_URL),
];
$this->rootFile['providers-api'] = str_replace('VND/PKG', '%package%', $this->router->generate('view_providers', ['name' => 'VND/PKG', '_format' => 'json'], UrlGeneratorInterface::ABSOLUTE_URL));
$this->rootFile['warning'] = 'Support for Composer 1 is deprecated and some packages will not be available. You should upgrade to Composer 2. See https://blog.packagist.com/deprecating-composer-1-support/';
$this->rootFile['warning'] = 'Support for Composer 1 will be shutdown on August 1st 2025. You should upgrade to Composer 2. See https://blog.packagist.com/shutting-down-packagist-org-support-for-composer-1-x/';
$this->rootFile['warning-versions'] = '<1.99';

if ($verbose) {
Expand Down

0 comments on commit 0ee73b3

Please sign in to comment.