My theme options page needs to write to the style.css file in order to store updated theme settings. To do that, I’m using file_get_contents() and file_put_contents()
However, theme-check plugin complains about it. What is an acceptable alternative for writing to local files?
Short answer, but adequate I think.
While I have not tested this, I doubt that there would be a problem if you used the Filesystem API provided by the Core.