{"action":"created","issue":{"url":"https://api.github.com/repos/cakephp/cakephp/issues/6861","labels_url":"https://api.github.com/repos/cakephp/cakephp/issues/6861/labels{/name}","comments_url":"https://api.github.com/repos/cakephp/cakephp/issues/6861/comments","events_url":"https://api.github.com/repos/cakephp/cakephp/issues/6861/events","html_url":"https://github.com/cakephp/cakephp/issues/6861","id":90117372,"number":6861,"title":"Flash component - return breaks flash message","user":{"login":"isaacaskew","id":8547262,"avatar_url":"https://avatars.githubusercontent.com/u/8547262?v=3","gravatar_id":"","url":"https://api.github.com/users/isaacaskew","html_url":"https://github.com/isaacaskew","followers_url":"https://api.github.com/users/isaacaskew/followers","following_url":"https://api.github.com/users/isaacaskew/following{/other_user}","gists_url":"https://api.github.com/users/isaacaskew/gists{/gist_id}","starred_url":"https://api.github.com/users/isaacaskew/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/isaacaskew/subscriptions","organizations_url":"https://api.github.com/users/isaacaskew/orgs","repos_url":"https://api.github.com/users/isaacaskew/repos","events_url":"https://api.github.com/users/isaacaskew/events{/privacy}","received_events_url":"https://api.github.com/users/isaacaskew/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/cakephp/cakephp/labels/Invalid","name":"Invalid","color":"e6e6e6"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/cakephp/cakephp/milestones/46","html_url":"https://github.com/cakephp/cakephp/milestones/3.0.8","labels_url":"https://api.github.com/repos/cakephp/cakephp/milestones/46/labels","id":1164132,"number":46,"title":"3.0.8","description":"Bugfixes and new minor features for the 3.0 release series.","creator":{"login":"markstory","id":24086,"avatar_url":"https://avatars.githubusercontent.com/u/24086?v=3","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":17,"closed_issues":36,"state":"open","created_at":"2015-06-15T01:47:30Z","updated_at":"2015-06-22T14:40:20Z","due_on":"2015-06-28T04:00:00Z","closed_at":null},"comments":6,"created_at":"2015-06-22T14:34:07Z","updated_at":"2015-06-22T14:48:58Z","closed_at":"2015-06-22T14:40:20Z","body":"For some of my code I've been going back through and making it strictly PSR-2 compliant. This requires that the lines never be more than 120 characters, so long Flash errors like the one below has to be changed to have a 'return' space in them.\r\n\r\n    $this->Flash->error(__('We are sorry. We could not find any account associated with your email \r\n\r\n    provided. Please check that your email has been typed correctly.'));\r\n\r\nI've tested it with and without this enter and it seems to work if no enter is in the message and breaks if an enter is present.\r\n"},"comment":{"url":"https://api.github.com/repos/cakephp/cakephp/issues/comments/114138584","html_url":"https://github.com/cakephp/cakephp/issues/6861#issuecomment-114138584","issue_url":"https://api.github.com/repos/cakephp/cakephp/issues/6861","id":114138584,"user":{"login":"isaacaskew","id":8547262,"avatar_url":"https://avatars.githubusercontent.com/u/8547262?v=3","gravatar_id":"","url":"https://api.github.com/users/isaacaskew","html_url":"https://github.com/isaacaskew","followers_url":"https://api.github.com/users/isaacaskew/followers","following_url":"https://api.github.com/users/isaacaskew/following{/other_user}","gists_url":"https://api.github.com/users/isaacaskew/gists{/gist_id}","starred_url":"https://api.github.com/users/isaacaskew/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/isaacaskew/subscriptions","organizations_url":"https://api.github.com/users/isaacaskew/orgs","repos_url":"https://api.github.com/users/isaacaskew/repos","events_url":"https://api.github.com/users/isaacaskew/events{/privacy}","received_events_url":"https://api.github.com/users/isaacaskew/received_events","type":"User","site_admin":false},"created_at":"2015-06-22T14:48:58Z","updated_at":"2015-06-22T14:48:58Z","body":"Looks a little goofy, but that works! I'll just do it that way from now on."}}