This is a fix for PHP 8.1 deprecation of strlen(NULL), from these Phorge components:
- scripts
- aphront
- project
The strlen() was used in Phabricator to check if a generic value was a string and not empty.
For this reason, we adopt phutil_nonempty_string() that does exactly that.
Note: this may highlight other absurd input values that might be worth correcting in the
instead of just ignoring. If your phutil_nonempty_string() throws an exception, just report
it to Phorge to fix together that specific corner case. Thank you.
Closes T15223
Ref T15190
Ref T15064