cask 'phpstorm-eap' do version '2016.1.1,145.844.5' sha256 'e339ff19d9458262c80386b0bbf74004887e286d4c6149df83332c29e9f8a29c' url "https://download.jetbrains.com/webide/PhpStorm-EAP-#{version.after_comma}.dmg" name 'PhpStorm EAP' homepage 'https://confluence.jetbrains.com/display/PhpStorm/PhpStorm+Early+Access+Program' license :commercial app "PhpStorm #{version.before_comma} 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