From 277f32d388b4a2d26aed199d04dff937cfb5de8c Mon Sep 17 00:00:00 2001 From: Filippo Tessarotto Date: Fri, 9 Feb 2018 09:03:28 +0100 Subject: [PATCH] Lock _readme: remove outdated hashtag link part, closes #7096 --- src/Composer/Package/Locker.php | 2 +- tests/Composer/Test/Package/LockerTest.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Composer/Package/Locker.php b/src/Composer/Package/Locker.php index fe2616cb4..7fbe536f2 100644 --- a/src/Composer/Package/Locker.php +++ b/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, diff --git a/tests/Composer/Test/Package/LockerTest.php b/tests/Composer/Test/Package/LockerTest.php index a37e09907..b5692b009 100644 --- a/tests/Composer/Test/Package/LockerTest.php +++ b/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(