{"action":"opened","number":7,"pull_request":{"url":"https://api.github.com/repos/matthiasnoback/symfony-console-form/pulls/7","id":38188749,"html_url":"https://github.com/matthiasnoback/symfony-console-form/pull/7","diff_url":"https://github.com/matthiasnoback/symfony-console-form/pull/7.diff","patch_url":"https://github.com/matthiasnoback/symfony-console-form/pull/7.patch","issue_url":"https://api.github.com/repos/matthiasnoback/symfony-console-form/issues/7","number":7,"state":"open","locked":false,"title":"Correct input for repeated form types when running in non-interactive mode","user":{"login":"cmfcmf","id":2145092,"avatar_url":"https://avatars.githubusercontent.com/u/2145092?v=3","gravatar_id":"","url":"https://api.github.com/users/cmfcmf","html_url":"https://github.com/cmfcmf","followers_url":"https://api.github.com/users/cmfcmf/followers","following_url":"https://api.github.com/users/cmfcmf/following{/other_user}","gists_url":"https://api.github.com/users/cmfcmf/gists{/gist_id}","starred_url":"https://api.github.com/users/cmfcmf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cmfcmf/subscriptions","organizations_url":"https://api.github.com/users/cmfcmf/orgs","repos_url":"https://api.github.com/users/cmfcmf/repos","events_url":"https://api.github.com/users/cmfcmf/events{/privacy}","received_events_url":"https://api.github.com/users/cmfcmf/received_events","type":"User","site_admin":false},"body":"I tried to create a test case but couldn't get Behat to work. :-(\r\n\r\nExample code:\r\n```php\r\n        $builder\r\n            ->add('password', 'repeated', array(\r\n                'type' => 'password',\r\n                'invalid_message' => 'The password fields must match.',\r\n                'options' => array(\r\n                    'label_attr' => array('class' => 'col-sm-3'),\r\n                    'constraints' => array(\r\n                        new NotBlank(),\r\n                        new Length(array('min' => 7, 'max' => 40))\r\n                    )\r\n                ),\r\n                'required' => true,\r\n                'first_options'  => array('label' => 'Admin Password'),\r\n                'second_options' => array('label' => 'Repeat Password'),\r\n                ))\r\n```\r\nIt works fine in interactive mode, but for non-interactive mode, this fix is needed.","created_at":"2015-06-21T18:53:25Z","updated_at":"2015-06-21T18:53:25Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/matthiasnoback/symfony-console-form/pulls/7/commits","review_comments_url":"https://api.github.com/repos/matthiasnoback/symfony-console-form/pulls/7/comments","review_comment_url":"https://api.github.com/repos/matthiasnoback/symfony-console-form/pulls/comments{/number}","comments_url":"https://api.github.com/repos/matthiasnoback/symfony-console-form/issues/7/comments","statuses_url":"https://api.github.com/repos/matthiasnoback/symfony-console-form/statuses/747eda9f77d79de9e2e6d16dfce76ec4a69791a4","head":{"label":"cmfcmf:patch-1","ref":"patch-1","sha":"747eda9f77d79de9e2e6d16dfce76ec4a69791a4","user":{"login":"cmfcmf","id":2145092,"avatar_url":"https://avatars.githubusercontent.com/u/2145092?v=3","gravatar_id":"","url":"https://api.github.com/users/cmfcmf","html_url":"https://github.com/cmfcmf","followers_url":"https://api.github.com/users/cmfcmf/followers","following_url":"https://api.github.com/users/cmfcmf/following{/other_user}","gists_url":"https://api.github.com/users/cmfcmf/gists{/gist_id}","starred_url":"https://api.github.com/users/cmfcmf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cmfcmf/subscriptions","organizations_url":"https://api.github.com/users/cmfcmf/orgs","repos_url":"https://api.github.com/users/cmfcmf/repos","events_url":"https://api.github.com/users/cmfcmf/events{/privacy}","received_events_url":"https://api.github.com/users/cmfcmf/received_events","type":"User","site_admin":false},"repo":{"id":37821311,"name":"symfony-console-form","full_name":"cmfcmf/symfony-console-form","owner":{"login":"cmfcmf","id":2145092,"avatar_url":"https://avatars.githubusercontent.com/u/2145092?v=3","gravatar_id":"","url":"https://api.github.com/users/cmfcmf","html_url":"https://github.com/cmfcmf","followers_url":"https://api.github.com/users/cmfcmf/followers","following_url":"https://api.github.com/users/cmfcmf/following{/other_user}","gists_url":"https://api.github.com/users/cmfcmf/gists{/gist_id}","starred_url":"https://api.github.com/users/cmfcmf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cmfcmf/subscriptions","organizations_url":"https://api.github.com/users/cmfcmf/orgs","repos_url":"https://api.github.com/users/cmfcmf/repos","events_url":"https://api.github.com/users/cmfcmf/events{/privacy}","received_events_url":"https://api.github.com/users/cmfcmf/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cmfcmf/symfony-console-form","description":"Use Symfony forms for Console command input","fork":true,"url":"https://api.github.com/repos/cmfcmf/symfony-console-form","forks_url":"https://api.github.com/repos/cmfcmf/symfony-console-form/forks","keys_url":"https://api.github.com/repos/cmfcmf/symfony-console-form/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cmfcmf/symfony-console-form/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cmfcmf/symfony-console-form/teams","hooks_url":"https://api.github.com/repos/cmfcmf/symfony-console-form/hooks","issue_events_url":"https://api.github.com/repos/cmfcmf/symfony-console-form/issues/events{/number}","events_url":"https://api.github.com/repos/cmfcmf/symfony-console-form/events","assignees_url":"https://api.github.com/repos/cmfcmf/symfony-console-form/assignees{/user}","branches_url":"https://api.github.com/repos/cmfcmf/symfony-console-form/branches{/branch}","tags_url":"https://api.github.com/repos/cmfcmf/symfony-console-form/tags","blobs_url":"https://api.github.com/repos/cmfcmf/symfony-console-form/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cmfcmf/symfony-console-form/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cmfcmf/symfony-console-form/git/refs{/sha}","trees_url":"https://api.github.com/repos/cmfcmf/symfony-console-form/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cmfcmf/symfony-console-form/statuses/{sha}","languages_url":"https://api.github.com/repos/cmfcmf/symfony-console-form/languages","stargazers_url":"https://api.github.com/repos/cmfcmf/symfony-console-form/stargazers","contributors_url":"https://api.github.com/repos/cmfcmf/symfony-console-form/contributors","subscribers_url":"https://api.github.com/repos/cmfcmf/symfony-console-form/subscribers","subscription_url":"https://api.github.com/repos/cmfcmf/symfony-console-form/subscription","commits_url":"https://api.github.com/repos/cmfcmf/symfony-console-form/commits{/sha}","git_commits_url":"https://api.github.com/repos/cmfcmf/symfony-console-form/git/commits{/sha}","comments_url":"https://api.github.com/repos/cmfcmf/symfony-console-form/comments{/number}","issue_comment_url":"https://api.github.com/repos/cmfcmf/symfony-console-form/issues/comments{/number}","contents_url":"https://api.github.com/repos/cmfcmf/symfony-console-form/contents/{+path}","compare_url":"https://api.github.com/repos/cmfcmf/symfony-console-form/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cmfcmf/symfony-console-form/merges","archive_url":"https://api.github.com/repos/cmfcmf/symfony-console-form/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cmfcmf/symfony-console-form/downloads","issues_url":"https://api.github.com/repos/cmfcmf/symfony-console-form/issues{/number}","pulls_url":"https://api.github.com/repos/cmfcmf/symfony-console-form/pulls{/number}","milestones_url":"https://api.github.com/repos/cmfcmf/symfony-console-form/milestones{/number}","notifications_url":"https://api.github.com/repos/cmfcmf/symfony-console-form/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cmfcmf/symfony-console-form/labels{/name}","releases_url":"https://api.github.com/repos/cmfcmf/symfony-console-form/releases{/id}","created_at":"2015-06-21T18:50:39Z","updated_at":"2015-06-21T18:50:39Z","pushed_at":"2015-06-21T18:52:03Z","git_url":"git://github.com/cmfcmf/symfony-console-form.git","ssh_url":"git@github.com:cmfcmf/symfony-console-form.git","clone_url":"https://github.com/cmfcmf/symfony-console-form.git","svn_url":"https://github.com/cmfcmf/symfony-console-form","homepage":null,"size":309,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":true,"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":"matthiasnoback:master","ref":"master","sha":"f7fc60ca0502c47df32b141a1e388bdf999ab22a","user":{"login":"matthiasnoback","id":1193078,"avatar_url":"https://avatars.githubusercontent.com/u/1193078?v=3","gravatar_id":"","url":"https://api.github.com/users/matthiasnoback","html_url":"https://github.com/matthiasnoback","followers_url":"https://api.github.com/users/matthiasnoback/followers","following_url":"https://api.github.com/users/matthiasnoback/following{/other_user}","gists_url":"https://api.github.com/users/matthiasnoback/gists{/gist_id}","starred_url":"https://api.github.com/users/matthiasnoback/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matthiasnoback/subscriptions","organizations_url":"https://api.github.com/users/matthiasnoback/orgs","repos_url":"https://api.github.com/users/matthiasnoback/repos","events_url":"https://api.github.com/users/matthiasnoback/events{/privacy}","received_events_url":"https://api.github.com/users/matthiasnoback/received_events","type":"User","site_admin":false},"repo":{"id":27331717,"name":"symfony-console-form","full_name":"matthiasnoback/symfony-console-form","owner":{"login":"matthiasnoback","id":1193078,"avatar_url":"https://avatars.githubusercontent.com/u/1193078?v=3","gravatar_id":"","url":"https://api.github.com/users/matthiasnoback","html_url":"https://github.com/matthiasnoback","followers_url":"https://api.github.com/users/matthiasnoback/followers","following_url":"https://api.github.com/users/matthiasnoback/following{/other_user}","gists_url":"https://api.github.com/users/matthiasnoback/gists{/gist_id}","starred_url":"https://api.github.com/users/matthiasnoback/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matthiasnoback/subscriptions","organizations_url":"https://api.github.com/users/matthiasnoback/orgs","repos_url":"https://api.github.com/users/matthiasnoback/repos","events_url":"https://api.github.com/users/matthiasnoback/events{/privacy}","received_events_url":"https://api.github.com/users/matthiasnoback/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/matthiasnoback/symfony-console-form","description":"Use Symfony forms for Console command input","fork":false,"url":"https://api.github.com/repos/matthiasnoback/symfony-console-form","forks_url":"https://api.github.com/repos/matthiasnoback/symfony-console-form/forks","keys_url":"https://api.github.com/repos/matthiasnoback/symfony-console-form/keys{/key_id}","collaborators_url":"https://api.github.com/repos/matthiasnoback/symfony-console-form/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/matthiasnoback/symfony-console-form/teams","hooks_url":"https://api.github.com/repos/matthiasnoback/symfony-console-form/hooks","issue_events_url":"https://api.github.com/repos/matthiasnoback/symfony-console-form/issues/events{/number}","events_url":"https://api.github.com/repos/matthiasnoback/symfony-console-form/events","assignees_url":"https://api.github.com/repos/matthiasnoback/symfony-console-form/assignees{/user}","branches_url":"https://api.github.com/repos/matthiasnoback/symfony-console-form/branches{/branch}","tags_url":"https://api.github.com/repos/matthiasnoback/symfony-console-form/tags","blobs_url":"https://api.github.com/repos/matthiasnoback/symfony-console-form/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/matthiasnoback/symfony-console-form/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/matthiasnoback/symfony-console-form/git/refs{/sha}","trees_url":"https://api.github.com/repos/matthiasnoback/symfony-console-form/git/trees{/sha}","statuses_url":"https://api.github.com/repos/matthiasnoback/symfony-console-form/statuses/{sha}","languages_url":"https://api.github.com/repos/matthiasnoback/symfony-console-form/languages","stargazers_url":"https://api.github.com/repos/matthiasnoback/symfony-console-form/stargazers","contributors_url":"https://api.github.com/repos/matthiasnoback/symfony-console-form/contributors","subscribers_url":"https://api.github.com/repos/matthiasnoback/symfony-console-form/subscribers","subscription_url":"https://api.github.com/repos/matthiasnoback/symfony-console-form/subscription","commits_url":"https://api.github.com/repos/matthiasnoback/symfony-console-form/commits{/sha}","git_commits_url":"https://api.github.com/repos/matthiasnoback/symfony-console-form/git/commits{/sha}","comments_url":"https://api.github.com/repos/matthiasnoback/symfony-console-form/comments{/number}","issue_comment_url":"https://api.github.com/repos/matthiasnoback/symfony-console-form/issues/comments{/number}","contents_url":"https://api.github.com/repos/matthiasnoback/symfony-console-form/contents/{+path}","compare_url":"https://api.github.com/repos/matthiasnoback/symfony-console-form/compare/{base}...{head}","merges_url":"https://api.github.com/repos/matthiasnoback/symfony-console-form/merges","archive_url":"https://api.github.com/repos/matthiasnoback/symfony-console-form/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/matthiasnoback/symfony-console-form/downloads","issues_url":"https://api.github.com/repos/matthiasnoback/symfony-console-form/issues{/number}","pulls_url":"https://api.github.com/repos/matthiasnoback/symfony-console-form/pulls{/number}","milestones_url":"https://api.github.com/repos/matthiasnoback/symfony-console-form/milestones{/number}","notifications_url":"https://api.github.com/repos/matthiasnoback/symfony-console-form/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/matthiasnoback/symfony-console-form/labels{/name}","releases_url":"https://api.github.com/repos/matthiasnoback/symfony-console-form/releases{/id}","created_at":"2014-11-30T10:17:30Z","updated_at":"2015-06-12T23:23:47Z","pushed_at":"2015-06-21T18:53:25Z","git_url":"git://github.com/matthiasnoback/symfony-console-form.git","ssh_url":"git@github.com:matthiasnoback/symfony-console-form.git","clone_url":"https://github.com/matthiasnoback/symfony-console-form.git","svn_url":"https://github.com/matthiasnoback/symfony-console-form","homepage":null,"size":309,"stargazers_count":68,"watchers_count":68,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":3,"forks":3,"open_issues":3,"watchers":68,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/matthiasnoback/symfony-console-form/pulls/7"},"html":{"href":"https://github.com/matthiasnoback/symfony-console-form/pull/7"},"issue":{"href":"https://api.github.com/repos/matthiasnoback/symfony-console-form/issues/7"},"comments":{"href":"https://api.github.com/repos/matthiasnoback/symfony-console-form/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/matthiasnoback/symfony-console-form/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/matthiasnoback/symfony-console-form/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/matthiasnoback/symfony-console-form/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/matthiasnoback/symfony-console-form/statuses/747eda9f77d79de9e2e6d16dfce76ec4a69791a4"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":13,"deletions":0,"changed_files":1}}