Open ging-dev opened 1 month ago
This is a problem in the header parser (castxml). That is, the error is related to some specific version of CastXML, it seems...
I guess this validation rules are a little outdated. :)
Try changing these lines: 1) https://github.com/php-ffi/ide-helper-generator/blob/master/src/Metadata/CastXMLParser.php#L61 2) https://github.com/php-ffi/ide-helper-generator/blob/master/src/Metadata/CastXMLParser.php#L32
If disabling or changing validation rules resolves the issue, it may be worth removing this validation... and hope for a miracle that the generated XML is compatible for reading and constructing AST)))
Try changing these lines:
I mean is that it's worth trying to fix this in ur vendor files and reporting it in this issue if any of this helped. I'll fix it in next patch release (if it helps).
My header: