Browse Source

Lock _readme: remove outdated hashtag link part, closes #7096

Filippo Tessarotto 7 years ago
parent
commit
277f32d388
2 changed files with 2 additions and 2 deletions
  1. 1 1
      src/Composer/Package/Locker.php
  2. 1 1
      tests/Composer/Test/Package/LockerTest.php

+ 1 - 1
src/Composer/Package/Locker.php

@@ -289,7 +289,7 @@ class Locker
     {
         $lock = array(
             '_readme' => array('This file locks the dependencies of your project to a known state',
-                               'Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file',
+                               'Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies',
                                'This file is @gener'.'ated automatically', ),
             'content-hash' => $this->contentHash,
             'packages' => null,

+ 1 - 1
tests/Composer/Test/Package/LockerTest.php

@@ -133,7 +133,7 @@ class LockerTest extends TestCase
             ->method('write')
             ->with(array(
                 '_readme' => array('This file locks the dependencies of your project to a known state',
-                                   'Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file',
+                                   'Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies',
                                    'This file is @gener'.'ated automatically', ),
                 'content-hash' => $contentHash,
                 'packages' => array(