Skip to content

Commit 39516d5

Browse files
committed
readme: fix [Closes #386]
1 parent b48dc68 commit 39516d5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

readme.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,8 @@ Errors like a typo in a variable name or an attempt to open a nonexistent file g
117117
Or they may be displayed like errors:
118118

119119
```php
120-
Debugger::$strictMode = true;
120+
Debugger::$strictMode = true; // display all errors
121+
Debugger::$strictMode = E_ALL & ~E_DEPRECATED & ~E_USER_DEPRECATED; // all errors except deprecated notices
121122
```
122123

123124
[![Notice rendered by Tracy](https://nette.github.io/tracy/images/tracy-notice.png)](https://nette.github.io/tracy/tracy-notice.html)

0 commit comments

Comments
 (0)