File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed
Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -361,11 +361,11 @@ _**Console Access**_
361361> composer require laminas/laminas-mvc-console --sort-packages
362362> ` ` `
363363
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 |
369369
370370You will get the following page if display_errors config is 0:
371371
Original file line number Diff line number Diff line change @@ -20,9 +20,9 @@ public function errorAction()
2020 throw new Error ('a sample error preview ' );
2121 }
2222
23- public function noticeAction ()
23+ public function warningAction ()
2424 {
2525 $ array = [];
26- $ array [1 ]; // E_NOTICE
26+ $ array [1 ]; // E_WARNING
2727 }
2828}
You can’t perform that action at this time.
0 commit comments