Skip to content

Commit 211155a

Browse files
authored
Fix typos, grammar errors, and broken link across docs. (#8204)
1 parent fb4bdec commit 211155a

17 files changed

Lines changed: 20 additions & 20 deletions

File tree

docs/en/appendices/5-1-migration-guide.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# 5.1 Migration Guide
22

3-
The 5.1.0 release is a backwards compatible with 5.0. It adds new functionality
3+
The 5.1.0 release is backwards compatible with 5.0. It adds new functionality
44
and introduces new deprecations. Any functionality deprecated in 5.x will be
55
removed in 6.0.0.
66

docs/en/appendices/5-2-migration-guide.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# 5.2 Migration Guide
22

3-
The 5.2.0 release is a backwards compatible with 5.0. It adds new functionality
3+
The 5.2.0 release is backwards compatible with 5.0. It adds new functionality
44
and introduces new deprecations. Any functionality deprecated in 5.x will be
55
removed in 6.0.0.
66

docs/en/appendices/5-3-migration-guide.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# 5.3 Migration Guide
22

3-
The 5.3.0 release is a backwards compatible with 5.0. It adds new functionality
3+
The 5.3.0 release is backwards compatible with 5.0. It adds new functionality
44
and introduces new deprecations. Any functionality deprecated in 5.x will be
55
removed in 6.0.0.
66

@@ -224,7 +224,7 @@ If you are not running on **PHP 8.2 or higher**, you will need to upgrade PHP be
224224

225225
### Validation
226226

227-
- `ipOrRange()` validation has has been added to check for an IP or a range (subnet).
227+
- `ipOrRange()` validation has been added to check for an IP or a range (subnet).
228228
- When validating within CakePHP marshalling context, the entity will be passed
229229
into the `context` argument for use inside custom validation rules. This can
230230
be useful when patching partially and then needing to get that data from the

docs/en/console-commands.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ bin/cake migrations -h
4040
bin/cake bake.bake -h
4141
```
4242

43-
Plugin commands can be invoked without a plugin prefix if the commands's name
43+
Plugin commands can be invoked without a plugin prefix if the command's name
4444
does not overlap with an application or framework command. In the case that two
4545
plugins provide a command with the same name, the first loaded plugin will get
4646
the short alias. You can always use the `plugin.command` format to

docs/en/console-commands/input-output.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@ $io->verbose('Verbose output');
325325

326326
You can control the output level of commands, by using the `--quiet` and
327327
`--verbose` options. These options are added by default, and allow you to
328-
consistently control output levels inside your CakePHP comands.
328+
consistently control output levels inside your CakePHP commands.
329329

330330
The `--quiet` and `--verbose` options also control how logging data is
331331
output to stdout/stderr. Normally info and higher log messages are output to

docs/en/controllers.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -509,7 +509,7 @@ The `fetchModel()` method is useful to load non ORM models or ORM tables that
509509
are not the controller's default:
510510

511511
``` php
512-
// ModelAwareTrait need to be explicity added to your controler first for fetchModel() to work.
512+
// ModelAwareTrait need to be explicitly added to your controller first for fetchModel() to work.
513513
use ModelAwareTrait;
514514

515515
// Get an ElasticSearch model

docs/en/controllers/request-response.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1443,7 +1443,7 @@ $cookie = $cookies->remember_me;
14431443
$exists = isset($cookies->remember_me)
14441444
```
14451445

1446-
Once you have a `Cookie` object you can interact with it's state and modify
1446+
Once you have a `Cookie` object you can interact with its state and modify
14471447
it. Keep in mind that cookies are immutable, so you'll need to update the
14481448
collection if you modify a cookie:
14491449

docs/en/core-libraries/email.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@ A valid message id can help to prevent emails ending up in spam folders.
340340

341341
## Creating Reusable Emails
342342

343-
Until now we have seen how to directly use the the `Mailer` class to create and
343+
Until now we have seen how to directly use the `Mailer` class to create and
344344
send one emails. But main feature of mailer is to allow creating reusable emails
345345
throughout your application. They can also be used to contain multiple email
346346
configurations in one location. This helps keep your code DRYer and keeps email

docs/en/core-libraries/time.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -492,7 +492,7 @@ time and timezones. The `Date` class wraps the `Cake\Chronos\ChronosDate` class.
492492

493493
> [!NOTE]
494494
> Unlike the `DateTime` class, `Date` does not extends the `DateTimeInterface`.
495-
> So you cannot cannot directly compare a `Date` instance with a `DateTime` instance.
495+
> So you cannot directly compare a `Date` instance with a `DateTime` instance.
496496
> But you can do comparisons like `$dateTime->toNative() > $date->toNative()`.
497497
498498
### Date::getTimestamp()

docs/en/development/errors.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,7 @@ error code used as an HTTP status code if the error code is between `400` and
352352
`506`.
353353

354354
The constructor for `Cake\Core\Exception\CakeException` allows you to
355-
pass in additional data. This additional data is interpolated into the the
355+
pass in additional data. This additional data is interpolated into the
356356
`_messageTemplate`. This allows you to create data rich exceptions, that
357357
provide more context around your errors:
358358

@@ -466,7 +466,7 @@ You can throw any of the HTTP related exceptions from your controller actions
466466
to indicate failure states. For example:
467467

468468
``` php
469-
use Cake\Network\Exception\NotFoundException;
469+
use Cake\Http\Exception\NotFoundException;
470470

471471
public function view($id = null)
472472
{

0 commit comments

Comments
 (0)