Skip to content

Commit 4213436

Browse files
mathieutujdreesen
andauthored
Apply wording suggestions
Co-Authored-By: Jacob Dreesen <jacob@hdreesen.de>
1 parent bf414e2 commit 4213436

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -276,9 +276,9 @@ $this->assertMatchesSnapshot($something->toYaml(), new MyYamlDriver());
276276

277277
### Usage in CI
278278

279-
When running your tests in Continuous Integration you would possibility want to disable the snapshots' creation.
279+
When running your tests in Continuous Integration you would possibly want to disable the creation of snapshots.
280280

281-
By using the `--no-create-snapshots` parameter, Phpunit will fail if the snapshots don't exist.
281+
By using the `--no-create-snapshots` parameter, PHPUnit will fail if the snapshots don't exist.
282282

283283
```bash
284284
> ./vendor/bin/phpunit -d --no-create-snapshots

src/MatchesSnapshots.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ protected function shouldUpdateSnapshots(): bool
156156
* Determines whether or not the snapshot should be created instead of
157157
* matched.
158158
*
159-
* Override this method it you want to use a different flag or mechanism
159+
* Override this method if you want to use a different flag or mechanism
160160
* than `-d --no-create-snapshots`.
161161
*/
162162
protected function shouldCreateSnapshots(): bool

0 commit comments

Comments
 (0)