cask 'phpstorm-eap' do version '162.426.10' sha256 '51d3ea269a17e88e585455303cf3bede4f4954bca358204d149185167b188828' url "https://download.jetbrains.com/webide/PhpStorm-EAP-#{version}.dmg" name 'PhpStorm EAP' homepage 'https://confluence.jetbrains.com/display/PhpStorm/PhpStorm+Early+Access+Program' license :commercial app 'PhpStorm 2016.2 EAP.app' uninstall delete: '/usr/local/bin/pstorm' zap delete: [ "~/.PhpStorm#{version.major_minor}", # TODO: expand/glob for '~/Library/Preferences/jetbrains.phpstorm.*.plist', "~/Library/Preferences/PhpStorm#{version.major_minor}", "~/Library/Caches/PhpStorm#{version.major_minor}", "~/Library/Logs/PhpStorm#{version.major_minor}", "~/Library/Application Support/PhpStorm#{version.major_minor}", ] end