set-version.php - Fix warning on PHP 8.1
authorTim Otten <totten@civicrm.org>
Sat, 11 Mar 2023 00:32:09 +0000 (16:32 -0800)
committerTim Otten <totten@civicrm.org>
Sat, 11 Mar 2023 00:35:10 +0000 (16:35 -0800)
commit35ce6ae539789444350cf308d0ea93c9fd72b553
treee226e3664d43a8718518e2f7be38a80fd0f76ec4
parenta95742b08da4cd2afcbd39d85671c47fe7617c39
set-version.php - Fix warning on PHP 8.1

The `$sqlFile` may or may not be needed, which produces a warning:

```
Deprecated: file_exists(): Passing null to parameter #1 ($filename) of type string is deprecated in
/.../tools/bin/scripts/set-version.php on line 105
```
tools/bin/scripts/set-version.php