Details of issue here https://youtrack.jetbrains.com/issue/TBX-2540
When Jetbrains Toolbox auto updates PHPStorm, it creates a new app in a new location rather than overwriting the same location. This means file associations are lost everytime you update. This script aims to re add your file extensions everytime Toolbox updates PHPStrom.
brew install duti