Closed (fixed)
Project:
Security Review
Version:
3.0.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
31 May 2024 at 13:15 UTC
Updated:
12 Jul 2024 at 16:14 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #3
mahmoudsayed96Comment #4
smustgrave commentedShould probably figure out why it's return null before updating.
Comment #5
c-logemann@smustgrave The null comes from a cli check with empty return on setServerData().
As pointed out on duplicate issue I suggest to return a posix compatible "-1" so we don't need to extend the type. See MR on #3454915: [error] TypeError: Drupal\security_review\SecurityReview::getServerUid(): Return value must be of type int, null returned.
Comment #7
smustgrave commentedTook the solution from the dup and went with that. Will include with next release shortly.