I just experienced a machine crash in OSX and after rebooting PhpStorm doesn't open PHP files anymore.
At first I got an error about some corrupted class and the program unable to open zip files, or something like that, unfortunately I don't have a screenshot.
PhpStorm complained it couldn't start and that I had to restart, so I did.
After restarting PhpStorm if I click on a PHP file PhpStorm asks for the file type, and PHP is not on the list.
I tried reinstalling the program but it didn't solve the issue.
I have recreated the file type under Preferences->File types, but it doesn't work very well, now I can open PHP files but the code is not highlighted and the IDE doesn't recognise any keyword.
Is there some file to delete so that I can do a clean installation ? Any file I can restore or something I can do ?