{"action":"created","issue":{"url":"https://api.github.com/repos/netresearch/composer-patches-plugin/issues/22","repository_url":"https://api.github.com/repos/netresearch/composer-patches-plugin","labels_url":"https://api.github.com/repos/netresearch/composer-patches-plugin/issues/22/labels{/name}","comments_url":"https://api.github.com/repos/netresearch/composer-patches-plugin/issues/22/comments","events_url":"https://api.github.com/repos/netresearch/composer-patches-plugin/issues/22/events","html_url":"https://github.com/netresearch/composer-patches-plugin/issues/22","id":135288049,"number":22,"title":"Patch gets applied everytime composer install is run","user":{"login":"davidbarratt","id":868364,"avatar_url":"https://avatars.githubusercontent.com/u/868364?v=3","gravatar_id":"","url":"https://api.github.com/users/davidbarratt","html_url":"https://github.com/davidbarratt","followers_url":"https://api.github.com/users/davidbarratt/followers","following_url":"https://api.github.com/users/davidbarratt/following{/other_user}","gists_url":"https://api.github.com/users/davidbarratt/gists{/gist_id}","starred_url":"https://api.github.com/users/davidbarratt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidbarratt/subscriptions","organizations_url":"https://api.github.com/users/davidbarratt/orgs","repos_url":"https://api.github.com/users/davidbarratt/repos","events_url":"https://api.github.com/users/davidbarratt/events{/privacy}","received_events_url":"https://api.github.com/users/davidbarratt/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-02-22T01:28:00Z","updated_at":"2016-02-22T01:37:56Z","closed_at":null,"body":"I've never seen this problem before, but for some reason, this patch:\r\nhttps://www.drupal.org/files/issues/contact_storage-default_redirect-2629630-2.patch\r\ngets applied everytime `composer install` is run, even if's already been applied.\r\n\r\nHere's my composer.json file:\r\nhttps://github.com/phototech/sailvenice/blob/develop/composer.json\r\n\r\nIf you run `composer install` the first time, it applies the patch like it's supposed to, if you run `composer install` again, it will again apply the patch (which causes a PHP syntax error). :(\r\n\r\nI'm not sure what's cuasing the problem with this patch specifically, but the only work around I've found is to delete the `web/modules/contrib/contact_storage` completely and then run `composer install` again. :("},"comment":{"url":"https://api.github.com/repos/netresearch/composer-patches-plugin/issues/comments/186964663","html_url":"https://github.com/netresearch/composer-patches-plugin/issues/22#issuecomment-186964663","issue_url":"https://api.github.com/repos/netresearch/composer-patches-plugin/issues/22","id":186964663,"user":{"login":"davidbarratt","id":868364,"avatar_url":"https://avatars.githubusercontent.com/u/868364?v=3","gravatar_id":"","url":"https://api.github.com/users/davidbarratt","html_url":"https://github.com/davidbarratt","followers_url":"https://api.github.com/users/davidbarratt/followers","following_url":"https://api.github.com/users/davidbarratt/following{/other_user}","gists_url":"https://api.github.com/users/davidbarratt/gists{/gist_id}","starred_url":"https://api.github.com/users/davidbarratt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidbarratt/subscriptions","organizations_url":"https://api.github.com/users/davidbarratt/orgs","repos_url":"https://api.github.com/users/davidbarratt/repos","events_url":"https://api.github.com/users/davidbarratt/events{/privacy}","received_events_url":"https://api.github.com/users/davidbarratt/received_events","type":"User","site_admin":false},"created_at":"2016-02-22T01:37:56Z","updated_at":"2016-02-22T01:37:56Z","body":"You can see here where it's applying it even though there's nothing to install or update:\r\nhttps://travis-ci.org/phototech/sailvenice/builds/110859483#L636"}}