cask 'phpstorm9' do version '9.0.2' sha256 '7995e951d442cb9203ed1e8ae491407a1b514828cef10bb9c7840880cbfacec2' url "https://download.jetbrains.com/webide/PhpStorm-#{version}.dmg" homepage 'https://www.jetbrains.com/phpstorm/' license :commercial app 'PhpStorm.app' zap :delete => [ '~/Library/Application Support/WebIde90', '~/Library/Caches/WebIde90', '~/Library/Logs/WebIde90', '~/Library/Preferences/WebIde90', '~/Library/Preferences/com.jetbrains.PhpStorm.plist', '~/.WebIde90', ] caveats <<-EOS.undent #{token} requires Java 6 like any other IntelliJ-based IDE. You can install it with brew cask install caskroom/homebrew-versions/java6 The vendor (JetBrains) doesn't support newer versions of Java (yet) due to several critical issues, see details at https://intellij-support.jetbrains.com/entries/27854363 EOS end