{"action":"created","issue":{"url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/issues/1076","labels_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/issues/1076/labels{/name}","comments_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/issues/1076/comments","events_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/issues/1076/events","html_url":"https://github.com/FriendsOfPHP/PHP-CS-Fixer/pull/1076","id":63454098,"number":1076,"title":"Enhancement: Allow to specify cache file","user":{"login":"localheinz","id":605483,"avatar_url":"https://avatars.githubusercontent.com/u/605483?v=3","gravatar_id":"","url":"https://api.github.com/users/localheinz","html_url":"https://github.com/localheinz","followers_url":"https://api.github.com/users/localheinz/followers","following_url":"https://api.github.com/users/localheinz/following{/other_user}","gists_url":"https://api.github.com/users/localheinz/gists{/gist_id}","starred_url":"https://api.github.com/users/localheinz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/localheinz/subscriptions","organizations_url":"https://api.github.com/users/localheinz/orgs","repos_url":"https://api.github.com/users/localheinz/repos","events_url":"https://api.github.com/users/localheinz/events{/privacy}","received_events_url":"https://api.github.com/users/localheinz/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/labels/feature","name":"feature","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/milestones/4","html_url":"https://github.com/FriendsOfPHP/PHP-CS-Fixer/milestones/v2.0","labels_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/milestones/4/labels","id":898970,"number":4,"title":"v2.0","description":"","creator":{"login":"keradus","id":2716794,"avatar_url":"https://avatars.githubusercontent.com/u/2716794?v=3","gravatar_id":"","url":"https://api.github.com/users/keradus","html_url":"https://github.com/keradus","followers_url":"https://api.github.com/users/keradus/followers","following_url":"https://api.github.com/users/keradus/following{/other_user}","gists_url":"https://api.github.com/users/keradus/gists{/gist_id}","starred_url":"https://api.github.com/users/keradus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/keradus/subscriptions","organizations_url":"https://api.github.com/users/keradus/orgs","repos_url":"https://api.github.com/users/keradus/repos","events_url":"https://api.github.com/users/keradus/events{/privacy}","received_events_url":"https://api.github.com/users/keradus/received_events","type":"User","site_admin":false},"open_issues":7,"closed_issues":29,"state":"open","created_at":"2014-12-10T15:24:37Z","updated_at":"2015-03-22T17:03:00Z","due_on":null,"closed_at":null},"comments":6,"created_at":"2015-03-21T20:39:37Z","updated_at":"2015-03-22T18:26:30Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/pulls/1076","html_url":"https://github.com/FriendsOfPHP/PHP-CS-Fixer/pull/1076","diff_url":"https://github.com/FriendsOfPHP/PHP-CS-Fixer/pull/1076.diff","patch_url":"https://github.com/FriendsOfPHP/PHP-CS-Fixer/pull/1076.patch"},"body":"This PR\r\n\r\n* [x] adds a mutator and accessor for the cache file to `Config`\r\n* [x] requires said mutators and accessors to be implemented when implementing `ConfigInterface`\r\n* [x] injects `cacheFile` into `FileCacheManager` and adjust it to work with it\r\n* [x] adds a `cache-file` option to the `FixCommand` to allow to specify it from the console\r\n* [x] resolve the value for `cacheFile`, whether specified by config or option\r\n\r\n:bulb: This can be quite useful if you want to speed up the runs on Travis and cache `php_cs.cache` between runs.\r\n\r\nFollows https://github.com/FriendsOfPHP/PHP-CS-Fixer/pull/1074#issuecomment-84415033."},"comment":{"url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/issues/comments/84670408","html_url":"https://github.com/FriendsOfPHP/PHP-CS-Fixer/pull/1076#issuecomment-84670408","issue_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/issues/1076","id":84670408,"user":{"login":"localheinz","id":605483,"avatar_url":"https://avatars.githubusercontent.com/u/605483?v=3","gravatar_id":"","url":"https://api.github.com/users/localheinz","html_url":"https://github.com/localheinz","followers_url":"https://api.github.com/users/localheinz/followers","following_url":"https://api.github.com/users/localheinz/following{/other_user}","gists_url":"https://api.github.com/users/localheinz/gists{/gist_id}","starred_url":"https://api.github.com/users/localheinz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/localheinz/subscriptions","organizations_url":"https://api.github.com/users/localheinz/orgs","repos_url":"https://api.github.com/users/localheinz/repos","events_url":"https://api.github.com/users/localheinz/events{/privacy}","received_events_url":"https://api.github.com/users/localheinz/received_events","type":"User","site_admin":false},"created_at":"2015-03-22T18:26:30Z","updated_at":"2015-03-22T18:26:30Z","body":"@keradus @GrahamCampbell @gharlan \r\n\r\nCleaned this up a bit, thank you for reviewing this so far!"}}