{"action":"created","issue":{"url":"https://api.github.com/repos/cakephp/cakephp/issues/11760","repository_url":"https://api.github.com/repos/cakephp/cakephp","labels_url":"https://api.github.com/repos/cakephp/cakephp/issues/11760/labels{/name}","comments_url":"https://api.github.com/repos/cakephp/cakephp/issues/11760/comments","events_url":"https://api.github.com/repos/cakephp/cakephp/issues/11760/events","html_url":"https://github.com/cakephp/cakephp/issues/11760","id":300146478,"number":11760,"title":"RFC: Use .php extension by default for templates.","user":{"login":"ADmad","id":142658,"avatar_url":"https://avatars0.githubusercontent.com/u/142658?v=4","gravatar_id":"","url":"https://api.github.com/users/ADmad","html_url":"https://github.com/ADmad","followers_url":"https://api.github.com/users/ADmad/followers","following_url":"https://api.github.com/users/ADmad/following{/other_user}","gists_url":"https://api.github.com/users/ADmad/gists{/gist_id}","starred_url":"https://api.github.com/users/ADmad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ADmad/subscriptions","organizations_url":"https://api.github.com/users/ADmad/orgs","repos_url":"https://api.github.com/users/ADmad/repos","events_url":"https://api.github.com/users/ADmad/events{/privacy}","received_events_url":"https://api.github.com/users/ADmad/received_events","type":"User","site_admin":false},"labels":[{"id":60504137,"url":"https://api.github.com/repos/cakephp/cakephp/labels/RFC","name":"RFC","color":"c7def8","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/cakephp/cakephp/milestones/105","html_url":"https://github.com/cakephp/cakephp/milestone/105","labels_url":"https://api.github.com/repos/cakephp/cakephp/milestones/105/labels","id":2023366,"number":105,"title":"4.0.0","description":"4.0.0 is an *API breaking* release. It will:\r\n\r\n* Remove the features deprecated in 3.x.\r\n\r\nCode that works in the latest 3.x with no deprecation warnings should work in 4.0.0 as well.\r\n\r\nSee the roadmap for more information https://github.com/cakephp/cakephp/wiki/4.0-Roadmap","creator":{"login":"markstory","id":24086,"avatar_url":"https://avatars3.githubusercontent.com/u/24086?v=4","gravatar_id":"","url":"https://api.github.com/users/markstory","html_url":"https://github.com/markstory","followers_url":"https://api.github.com/users/markstory/followers","following_url":"https://api.github.com/users/markstory/following{/other_user}","gists_url":"https://api.github.com/users/markstory/gists{/gist_id}","starred_url":"https://api.github.com/users/markstory/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markstory/subscriptions","organizations_url":"https://api.github.com/users/markstory/orgs","repos_url":"https://api.github.com/users/markstory/repos","events_url":"https://api.github.com/users/markstory/events{/privacy}","received_events_url":"https://api.github.com/users/markstory/received_events","type":"User","site_admin":false},"open_issues":24,"closed_issues":9,"state":"open","created_at":"2016-09-23T01:51:53Z","updated_at":"2018-02-28T09:15:46Z","due_on":null,"closed_at":null},"comments":21,"created_at":"2018-02-26T08:27:54Z","updated_at":"2018-03-01T00:22:58Z","closed_at":null,"author_association":"MEMBER","body":"Using `.ctp` extension for templates doesn't provide much value, just extra hassle to configure editors to recognize them as PHP files. Since all templates are nested under `Template` folder (and generally use underscored file names) they are easily recognizable as templates and don't need a special extension for distinguishing them from class files.\r\n\r\nSo I propose switching to `.php` extension for templates in 4.0."},"comment":{"url":"https://api.github.com/repos/cakephp/cakephp/issues/comments/369430991","html_url":"https://github.com/cakephp/cakephp/issues/11760#issuecomment-369430991","issue_url":"https://api.github.com/repos/cakephp/cakephp/issues/11760","id":369430991,"user":{"login":"markstory","id":24086,"avatar_url":"https://avatars3.githubusercontent.com/u/24086?v=4","gravatar_id":"","url":"https://api.github.com/users/markstory","html_url":"https://github.com/markstory","followers_url":"https://api.github.com/users/markstory/followers","following_url":"https://api.github.com/users/markstory/following{/other_user}","gists_url":"https://api.github.com/users/markstory/gists{/gist_id}","starred_url":"https://api.github.com/users/markstory/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markstory/subscriptions","organizations_url":"https://api.github.com/users/markstory/orgs","repos_url":"https://api.github.com/users/markstory/repos","events_url":"https://api.github.com/users/markstory/events{/privacy}","received_events_url":"https://api.github.com/users/markstory/received_events","type":"User","site_admin":false},"created_at":"2018-03-01T00:22:58Z","updated_at":"2018-03-01T00:22:58Z","author_association":"OWNER","body":"Extension rename could be backwards compatible if we had an opt-in way to switch the extension used and make that the default for new apps. I think only supporting .php is something we could do in 4.0.0 though. I think renaming files is a simple enough operation for folks to do as they upgrade."}}
{"actor":{"display_login":"markstory"}}