com web/php: Use strict comparison: bin/bumpRelease

From: Date: Tue, 09 Jul 2019 13:34:45 +0000
Subject: com web/php: Use strict comparison: bin/bumpRelease
Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-28214@lists.php.net to get a copy of this message
Commit: 563ed6e547db6b76768e6eb6abcad6c7cec69670 Author: Sara Golemon <pollita@php.net> Tue, 9 Jul 2019 09:34:45 -0400 Parents: 39200fe1322f92fc5cb6beb73f164d0418a5b1e2 Branches: master Link: http://git.php.net/?p=web/php.git;a=commitdiff;h=563ed6e547db6b76768e6eb6abcad6c7cec69670 Log: Use strict comparison Changed paths: M bin/bumpRelease Diff: diff --git a/bin/bumpRelease b/bin/bumpRelease index 92aa583..f5b1bbb 100755 --- a/bin/bumpRelease +++ b/bin/bumpRelease @@ -1,6 +1,6 @@ #!/usr/local/bin/php <?php -PHP_SAPI == 'cli' or die("Please run this script using the cli sapi"); +(PHP_SAPI === 'cli') or die("Please run this script using the cli sapi"); require __DIR__ . "/../include/version.inc"; require __DIR__ .. "/../include/releases.inc";

« previous php.webmaster (#28214) next »