cask 'phpstorm-eap' do version '2016.3,163.7743.39' sha256 '8e0204dd0b6dc39bd6ccd1fd7c80389463b284db8462f2a772f58b02ccb41280' 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.major_minor} EAP.app" uninstall delete: '/usr/local/bin/pstorm' zap delete: [ "~/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