com php-src: Add missing braces in UPGRADING example: UPGRADING
| From: | Nikita Popov | Date: | Mon, 11 Feb 2019 16:10:36 +0000 |
| Subject: | com php-src: Add missing braces in UPGRADING example: UPGRADING | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-104557@lists.php.net to get a copy of this message | ||
Commit: 61ef088f21619a9baf84479086cc37a93e5ca4c8
Author: Nikita Popov <nikita.ppv@gmail.com> Mon, 11 Feb 2019 17:10:36 +0100
Parents: a302d1161036988fe220ecd8ecd73e6af1a116fc
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=61ef088f21619a9baf84479086cc37a93e5ca4c8
Log:
Add missing braces in UPGRADING example
[ci skip]
Changed paths:
M UPGRADING
Diff:
diff --git a/UPGRADING b/UPGRADING
index 32c9f84..e8ce7d8 100644
--- a/UPGRADING
+++ b/UPGRADING
@@ -49,7 +49,7 @@ PHP 8.0 UPGRADE NOTES
// Replace
function my_error_handler($err_no, $err_msg, $filename, $linenum) {
- if (error_reporting() == 0)
+ if (error_reporting() == 0) {
return; // Silenced
}
// ...
@@ -57,7 +57,7 @@ PHP 8.0 UPGRADE NOTES
// With
function my_error_handler($err_no, $err_msg, $filename, $linenum) {
- if (error_reporting() & $err_no)
+ if (error_reporting() & $err_no) {
return; // Silenced
}
// ...