File tree 2 files changed +7
-7
lines changed
2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -361,11 +361,11 @@ _**Console Access**_
361
361
> composer require laminas/laminas-mvc-console --sort-packages
362
362
> ` ` `
363
363
364
- | Command | Preview For |
365
- | -------------------------------------------| --------------|
366
- | php public/index.php error-preview | Exception |
367
- | php public/index.php error-preview error | Error |
368
- | php public/index.php error-preview notice | PHP E_NOTICE |
364
+ | Command | Preview For |
365
+ | -------------------------------------------- | - --------------|
366
+ | php public/index.php error-preview | Exception |
367
+ | php public/index.php error-preview error | Error |
368
+ | php public/index.php error-preview warning | PHP E_WARNING |
369
369
370
370
You will get the following page if display_errors config is 0:
371
371
Original file line number Diff line number Diff line change @@ -20,9 +20,9 @@ public function errorAction()
20
20
throw new Error ('a sample error preview ' );
21
21
}
22
22
23
- public function noticeAction ()
23
+ public function warningAction ()
24
24
{
25
25
$ array = [];
26
- $ array [1 ]; // E_NOTICE
26
+ $ array [1 ]; // E_WARNING
27
27
}
28
28
}
You can’t perform that action at this time.
0 commit comments