{"action":"closed","number":11,"pull_request":{"url":"https://api.github.com/repos/moserware/PHPSkills/pulls/11","id":47614943,"html_url":"https://github.com/moserware/PHPSkills/pull/11","diff_url":"https://github.com/moserware/PHPSkills/pull/11.diff","patch_url":"https://github.com/moserware/PHPSkills/pull/11.patch","issue_url":"https://api.github.com/repos/moserware/PHPSkills/issues/11","number":11,"state":"closed","locked":false,"title":"PSR-4 Namespacing and Additional Classes and Changes","user":{"login":"lpeabody","id":419534,"avatar_url":"https://avatars.githubusercontent.com/u/419534?v=3","gravatar_id":"","url":"https://api.github.com/users/lpeabody","html_url":"https://github.com/lpeabody","followers_url":"https://api.github.com/users/lpeabody/followers","following_url":"https://api.github.com/users/lpeabody/following{/other_user}","gists_url":"https://api.github.com/users/lpeabody/gists{/gist_id}","starred_url":"https://api.github.com/users/lpeabody/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lpeabody/subscriptions","organizations_url":"https://api.github.com/users/lpeabody/orgs","repos_url":"https://api.github.com/users/lpeabody/repos","events_url":"https://api.github.com/users/lpeabody/events{/privacy}","received_events_url":"https://api.github.com/users/lpeabody/received_events","type":"User","site_admin":false},"body":"### Changes\r\n#### Composer\r\n- Updated composer.json to add Jeff as a maintainer.\r\n- Add PHPUnit as a composer developer dependency.\r\n- Updated autoloading scheme to PSR-4.\r\n\r\n#### PSR-4\r\n- The namespace of the `src/` directory has been changed to **Skills**.\r\n- PHPUnit tests have been moved to the top level `tests/` directory and namespaced as **Skills\\Tests**.\r\n- All `require` statements have been removed and replaced with `use` statements.\r\n\r\n### Tests Status\r\n- All tests are either failing, throwing an error, or passing. They are not crashing. Tested on PHP 5.5.26.\r\n\r\n#### Failures\r\nThere were 3 failures:\r\n\r\n1) Skills\\Tests\\Elo\\FideEloCalculatorTest::testFideProvisionalEloCalculator\r\nFailed asserting that 1221.225511069717 matches expected 1196.25.\r\n\r\n/Users/les.peabody/Projects/PHPSkills/tests/Elo/EloAssert.php:38\r\n/Users/les.peabody/Projects/PHPSkills/tests/Elo/FideEloCalculatorTest.php:18\r\n/Users/les.peabody/Projects/PHPSkills/vendor/phpunit/phpunit/phpunit:47\r\n\r\n2) Skills\\Tests\\Elo\\FideEloCalculatorTest::testFideNonProvisionalEloCalculator\r\nFailed asserting that 1207.5 matches expected 1192.5.\r\n\r\n/Users/les.peabody/Projects/PHPSkills/tests/Elo/EloAssert.php:38\r\n/Users/les.peabody/Projects/PHPSkills/tests/Elo/FideEloCalculatorTest.php:28\r\n/Users/les.peabody/Projects/PHPSkills/vendor/phpunit/phpunit/phpunit:47\r\n\r\n3) Skills\\Tests\\TrueSkill\\TwoTeamTrueSkillCalculatorTest::testTwoTeamTrueSkillCalculator\r\nFailed asserting that 29.793996854587391 matches expected 32.012.\r\n\r\n/Users/les.peabody/Projects/PHPSkills/tests/TrueSkill/TrueSkillCalculatorTests.php:991\r\n/Users/les.peabody/Projects/PHPSkills/tests/TrueSkill/TrueSkillCalculatorTests.php:435\r\n/Users/les.peabody/Projects/PHPSkills/tests/TrueSkill/TrueSkillCalculatorTests.php:41\r\n/Users/les.peabody/Projects/PHPSkills/tests/TrueSkill/TwoTeamTrueSkillCalculatorTest.php:16\r\n/Users/les.peabody/Projects/PHPSkills/vendor/phpunit/phpunit/phpunit:47\r\n\r\n#### Errors\r\nThere was 1 error:\r\n\r\n1) Skills\\Tests\\TrueSkill\\FactorGraphTrueSkillCalculatorTest::testFactorGraphTrueSkillCalculator\r\nSkills\\InvalidOperationException: \r\n\r\n/Users/les.peabody/Projects/PHPSkills/src/TrueSkill/Layers/IteratedTeamDifferencesInnerLayer.php:51\r\n/Users/les.peabody/Projects/PHPSkills/src/TrueSkill/TrueSkillFactorGraph.php:102\r\n/Users/les.peabody/Projects/PHPSkills/src/TrueSkill/TrueSkillFactorGraph.php:72\r\n/Users/les.peabody/Projects/PHPSkills/src/TrueSkill/FactorGraphTrueSkillCalculator.php:40\r\n/Users/les.peabody/Projects/PHPSkills/tests/TrueSkill/TrueSkillCalculatorTests.php:87\r\n/Users/les.peabody/Projects/PHPSkills/tests/TrueSkill/TrueSkillCalculatorTests.php:20\r\n/Users/les.peabody/Projects/PHPSkills/tests/TrueSkill/FactorGraphTeamTrueSkillCalculatorTest.php:13\r\n/Users/les.peabody/Projects/PHPSkills/vendor/phpunit/phpunit/phpunit:47","created_at":"2015-10-14T03:42:07Z","updated_at":"2016-05-31T13:16:00Z","closed_at":"2016-05-31T13:15:59Z","merged_at":null,"merge_commit_sha":"5cac6fe9c705717f72e845c703a9cf256df6b97b","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/moserware/PHPSkills/pulls/11/commits","review_comments_url":"https://api.github.com/repos/moserware/PHPSkills/pulls/11/comments","review_comment_url":"https://api.github.com/repos/moserware/PHPSkills/pulls/comments{/number}","comments_url":"https://api.github.com/repos/moserware/PHPSkills/issues/11/comments","statuses_url":"https://api.github.com/repos/moserware/PHPSkills/statuses/51805e2b994e31e1b01ae7f0ebea2f17b4293376","head":{"label":"lpeabody:feature/psr4","ref":"feature/psr4","sha":"51805e2b994e31e1b01ae7f0ebea2f17b4293376","user":{"login":"lpeabody","id":419534,"avatar_url":"https://avatars.githubusercontent.com/u/419534?v=3","gravatar_id":"","url":"https://api.github.com/users/lpeabody","html_url":"https://github.com/lpeabody","followers_url":"https://api.github.com/users/lpeabody/followers","following_url":"https://api.github.com/users/lpeabody/following{/other_user}","gists_url":"https://api.github.com/users/lpeabody/gists{/gist_id}","starred_url":"https://api.github.com/users/lpeabody/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lpeabody/subscriptions","organizations_url":"https://api.github.com/users/lpeabody/orgs","repos_url":"https://api.github.com/users/lpeabody/repos","events_url":"https://api.github.com/users/lpeabody/events{/privacy}","received_events_url":"https://api.github.com/users/lpeabody/received_events","type":"User","site_admin":false},"repo":{"id":42362320,"name":"PHPSkills","full_name":"lpeabody/PHPSkills","owner":{"login":"lpeabody","id":419534,"avatar_url":"https://avatars.githubusercontent.com/u/419534?v=3","gravatar_id":"","url":"https://api.github.com/users/lpeabody","html_url":"https://github.com/lpeabody","followers_url":"https://api.github.com/users/lpeabody/followers","following_url":"https://api.github.com/users/lpeabody/following{/other_user}","gists_url":"https://api.github.com/users/lpeabody/gists{/gist_id}","starred_url":"https://api.github.com/users/lpeabody/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lpeabody/subscriptions","organizations_url":"https://api.github.com/users/lpeabody/orgs","repos_url":"https://api.github.com/users/lpeabody/repos","events_url":"https://api.github.com/users/lpeabody/events{/privacy}","received_events_url":"https://api.github.com/users/lpeabody/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lpeabody/PHPSkills","description":"An implementation of the TrueSkill algorithm in PHP","fork":true,"url":"https://api.github.com/repos/lpeabody/PHPSkills","forks_url":"https://api.github.com/repos/lpeabody/PHPSkills/forks","keys_url":"https://api.github.com/repos/lpeabody/PHPSkills/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lpeabody/PHPSkills/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lpeabody/PHPSkills/teams","hooks_url":"https://api.github.com/repos/lpeabody/PHPSkills/hooks","issue_events_url":"https://api.github.com/repos/lpeabody/PHPSkills/issues/events{/number}","events_url":"https://api.github.com/repos/lpeabody/PHPSkills/events","assignees_url":"https://api.github.com/repos/lpeabody/PHPSkills/assignees{/user}","branches_url":"https://api.github.com/repos/lpeabody/PHPSkills/branches{/branch}","tags_url":"https://api.github.com/repos/lpeabody/PHPSkills/tags","blobs_url":"https://api.github.com/repos/lpeabody/PHPSkills/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lpeabody/PHPSkills/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lpeabody/PHPSkills/git/refs{/sha}","trees_url":"https://api.github.com/repos/lpeabody/PHPSkills/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lpeabody/PHPSkills/statuses/{sha}","languages_url":"https://api.github.com/repos/lpeabody/PHPSkills/languages","stargazers_url":"https://api.github.com/repos/lpeabody/PHPSkills/stargazers","contributors_url":"https://api.github.com/repos/lpeabody/PHPSkills/contributors","subscribers_url":"https://api.github.com/repos/lpeabody/PHPSkills/subscribers","subscription_url":"https://api.github.com/repos/lpeabody/PHPSkills/subscription","commits_url":"https://api.github.com/repos/lpeabody/PHPSkills/commits{/sha}","git_commits_url":"https://api.github.com/repos/lpeabody/PHPSkills/git/commits{/sha}","comments_url":"https://api.github.com/repos/lpeabody/PHPSkills/comments{/number}","issue_comment_url":"https://api.github.com/repos/lpeabody/PHPSkills/issues/comments{/number}","contents_url":"https://api.github.com/repos/lpeabody/PHPSkills/contents/{+path}","compare_url":"https://api.github.com/repos/lpeabody/PHPSkills/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lpeabody/PHPSkills/merges","archive_url":"https://api.github.com/repos/lpeabody/PHPSkills/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lpeabody/PHPSkills/downloads","issues_url":"https://api.github.com/repos/lpeabody/PHPSkills/issues{/number}","pulls_url":"https://api.github.com/repos/lpeabody/PHPSkills/pulls{/number}","milestones_url":"https://api.github.com/repos/lpeabody/PHPSkills/milestones{/number}","notifications_url":"https://api.github.com/repos/lpeabody/PHPSkills/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lpeabody/PHPSkills/labels{/name}","releases_url":"https://api.github.com/repos/lpeabody/PHPSkills/releases{/id}","deployments_url":"https://api.github.com/repos/lpeabody/PHPSkills/deployments","created_at":"2015-09-12T15:37:26Z","updated_at":"2015-09-12T15:37:26Z","pushed_at":"2015-11-17T20:07:14Z","git_url":"git://github.com/lpeabody/PHPSkills.git","ssh_url":"git@github.com:lpeabody/PHPSkills.git","clone_url":"https://github.com/lpeabody/PHPSkills.git","svn_url":"https://github.com/lpeabody/PHPSkills","homepage":"http://www.moserware.com/2010/03/computing-your-skill.html","size":570,"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":"develop"}},"base":{"label":"moserware:master","ref":"master","sha":"2f5c8fe2b4b5dd6e3154f9506b802d1f59ac0c35","user":{"login":"moserware","id":93533,"avatar_url":"https://avatars.githubusercontent.com/u/93533?v=3","gravatar_id":"","url":"https://api.github.com/users/moserware","html_url":"https://github.com/moserware","followers_url":"https://api.github.com/users/moserware/followers","following_url":"https://api.github.com/users/moserware/following{/other_user}","gists_url":"https://api.github.com/users/moserware/gists{/gist_id}","starred_url":"https://api.github.com/users/moserware/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moserware/subscriptions","organizations_url":"https://api.github.com/users/moserware/orgs","repos_url":"https://api.github.com/users/moserware/repos","events_url":"https://api.github.com/users/moserware/events{/privacy}","received_events_url":"https://api.github.com/users/moserware/received_events","type":"User","site_admin":false},"repo":{"id":974585,"name":"PHPSkills","full_name":"moserware/PHPSkills","owner":{"login":"moserware","id":93533,"avatar_url":"https://avatars.githubusercontent.com/u/93533?v=3","gravatar_id":"","url":"https://api.github.com/users/moserware","html_url":"https://github.com/moserware","followers_url":"https://api.github.com/users/moserware/followers","following_url":"https://api.github.com/users/moserware/following{/other_user}","gists_url":"https://api.github.com/users/moserware/gists{/gist_id}","starred_url":"https://api.github.com/users/moserware/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moserware/subscriptions","organizations_url":"https://api.github.com/users/moserware/orgs","repos_url":"https://api.github.com/users/moserware/repos","events_url":"https://api.github.com/users/moserware/events{/privacy}","received_events_url":"https://api.github.com/users/moserware/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/moserware/PHPSkills","description":"An implementation of the TrueSkill algorithm in PHP","fork":false,"url":"https://api.github.com/repos/moserware/PHPSkills","forks_url":"https://api.github.com/repos/moserware/PHPSkills/forks","keys_url":"https://api.github.com/repos/moserware/PHPSkills/keys{/key_id}","collaborators_url":"https://api.github.com/repos/moserware/PHPSkills/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/moserware/PHPSkills/teams","hooks_url":"https://api.github.com/repos/moserware/PHPSkills/hooks","issue_events_url":"https://api.github.com/repos/moserware/PHPSkills/issues/events{/number}","events_url":"https://api.github.com/repos/moserware/PHPSkills/events","assignees_url":"https://api.github.com/repos/moserware/PHPSkills/assignees{/user}","branches_url":"https://api.github.com/repos/moserware/PHPSkills/branches{/branch}","tags_url":"https://api.github.com/repos/moserware/PHPSkills/tags","blobs_url":"https://api.github.com/repos/moserware/PHPSkills/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/moserware/PHPSkills/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/moserware/PHPSkills/git/refs{/sha}","trees_url":"https://api.github.com/repos/moserware/PHPSkills/git/trees{/sha}","statuses_url":"https://api.github.com/repos/moserware/PHPSkills/statuses/{sha}","languages_url":"https://api.github.com/repos/moserware/PHPSkills/languages","stargazers_url":"https://api.github.com/repos/moserware/PHPSkills/stargazers","contributors_url":"https://api.github.com/repos/moserware/PHPSkills/contributors","subscribers_url":"https://api.github.com/repos/moserware/PHPSkills/subscribers","subscription_url":"https://api.github.com/repos/moserware/PHPSkills/subscription","commits_url":"https://api.github.com/repos/moserware/PHPSkills/commits{/sha}","git_commits_url":"https://api.github.com/repos/moserware/PHPSkills/git/commits{/sha}","comments_url":"https://api.github.com/repos/moserware/PHPSkills/comments{/number}","issue_comment_url":"https://api.github.com/repos/moserware/PHPSkills/issues/comments{/number}","contents_url":"https://api.github.com/repos/moserware/PHPSkills/contents/{+path}","compare_url":"https://api.github.com/repos/moserware/PHPSkills/compare/{base}...{head}","merges_url":"https://api.github.com/repos/moserware/PHPSkills/merges","archive_url":"https://api.github.com/repos/moserware/PHPSkills/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/moserware/PHPSkills/downloads","issues_url":"https://api.github.com/repos/moserware/PHPSkills/issues{/number}","pulls_url":"https://api.github.com/repos/moserware/PHPSkills/pulls{/number}","milestones_url":"https://api.github.com/repos/moserware/PHPSkills/milestones{/number}","notifications_url":"https://api.github.com/repos/moserware/PHPSkills/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/moserware/PHPSkills/labels{/name}","releases_url":"https://api.github.com/repos/moserware/PHPSkills/releases{/id}","deployments_url":"https://api.github.com/repos/moserware/PHPSkills/deployments","created_at":"2010-10-09T14:39:14Z","updated_at":"2016-05-23T20:32:35Z","pushed_at":"2016-05-31T12:58:26Z","git_url":"git://github.com/moserware/PHPSkills.git","ssh_url":"git@github.com:moserware/PHPSkills.git","clone_url":"https://github.com/moserware/PHPSkills.git","svn_url":"https://github.com/moserware/PHPSkills","homepage":"http://www.moserware.com/2010/03/computing-your-skill.html","size":657,"stargazers_count":57,"watchers_count":57,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":14,"mirror_url":null,"open_issues_count":6,"forks":14,"open_issues":6,"watchers":57,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/moserware/PHPSkills/pulls/11"},"html":{"href":"https://github.com/moserware/PHPSkills/pull/11"},"issue":{"href":"https://api.github.com/repos/moserware/PHPSkills/issues/11"},"comments":{"href":"https://api.github.com/repos/moserware/PHPSkills/issues/11/comments"},"review_comments":{"href":"https://api.github.com/repos/moserware/PHPSkills/pulls/11/comments"},"review_comment":{"href":"https://api.github.com/repos/moserware/PHPSkills/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/moserware/PHPSkills/pulls/11/commits"},"statuses":{"href":"https://api.github.com/repos/moserware/PHPSkills/statuses/51805e2b994e31e1b01ae7f0ebea2f17b4293376"}},"merged":false,"mergeable":false,"mergeable_state":"dirty","merged_by":null,"comments":3,"review_comments":0,"commits":18,"additions":2172,"deletions":1333,"changed_files":94}}
{"actor":{"display_login":"Zn4rK"}}