There are duplicate enum values for WindowsMalwareCategory:
remote_Control_Software
remoteControlSoftware
The PHP Enum template changes both values to:
REMOTE_CONTROL_SOFTWARE
It is also removing the underscore from the member name so it won't be serialized correctly for the second case.
Need a fix to https://github.com/microsoftgraph/MSGraph-SDK-Code-Generator/blob/dev/Templates/PHP/Model/EnumType.php.tt#L36
https://raw.githubusercontent.com/microsoftgraph/msgraph-metadata/master/beta_metadata.xml