Skip to content

Commit 993b941

Browse files
authored
Remove debugger methods from docs (#8358)
Refs cakephp/cakephp#19722
1 parent 8436696 commit 993b941

2 files changed

Lines changed: 4 additions & 18 deletions

File tree

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,10 @@ Some properties have also been renamed to better reflect their purpose. These ar
120120
`binary` columns to `varbinary`. The `fixed` option is no longer used;
121121
`TableSchemaInterface::TYPE_VARBINARY` is available for the new type.
122122

123+
### Error
124+
125+
- `Debugger::outputMask()`, `setOutputMask()` have been removed.
126+
123127
### Http
124128

125129
- Using `$request->getParam('?')` to get the query params is no longer possible.

‎docs/en/development/debugging.md‎

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,6 @@ The following configuration options can be set in **config/app.php** to change h
6565
`Debugger::addEditor()` during your application bootstrap.
6666
- `Debugger.editorBasePath` The path that replaces `ROOT` when generating
6767
editor links.
68-
- `Debugger.outputMask` A mapping of `key` to `replacement` values that
69-
`Debugger` should replace in dumped data and logs generated by `Debugger`.
7068

7169
::: info Added in version 5.3.0
7270
The `Debugger.editorBasePath` configure option was added.
@@ -105,22 +103,6 @@ object(Car) {
105103
}
106104
```
107105

108-
### Masking Data
109-
110-
When dumping data with `Debugger` or rendering error pages, you may want to
111-
hide sensitive keys like passwords or API keys. In your **config/bootstrap.php**
112-
you can mask specific keys:
113-
114-
```php
115-
Debugger::setOutputMask([
116-
'password' => 'xxxxx',
117-
'awsKey' => 'yyyyy',
118-
]);
119-
```
120-
121-
As of 4.1.0 you can use the `Debugger.outputMask` configuration value to set
122-
output masks.
123-
124106
## Logging With Stack Traces
125107

126108
`static` Cake\\Error\\Debugger::**log**(mixed $var, string|int $level = 'debug', int $maxDepth = 3): void

0 commit comments

Comments
 (0)