.idea is phpstorm and friends. but indeed that should go into the users local config. the same holds for .dia. this is about tools an editor is using that pollute folders with their metadata - the project should not need to know about it.

lets remove both lines.