As a side note, my IDE complained about two things while committing.
In src/Issue/IssueField.php
Error:(5, 5) 'AllowDynamicProperties' is available starting with 8.2 PHP version.
The project lists 8.0 as the minimum PHP version
and
Warning:(125, 13) Statement has empty body
I wasn't entirely clear on what should be happening, but inverting the logic of the first if expression and anding the second expression should result in the same thing?
if ($this->assignee->isWantUnassigned() !== true && $this->assignee->isEmpty()) {
unset($vars['assignee']);
}
But that goes against what the comment says "do nothing" so I'm not sure what the intent is here.
If you want, I can open new issues for these two items.
Fixes issue #506.
As a side note, my IDE complained about two things while committing.
In src/Issue/IssueField.php
Error:(5, 5) 'AllowDynamicProperties' is available starting with 8.2 PHP version.
The project lists 8.0 as the minimum PHP versionand
Warning:(125, 13) Statement has empty body
I wasn't entirely clear on what should be happening, but inverting the logic of the first if expression and anding the second expression should result in the same thing?But that goes against what the comment says "do nothing" so I'm not sure what the intent is here.
If you want, I can open new issues for these two items.