{"action":"created","comment":{"url":"https://api.github.com/repos/symfony/symfony-docs/pulls/comments/27526040","id":27526040,"diff_hunk":"@@ -73,6 +74,33 @@ current PHP SAPI:\n     #. From time to time, run ``composer global update`` to have the latest\n        bug fixes.\n \n+\n+\n+Using the VarDumper Component in Your PHPUnit Test Suite\n+--------------------------------------------------------\n+\n+The VarDumper component provides\n+:class:`a trait <Symfony\\\\Component\\\\VarDumper\\\\Test\\\\VarDumperTestTrait>`\n+that can help writting some of your tests for PHPUnit.\n+By adding::\n+\n+    use \\Symfony\\Component\\VarDumper\\Test\\VarDumperTestTrait;\n+\n+at the beginning of your test class declaration, you'll gain two new assertions:\n+\n+:method:`Symfony\\\\Component\\\\VarDumper\\\\Test\\\\VarDumperTestTrait::assertDumpEquals`\n+    verifies that the dump of the variable given as the second argument matches\n+    the expected dump provided as a string in the first argument.\n+\n+:method:`Symfony\\\\Component\\\\VarDumper\\\\Test\\\\VarDumperTestTrait::assertDumpMatchesFormat`\n+    is like the previous method but accepts placeholders in the expected dump,\n+    based on the ``assertStringMatchesFormat`` method provided by PHPUnit.\n+\n+.. versionadded:: 2.7","path":"components/var_dumper/introduction.rst","position":34,"original_position":34,"commit_id":"0de92897d19990aef580730de759dd97fdefa577","original_commit_id":"0de92897d19990aef580730de759dd97fdefa577","user":{"login":"WouterJ","id":749025,"avatar_url":"https://avatars.githubusercontent.com/u/749025?v=3","gravatar_id":"","url":"https://api.github.com/users/WouterJ","html_url":"https://github.com/WouterJ","followers_url":"https://api.github.com/users/WouterJ/followers","following_url":"https://api.github.com/users/WouterJ/following{/other_user}","gists_url":"https://api.github.com/users/WouterJ/gists{/gist_id}","starred_url":"https://api.github.com/users/WouterJ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WouterJ/subscriptions","organizations_url":"https://api.github.com/users/WouterJ/orgs","repos_url":"https://api.github.com/users/WouterJ/repos","events_url":"https://api.github.com/users/WouterJ/events{/privacy}","received_events_url":"https://api.github.com/users/WouterJ/received_events","type":"User","site_admin":false},"body":"I would prefer if this was right after the section title","created_at":"2015-03-31T21:39:30Z","updated_at":"2015-03-31T21:39:30Z","html_url":"https://github.com/symfony/symfony-docs/pull/5127#discussion_r27526040","pull_request_url":"https://api.github.com/repos/symfony/symfony-docs/pulls/5127","_links":{"self":{"href":"https://api.github.com/repos/symfony/symfony-docs/pulls/comments/27526040"},"html":{"href":"https://github.com/symfony/symfony-docs/pull/5127#discussion_r27526040"},"pull_request":{"href":"https://api.github.com/repos/symfony/symfony-docs/pulls/5127"}}},"pull_request":{"url":"https://api.github.com/repos/symfony/symfony-docs/pulls/5127","id":32296636,"html_url":"https://github.com/symfony/symfony-docs/pull/5127","diff_url":"https://github.com/symfony/symfony-docs/pull/5127.diff","patch_url":"https://github.com/symfony/symfony-docs/pull/5127.patch","issue_url":"https://api.github.com/repos/symfony/symfony-docs/issues/5127","number":5127,"state":"open","locked":false,"title":"[VarDumper] Add doc for assertDump* assertions","user":{"login":"nicolas-grekas","id":243674,"avatar_url":"https://avatars.githubusercontent.com/u/243674?v=3","gravatar_id":"","url":"https://api.github.com/users/nicolas-grekas","html_url":"https://github.com/nicolas-grekas","followers_url":"https://api.github.com/users/nicolas-grekas/followers","following_url":"https://api.github.com/users/nicolas-grekas/following{/other_user}","gists_url":"https://api.github.com/users/nicolas-grekas/gists{/gist_id}","starred_url":"https://api.github.com/users/nicolas-grekas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nicolas-grekas/subscriptions","organizations_url":"https://api.github.com/users/nicolas-grekas/orgs","repos_url":"https://api.github.com/users/nicolas-grekas/repos","events_url":"https://api.github.com/users/nicolas-grekas/events{/privacy}","received_events_url":"https://api.github.com/users/nicolas-grekas/received_events","type":"User","site_admin":false},"body":"| Q             | A\r\n| ------------- | ---\r\n| Doc fix?      | no\r\n| New docs?     | yes\r\n| Applies to    | 2.7\r\n| Fixed tickets | -","created_at":"2015-03-31T07:20:08Z","updated_at":"2015-03-31T21:39:30Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a8ba99ac8c71b709a5a0bc9c0a194039e788e1f3","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/symfony/symfony-docs/pulls/5127/commits","review_comments_url":"https://api.github.com/repos/symfony/symfony-docs/pulls/5127/comments","review_comment_url":"https://api.github.com/repos/symfony/symfony-docs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/symfony/symfony-docs/issues/5127/comments","statuses_url":"https://api.github.com/repos/symfony/symfony-docs/statuses/0de92897d19990aef580730de759dd97fdefa577","head":{"label":"nicolas-grekas:var-dumper-test","ref":"var-dumper-test","sha":"0de92897d19990aef580730de759dd97fdefa577","user":{"login":"nicolas-grekas","id":243674,"avatar_url":"https://avatars.githubusercontent.com/u/243674?v=3","gravatar_id":"","url":"https://api.github.com/users/nicolas-grekas","html_url":"https://github.com/nicolas-grekas","followers_url":"https://api.github.com/users/nicolas-grekas/followers","following_url":"https://api.github.com/users/nicolas-grekas/following{/other_user}","gists_url":"https://api.github.com/users/nicolas-grekas/gists{/gist_id}","starred_url":"https://api.github.com/users/nicolas-grekas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nicolas-grekas/subscriptions","organizations_url":"https://api.github.com/users/nicolas-grekas/orgs","repos_url":"https://api.github.com/users/nicolas-grekas/repos","events_url":"https://api.github.com/users/nicolas-grekas/events{/privacy}","received_events_url":"https://api.github.com/users/nicolas-grekas/received_events","type":"User","site_admin":false},"repo":{"id":19969223,"name":"symfony-docs","full_name":"nicolas-grekas/symfony-docs","owner":{"login":"nicolas-grekas","id":243674,"avatar_url":"https://avatars.githubusercontent.com/u/243674?v=3","gravatar_id":"","url":"https://api.github.com/users/nicolas-grekas","html_url":"https://github.com/nicolas-grekas","followers_url":"https://api.github.com/users/nicolas-grekas/followers","following_url":"https://api.github.com/users/nicolas-grekas/following{/other_user}","gists_url":"https://api.github.com/users/nicolas-grekas/gists{/gist_id}","starred_url":"https://api.github.com/users/nicolas-grekas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nicolas-grekas/subscriptions","organizations_url":"https://api.github.com/users/nicolas-grekas/orgs","repos_url":"https://api.github.com/users/nicolas-grekas/repos","events_url":"https://api.github.com/users/nicolas-grekas/events{/privacy}","received_events_url":"https://api.github.com/users/nicolas-grekas/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nicolas-grekas/symfony-docs","description":"The Symfony2 documentation","fork":true,"url":"https://api.github.com/repos/nicolas-grekas/symfony-docs","forks_url":"https://api.github.com/repos/nicolas-grekas/symfony-docs/forks","keys_url":"https://api.github.com/repos/nicolas-grekas/symfony-docs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nicolas-grekas/symfony-docs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nicolas-grekas/symfony-docs/teams","hooks_url":"https://api.github.com/repos/nicolas-grekas/symfony-docs/hooks","issue_events_url":"https://api.github.com/repos/nicolas-grekas/symfony-docs/issues/events{/number}","events_url":"https://api.github.com/repos/nicolas-grekas/symfony-docs/events","assignees_url":"https://api.github.com/repos/nicolas-grekas/symfony-docs/assignees{/user}","branches_url":"https://api.github.com/repos/nicolas-grekas/symfony-docs/branches{/branch}","tags_url":"https://api.github.com/repos/nicolas-grekas/symfony-docs/tags","blobs_url":"https://api.github.com/repos/nicolas-grekas/symfony-docs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nicolas-grekas/symfony-docs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nicolas-grekas/symfony-docs/git/refs{/sha}","trees_url":"https://api.github.com/repos/nicolas-grekas/symfony-docs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nicolas-grekas/symfony-docs/statuses/{sha}","languages_url":"https://api.github.com/repos/nicolas-grekas/symfony-docs/languages","stargazers_url":"https://api.github.com/repos/nicolas-grekas/symfony-docs/stargazers","contributors_url":"https://api.github.com/repos/nicolas-grekas/symfony-docs/contributors","subscribers_url":"https://api.github.com/repos/nicolas-grekas/symfony-docs/subscribers","subscription_url":"https://api.github.com/repos/nicolas-grekas/symfony-docs/subscription","commits_url":"https://api.github.com/repos/nicolas-grekas/symfony-docs/commits{/sha}","git_commits_url":"https://api.github.com/repos/nicolas-grekas/symfony-docs/git/commits{/sha}","comments_url":"https://api.github.com/repos/nicolas-grekas/symfony-docs/comments{/number}","issue_comment_url":"https://api.github.com/repos/nicolas-grekas/symfony-docs/issues/comments{/number}","contents_url":"https://api.github.com/repos/nicolas-grekas/symfony-docs/contents/{+path}","compare_url":"https://api.github.com/repos/nicolas-grekas/symfony-docs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nicolas-grekas/symfony-docs/merges","archive_url":"https://api.github.com/repos/nicolas-grekas/symfony-docs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nicolas-grekas/symfony-docs/downloads","issues_url":"https://api.github.com/repos/nicolas-grekas/symfony-docs/issues{/number}","pulls_url":"https://api.github.com/repos/nicolas-grekas/symfony-docs/pulls{/number}","milestones_url":"https://api.github.com/repos/nicolas-grekas/symfony-docs/milestones{/number}","notifications_url":"https://api.github.com/repos/nicolas-grekas/symfony-docs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nicolas-grekas/symfony-docs/labels{/name}","releases_url":"https://api.github.com/repos/nicolas-grekas/symfony-docs/releases{/id}","created_at":"2014-05-20T05:52:44Z","updated_at":"2014-09-17T11:01:30Z","pushed_at":"2015-03-31T21:32:15Z","git_url":"git://github.com/nicolas-grekas/symfony-docs.git","ssh_url":"git@github.com:nicolas-grekas/symfony-docs.git","clone_url":"https://github.com/nicolas-grekas/symfony-docs.git","svn_url":"https://github.com/nicolas-grekas/symfony-docs","homepage":"http://symfony.com/doc/current/","size":26765,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":false,"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":"symfony:2.7","ref":"2.7","sha":"adf5b907a3cf171846ff4cc397fbf118ba8a2663","user":{"login":"symfony","id":143937,"avatar_url":"https://avatars.githubusercontent.com/u/143937?v=3","gravatar_id":"","url":"https://api.github.com/users/symfony","html_url":"https://github.com/symfony","followers_url":"https://api.github.com/users/symfony/followers","following_url":"https://api.github.com/users/symfony/following{/other_user}","gists_url":"https://api.github.com/users/symfony/gists{/gist_id}","starred_url":"https://api.github.com/users/symfony/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/symfony/subscriptions","organizations_url":"https://api.github.com/users/symfony/orgs","repos_url":"https://api.github.com/users/symfony/repos","events_url":"https://api.github.com/users/symfony/events{/privacy}","received_events_url":"https://api.github.com/users/symfony/received_events","type":"Organization","site_admin":false},"repo":{"id":521583,"name":"symfony-docs","full_name":"symfony/symfony-docs","owner":{"login":"symfony","id":143937,"avatar_url":"https://avatars.githubusercontent.com/u/143937?v=3","gravatar_id":"","url":"https://api.github.com/users/symfony","html_url":"https://github.com/symfony","followers_url":"https://api.github.com/users/symfony/followers","following_url":"https://api.github.com/users/symfony/following{/other_user}","gists_url":"https://api.github.com/users/symfony/gists{/gist_id}","starred_url":"https://api.github.com/users/symfony/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/symfony/subscriptions","organizations_url":"https://api.github.com/users/symfony/orgs","repos_url":"https://api.github.com/users/symfony/repos","events_url":"https://api.github.com/users/symfony/events{/privacy}","received_events_url":"https://api.github.com/users/symfony/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/symfony/symfony-docs","description":"The Symfony2 documentation","fork":false,"url":"https://api.github.com/repos/symfony/symfony-docs","forks_url":"https://api.github.com/repos/symfony/symfony-docs/forks","keys_url":"https://api.github.com/repos/symfony/symfony-docs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/symfony/symfony-docs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/symfony/symfony-docs/teams","hooks_url":"https://api.github.com/repos/symfony/symfony-docs/hooks","issue_events_url":"https://api.github.com/repos/symfony/symfony-docs/issues/events{/number}","events_url":"https://api.github.com/repos/symfony/symfony-docs/events","assignees_url":"https://api.github.com/repos/symfony/symfony-docs/assignees{/user}","branches_url":"https://api.github.com/repos/symfony/symfony-docs/branches{/branch}","tags_url":"https://api.github.com/repos/symfony/symfony-docs/tags","blobs_url":"https://api.github.com/repos/symfony/symfony-docs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/symfony/symfony-docs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/symfony/symfony-docs/git/refs{/sha}","trees_url":"https://api.github.com/repos/symfony/symfony-docs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/symfony/symfony-docs/statuses/{sha}","languages_url":"https://api.github.com/repos/symfony/symfony-docs/languages","stargazers_url":"https://api.github.com/repos/symfony/symfony-docs/stargazers","contributors_url":"https://api.github.com/repos/symfony/symfony-docs/contributors","subscribers_url":"https://api.github.com/repos/symfony/symfony-docs/subscribers","subscription_url":"https://api.github.com/repos/symfony/symfony-docs/subscription","commits_url":"https://api.github.com/repos/symfony/symfony-docs/commits{/sha}","git_commits_url":"https://api.github.com/repos/symfony/symfony-docs/git/commits{/sha}","comments_url":"https://api.github.com/repos/symfony/symfony-docs/comments{/number}","issue_comment_url":"https://api.github.com/repos/symfony/symfony-docs/issues/comments{/number}","contents_url":"https://api.github.com/repos/symfony/symfony-docs/contents/{+path}","compare_url":"https://api.github.com/repos/symfony/symfony-docs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/symfony/symfony-docs/merges","archive_url":"https://api.github.com/repos/symfony/symfony-docs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/symfony/symfony-docs/downloads","issues_url":"https://api.github.com/repos/symfony/symfony-docs/issues{/number}","pulls_url":"https://api.github.com/repos/symfony/symfony-docs/pulls{/number}","milestones_url":"https://api.github.com/repos/symfony/symfony-docs/milestones{/number}","notifications_url":"https://api.github.com/repos/symfony/symfony-docs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/symfony/symfony-docs/labels{/name}","releases_url":"https://api.github.com/repos/symfony/symfony-docs/releases{/id}","created_at":"2010-02-17T08:43:51Z","updated_at":"2015-03-30T19:29:19Z","pushed_at":"2015-03-31T21:32:20Z","git_url":"git://github.com/symfony/symfony-docs.git","ssh_url":"git@github.com:symfony/symfony-docs.git","clone_url":"https://github.com/symfony/symfony-docs.git","svn_url":"https://github.com/symfony/symfony-docs","homepage":"http://symfony.com/doc/current/","size":59398,"stargazers_count":968,"watchers_count":968,"language":"Python","has_issues":true,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":1762,"mirror_url":null,"open_issues_count":269,"forks":1762,"open_issues":269,"watchers":968,"default_branch":"2.7"}},"_links":{"self":{"href":"https://api.github.com/repos/symfony/symfony-docs/pulls/5127"},"html":{"href":"https://github.com/symfony/symfony-docs/pull/5127"},"issue":{"href":"https://api.github.com/repos/symfony/symfony-docs/issues/5127"},"comments":{"href":"https://api.github.com/repos/symfony/symfony-docs/issues/5127/comments"},"review_comments":{"href":"https://api.github.com/repos/symfony/symfony-docs/pulls/5127/comments"},"review_comment":{"href":"https://api.github.com/repos/symfony/symfony-docs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/symfony/symfony-docs/pulls/5127/commits"},"statuses":{"href":"https://api.github.com/repos/symfony/symfony-docs/statuses/0de92897d19990aef580730de759dd97fdefa577"}}}}