Skip to content

Commit ff76969

Browse files
committed
fix markdown linting
1 parent 3d03290 commit ff76969

3 files changed

Lines changed: 10 additions & 11 deletions

File tree

docs/en/appendices/6-0-migration-guide.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ Some methods have also been renamed to better reflect their purpose. These are:
4646
| `Cake\View\View` | `_render()` | `renderFile()` |
4747
| `Cake\View\Helper\PaginatorHelper` | `_numbers()` | `buildNumbers()` |
4848

49-
5049
### Renamed Properties
5150

5251
Properties starting with a `_` have been renamed to **remove the leading underscore**.

docs/en/appendices/6-0-upgrade-guide.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ First, check that your application is running on latest CakePHP 5.x version.
66

77
Once your application is running on latest CakePHP 5.x, enable deprecation warnings in **config/app.php**:
88

9-
``` text
9+
```text
1010
'Error' => [
1111
'errorLevel' => E_ALL,
1212
]
@@ -35,7 +35,7 @@ If you are not running on **PHP 8.4 or higher**, you will need to upgrade PHP be
3535
3636
To help expedite fixing tedious changes there is an upgrade CLI tool:
3737

38-
``` bash
38+
```bash
3939
# Install the upgrade tool
4040
git clone https://github.com/cakephp/upgrade
4141
cd upgrade
@@ -46,7 +46,7 @@ composer install --no-dev
4646
With the upgrade tool installed you can now run it on your application or
4747
plugin:
4848

49-
``` text
49+
```bash
5050
bin/cake upgrade rector --rules cakephp60 <path/to/app/src>
5151
```
5252

docs/en/development/routing.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -151,9 +151,9 @@ $routes->connect(
151151

152152
The first parameter is used to tell the router what sort of URL you're trying to
153153
control. The URL is a normal slash delimited string, but can also contain
154-
a wildcard (*) or [Route Elements](#route-elements). Using a wildcard tells the router
154+
a wildcard `*` or [Route Elements](#route-elements). Using a wildcard tells the router
155155
that you are willing to accept any additional arguments supplied. Routes without
156-
a * only match the exact template pattern supplied.
156+
a `*` only match the exact template pattern supplied.
157157

158158
Once you've specified a URL, you use the last two parameters of `connect()` to
159159
tell CakePHP what to do with a request once it has been matched. The second
@@ -185,13 +185,13 @@ The above example also illustrates string targets. String targets provide
185185
a compact way to define a route's destination. String targets have the following
186186
syntax:
187187

188-
``` text
188+
```text
189189
[Plugin].[Prefix]/[Controller]::[action]
190190
```
191191

192192
Some example string targets are:
193193

194-
``` text
194+
```text
195195
// Application controller
196196
'Articles::view'
197197
@@ -1184,7 +1184,7 @@ $routes->scope(path: '/api', callback: function (RouteBuilder $routes) {
11841184
Will generate resource routes for both `articles` and `comments`. The
11851185
comments routes will look like:
11861186

1187-
``` text
1187+
```text
11881188
/api/articles/{article_id}/comments
11891189
/api/articles/{article_id}/comments/{id}
11901190
```
@@ -1379,7 +1379,7 @@ class CalendarsController extends AppController
13791379

13801380
You would get the following output:
13811381

1382-
``` text
1382+
```text
13831383
Array
13841384
(
13851385
[0] => recent
@@ -1397,7 +1397,7 @@ debug($this->request->getParam('pass'));
13971397

13981398
Either of the above would output:
13991399

1400-
``` text
1400+
```text
14011401
Array
14021402
(
14031403
[0] => recent

0 commit comments

Comments
 (0)