{"action":"created","comment":{"url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/pulls/comments/35536433","id":35536433,"diff_hunk":"@@ -261,7 +261,7 @@ file that was distributed with this source code.\n \n                                                 {% if _actions|replace({ '<li>': '', '</li>': '' })|trim is not empty %}\n                                                     <ul class=\"nav navbar-nav navbar-right\">\n-                                                    {% if _actions|split('<li>')|length > 2 %}\n+                                                    {% if _actions matches '/(.*<li.*){2}/s' %}","path":"Resources/views/standard_layout.html.twig","position":5,"original_position":5,"commit_id":"a880225cd5e28bc63b0f32eb5ae882f3ce5aa6d9","original_commit_id":"a880225cd5e28bc63b0f32eb5ae882f3ce5aa6d9","user":{"login":"Soullivaneuh","id":1698357,"avatar_url":"https://avatars.githubusercontent.com/u/1698357?v=3","gravatar_id":"","url":"https://api.github.com/users/Soullivaneuh","html_url":"https://github.com/Soullivaneuh","followers_url":"https://api.github.com/users/Soullivaneuh/followers","following_url":"https://api.github.com/users/Soullivaneuh/following{/other_user}","gists_url":"https://api.github.com/users/Soullivaneuh/gists{/gist_id}","starred_url":"https://api.github.com/users/Soullivaneuh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Soullivaneuh/subscriptions","organizations_url":"https://api.github.com/users/Soullivaneuh/orgs","repos_url":"https://api.github.com/users/Soullivaneuh/repos","events_url":"https://api.github.com/users/Soullivaneuh/events{/privacy}","received_events_url":"https://api.github.com/users/Soullivaneuh/received_events","type":"User","site_admin":false},"body":"Why `.*` prefix?\r\n\r\nAnd this regexp is too permissive.\r\n\r\nSomething like `<libutnotli>` will pass AFAIK.","created_at":"2015-07-27T13:45:52Z","updated_at":"2015-07-27T13:45:52Z","html_url":"https://github.com/sonata-project/SonataAdminBundle/pull/3133#discussion_r35536433","pull_request_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/pulls/3133","_links":{"self":{"href":"https://api.github.com/repos/sonata-project/SonataAdminBundle/pulls/comments/35536433"},"html":{"href":"https://github.com/sonata-project/SonataAdminBundle/pull/3133#discussion_r35536433"},"pull_request":{"href":"https://api.github.com/repos/sonata-project/SonataAdminBundle/pulls/3133"}}},"pull_request":{"url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/pulls/3133","id":40898353,"html_url":"https://github.com/sonata-project/SonataAdminBundle/pull/3133","diff_url":"https://github.com/sonata-project/SonataAdminBundle/pull/3133.diff","patch_url":"https://github.com/sonata-project/SonataAdminBundle/pull/3133.patch","issue_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/issues/3133","number":3133,"state":"open","locked":false,"title":"Support overriding templates for actions dropdown","user":{"login":"Storke","id":1649453,"avatar_url":"https://avatars.githubusercontent.com/u/1649453?v=3","gravatar_id":"","url":"https://api.github.com/users/Storke","html_url":"https://github.com/Storke","followers_url":"https://api.github.com/users/Storke/followers","following_url":"https://api.github.com/users/Storke/following{/other_user}","gists_url":"https://api.github.com/users/Storke/gists{/gist_id}","starred_url":"https://api.github.com/users/Storke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Storke/subscriptions","organizations_url":"https://api.github.com/users/Storke/orgs","repos_url":"https://api.github.com/users/Storke/repos","events_url":"https://api.github.com/users/Storke/events{/privacy}","received_events_url":"https://api.github.com/users/Storke/received_events","type":"User","site_admin":false},"body":"Related to PR  #3113, it corrects @Soullivaneuh comment","created_at":"2015-07-27T12:34:53Z","updated_at":"2015-07-27T13:45:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7c6aac4185240e5988dac743bc57da169c4de9fb","assignee":{"login":"Soullivaneuh","id":1698357,"avatar_url":"https://avatars.githubusercontent.com/u/1698357?v=3","gravatar_id":"","url":"https://api.github.com/users/Soullivaneuh","html_url":"https://github.com/Soullivaneuh","followers_url":"https://api.github.com/users/Soullivaneuh/followers","following_url":"https://api.github.com/users/Soullivaneuh/following{/other_user}","gists_url":"https://api.github.com/users/Soullivaneuh/gists{/gist_id}","starred_url":"https://api.github.com/users/Soullivaneuh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Soullivaneuh/subscriptions","organizations_url":"https://api.github.com/users/Soullivaneuh/orgs","repos_url":"https://api.github.com/users/Soullivaneuh/repos","events_url":"https://api.github.com/users/Soullivaneuh/events{/privacy}","received_events_url":"https://api.github.com/users/Soullivaneuh/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/pulls/3133/commits","review_comments_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/pulls/3133/comments","review_comment_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/issues/3133/comments","statuses_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/statuses/a880225cd5e28bc63b0f32eb5ae882f3ce5aa6d9","head":{"label":"Storke:patch-dropdown-with-override","ref":"patch-dropdown-with-override","sha":"a880225cd5e28bc63b0f32eb5ae882f3ce5aa6d9","user":{"login":"Storke","id":1649453,"avatar_url":"https://avatars.githubusercontent.com/u/1649453?v=3","gravatar_id":"","url":"https://api.github.com/users/Storke","html_url":"https://github.com/Storke","followers_url":"https://api.github.com/users/Storke/followers","following_url":"https://api.github.com/users/Storke/following{/other_user}","gists_url":"https://api.github.com/users/Storke/gists{/gist_id}","starred_url":"https://api.github.com/users/Storke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Storke/subscriptions","organizations_url":"https://api.github.com/users/Storke/orgs","repos_url":"https://api.github.com/users/Storke/repos","events_url":"https://api.github.com/users/Storke/events{/privacy}","received_events_url":"https://api.github.com/users/Storke/received_events","type":"User","site_admin":false},"repo":{"id":39431331,"name":"SonataAdminBundle","full_name":"Storke/SonataAdminBundle","owner":{"login":"Storke","id":1649453,"avatar_url":"https://avatars.githubusercontent.com/u/1649453?v=3","gravatar_id":"","url":"https://api.github.com/users/Storke","html_url":"https://github.com/Storke","followers_url":"https://api.github.com/users/Storke/followers","following_url":"https://api.github.com/users/Storke/following{/other_user}","gists_url":"https://api.github.com/users/Storke/gists{/gist_id}","starred_url":"https://api.github.com/users/Storke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Storke/subscriptions","organizations_url":"https://api.github.com/users/Storke/orgs","repos_url":"https://api.github.com/users/Storke/repos","events_url":"https://api.github.com/users/Storke/events{/privacy}","received_events_url":"https://api.github.com/users/Storke/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Storke/SonataAdminBundle","description":"AdminBundle - The missing Symfony2 Admin Generator","fork":true,"url":"https://api.github.com/repos/Storke/SonataAdminBundle","forks_url":"https://api.github.com/repos/Storke/SonataAdminBundle/forks","keys_url":"https://api.github.com/repos/Storke/SonataAdminBundle/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Storke/SonataAdminBundle/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Storke/SonataAdminBundle/teams","hooks_url":"https://api.github.com/repos/Storke/SonataAdminBundle/hooks","issue_events_url":"https://api.github.com/repos/Storke/SonataAdminBundle/issues/events{/number}","events_url":"https://api.github.com/repos/Storke/SonataAdminBundle/events","assignees_url":"https://api.github.com/repos/Storke/SonataAdminBundle/assignees{/user}","branches_url":"https://api.github.com/repos/Storke/SonataAdminBundle/branches{/branch}","tags_url":"https://api.github.com/repos/Storke/SonataAdminBundle/tags","blobs_url":"https://api.github.com/repos/Storke/SonataAdminBundle/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Storke/SonataAdminBundle/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Storke/SonataAdminBundle/git/refs{/sha}","trees_url":"https://api.github.com/repos/Storke/SonataAdminBundle/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Storke/SonataAdminBundle/statuses/{sha}","languages_url":"https://api.github.com/repos/Storke/SonataAdminBundle/languages","stargazers_url":"https://api.github.com/repos/Storke/SonataAdminBundle/stargazers","contributors_url":"https://api.github.com/repos/Storke/SonataAdminBundle/contributors","subscribers_url":"https://api.github.com/repos/Storke/SonataAdminBundle/subscribers","subscription_url":"https://api.github.com/repos/Storke/SonataAdminBundle/subscription","commits_url":"https://api.github.com/repos/Storke/SonataAdminBundle/commits{/sha}","git_commits_url":"https://api.github.com/repos/Storke/SonataAdminBundle/git/commits{/sha}","comments_url":"https://api.github.com/repos/Storke/SonataAdminBundle/comments{/number}","issue_comment_url":"https://api.github.com/repos/Storke/SonataAdminBundle/issues/comments{/number}","contents_url":"https://api.github.com/repos/Storke/SonataAdminBundle/contents/{+path}","compare_url":"https://api.github.com/repos/Storke/SonataAdminBundle/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Storke/SonataAdminBundle/merges","archive_url":"https://api.github.com/repos/Storke/SonataAdminBundle/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Storke/SonataAdminBundle/downloads","issues_url":"https://api.github.com/repos/Storke/SonataAdminBundle/issues{/number}","pulls_url":"https://api.github.com/repos/Storke/SonataAdminBundle/pulls{/number}","milestones_url":"https://api.github.com/repos/Storke/SonataAdminBundle/milestones{/number}","notifications_url":"https://api.github.com/repos/Storke/SonataAdminBundle/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Storke/SonataAdminBundle/labels{/name}","releases_url":"https://api.github.com/repos/Storke/SonataAdminBundle/releases{/id}","created_at":"2015-07-21T07:40:07Z","updated_at":"2015-07-21T07:40:09Z","pushed_at":"2015-07-27T13:28:03Z","git_url":"git://github.com/Storke/SonataAdminBundle.git","ssh_url":"git@github.com:Storke/SonataAdminBundle.git","clone_url":"https://github.com/Storke/SonataAdminBundle.git","svn_url":"https://github.com/Storke/SonataAdminBundle","homepage":"http://sonata-project.org/bundles/admin","size":15635,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"sonata-project:master","ref":"master","sha":"cc8d3e9af9a791b8134a042e82e023a65739b614","user":{"login":"sonata-project","id":404157,"avatar_url":"https://avatars.githubusercontent.com/u/404157?v=3","gravatar_id":"","url":"https://api.github.com/users/sonata-project","html_url":"https://github.com/sonata-project","followers_url":"https://api.github.com/users/sonata-project/followers","following_url":"https://api.github.com/users/sonata-project/following{/other_user}","gists_url":"https://api.github.com/users/sonata-project/gists{/gist_id}","starred_url":"https://api.github.com/users/sonata-project/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sonata-project/subscriptions","organizations_url":"https://api.github.com/users/sonata-project/orgs","repos_url":"https://api.github.com/users/sonata-project/repos","events_url":"https://api.github.com/users/sonata-project/events{/privacy}","received_events_url":"https://api.github.com/users/sonata-project/received_events","type":"Organization","site_admin":false},"repo":{"id":1095228,"name":"SonataAdminBundle","full_name":"sonata-project/SonataAdminBundle","owner":{"login":"sonata-project","id":404157,"avatar_url":"https://avatars.githubusercontent.com/u/404157?v=3","gravatar_id":"","url":"https://api.github.com/users/sonata-project","html_url":"https://github.com/sonata-project","followers_url":"https://api.github.com/users/sonata-project/followers","following_url":"https://api.github.com/users/sonata-project/following{/other_user}","gists_url":"https://api.github.com/users/sonata-project/gists{/gist_id}","starred_url":"https://api.github.com/users/sonata-project/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sonata-project/subscriptions","organizations_url":"https://api.github.com/users/sonata-project/orgs","repos_url":"https://api.github.com/users/sonata-project/repos","events_url":"https://api.github.com/users/sonata-project/events{/privacy}","received_events_url":"https://api.github.com/users/sonata-project/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/sonata-project/SonataAdminBundle","description":"AdminBundle - The missing Symfony2 Admin Generator","fork":false,"url":"https://api.github.com/repos/sonata-project/SonataAdminBundle","forks_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/forks","keys_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/teams","hooks_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/hooks","issue_events_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/issues/events{/number}","events_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/events","assignees_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/assignees{/user}","branches_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/branches{/branch}","tags_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/tags","blobs_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/git/refs{/sha}","trees_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/statuses/{sha}","languages_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/languages","stargazers_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/stargazers","contributors_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/contributors","subscribers_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/subscribers","subscription_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/subscription","commits_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/commits{/sha}","git_commits_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/git/commits{/sha}","comments_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/comments{/number}","issue_comment_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/issues/comments{/number}","contents_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/contents/{+path}","compare_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/merges","archive_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/downloads","issues_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/issues{/number}","pulls_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/pulls{/number}","milestones_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/milestones{/number}","notifications_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/labels{/name}","releases_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/releases{/id}","created_at":"2010-11-19T17:08:52Z","updated_at":"2015-07-25T10:26:24Z","pushed_at":"2015-07-27T13:28:04Z","git_url":"git://github.com/sonata-project/SonataAdminBundle.git","ssh_url":"git@github.com:sonata-project/SonataAdminBundle.git","clone_url":"https://github.com/sonata-project/SonataAdminBundle.git","svn_url":"https://github.com/sonata-project/SonataAdminBundle","homepage":"http://sonata-project.org/bundles/admin","size":26300,"stargazers_count":1217,"watchers_count":1217,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":847,"mirror_url":null,"open_issues_count":451,"forks":847,"open_issues":451,"watchers":1217,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/sonata-project/SonataAdminBundle/pulls/3133"},"html":{"href":"https://github.com/sonata-project/SonataAdminBundle/pull/3133"},"issue":{"href":"https://api.github.com/repos/sonata-project/SonataAdminBundle/issues/3133"},"comments":{"href":"https://api.github.com/repos/sonata-project/SonataAdminBundle/issues/3133/comments"},"review_comments":{"href":"https://api.github.com/repos/sonata-project/SonataAdminBundle/pulls/3133/comments"},"review_comment":{"href":"https://api.github.com/repos/sonata-project/SonataAdminBundle/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sonata-project/SonataAdminBundle/pulls/3133/commits"},"statuses":{"href":"https://api.github.com/repos/sonata-project/SonataAdminBundle/statuses/a880225cd5e28bc63b0f32eb5ae882f3ce5aa6d9"}}}}