cask 'phpstorm-eap' do version '2017.1,171.2822.14' sha256 'f73b196eff9ac4fcd596e4d9161b651fb66c7c9982eb7dd2f7ca4f53e4ba8fb7' 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' conflicts_with cask: 'phpstorm' app "PhpStorm #{version.before_comma} EAP.app" uninstall delete: '/usr/local/bin/pstorm' zap delete: [ "~/Library/Application Support/PhpStorm#{version.major_minor}", "~/Library/Caches/PhpStorm#{version.major_minor}", "~/Library/Logs/PhpStorm#{version.major_minor}", "~/Library/Preferences/PhpStorm#{version.major_minor}", ] end