From 6cfbffd56862308ee00691a06621f1e118021733 Mon Sep 17 00:00:00 2001 From: Pete McFarlane Date: Thu, 8 Aug 2019 09:15:57 +0100 Subject: [PATCH 1/2] Fix underscores to namespaces in README --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index f2d2d5f18..ddac51628 100644 --- a/README.md +++ b/README.md @@ -49,7 +49,7 @@ Usage Hamcrest matchers are easy to use as: ```php -Hamcrest_MatcherAssert::assertThat('a', Hamcrest_Matchers::equalToIgnoringCase('A')); +Hamcrest\MatcherAssert::assertThat('a', Hamcrest\Matchers::equalToIgnoringCase('A')); ``` Alternatively, you can use the global proxy-functions: From 2c0c1b6d11038e02a279ce76d0f24951ecc2b622 Mon Sep 17 00:00:00 2001 From: Alex Date: Fri, 27 Jun 2025 09:42:05 +0300 Subject: [PATCH 2/2] Added leading "\" to a namespace --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index ddac51628..ab876ff0f 100644 --- a/README.md +++ b/README.md @@ -49,7 +49,7 @@ Usage Hamcrest matchers are easy to use as: ```php -Hamcrest\MatcherAssert::assertThat('a', Hamcrest\Matchers::equalToIgnoringCase('A')); +\Hamcrest\MatcherAssert::assertThat('a', \Hamcrest\Matchers::equalToIgnoringCase('A')); ``` Alternatively, you can use the global proxy-functions: