[web-php] master: Use simpler === for value check

From: Date: Mon, 05 Jul 2021 14:00:34 +0000
Subject: [web-php] master: Use simpler === for value check
Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-29401@lists.php.net to get a copy of this message
Author: Sara Golemon (sgolemon) Date: 2021-07-05T14:00:30Z Commit: https://github.com/php/web-php/commit/22f0d88721ee8609bedf20627ebefe99c66101dd Raw diff: https://github.com/php/web-php/commit/22f0d88721ee8609bedf20627ebefe99c66101dd.diff Use simpler === for value check Changed paths: M bin/bumpRelease Diff: diff --git a/bin/bumpRelease b/bin/bumpRelease index 2c0009a52..f8fca16aa 100755 --- a/bin/bumpRelease +++ b/bin/bumpRelease @@ -24,7 +24,7 @@ if ($info === null) { } $info["museum"] = false; -if (is_bool($info["announcement"]) && $info["announcement"]) { +if ($info["announcement"] === true) { $info["announcement"] = array("English" => "/releases/" . str_replace(".", "_", $version) . ".php"); }

« previous php.webmaster (#29401) next »