build: avoid weak comparison

This commit is contained in:
Dylan K. Taylor 2025-01-07 22:23:16 +00:00
parent 47cb04f6a6
commit 38441a6ba3
No known key found for this signature in database
GPG Key ID: 8927471A91CAFD3D

View File

@ -129,7 +129,7 @@ function buildPhar(string $pharPath, string $basePath, array $includedPaths, arr
}
function main() : void{
if(ini_get("phar.readonly") == 1){
if(ini_get("phar.readonly") === "1"){
echo "Set phar.readonly to 0 with -dphar.readonly=0" . PHP_EOL;
exit(1);
}