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");
 }
 

-- 
PHP Webmaster List Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to