PHP 8.5: Fix projects used without a PHID set in unit test master
Summary: `PhabricatorProjectCoreTestCase` creates projects that it doesn't save to the database. As a result, they don't have a PHID. This causes issues because `::getPHID()` will return null instead, which in PHP 8.5 results in deprecation warnings. Closes T16496 Test Plan: Run this unit test on PHP 8.5 and see no 'ERROR 8192' anymore: arc unit src/applications/project/__tests__/PhabricatorProjectCoreTestCase.php Alternatively, for those in the stone age, add a null check to `PhabricatorProjectMembersPolicyRule` for `$object->getPHID()` on lines 34 & 70. (It's me, I'm in the stone age) Reviewers: O1 Blessed Committers, valerio.bozzolan Reviewed By: O1 Blessed Committers, valerio.bozzolan Subscribers: tobiaswiese, valerio.bozzolan, Matthew, Cigaryno Maniphest Tasks: T16496 Differential Revision: https://we.phorge.it/D26751