{"action":"created","comment":{"url":"https://api.github.com/repos/phpspec/phpspec/pulls/comments/64147357","id":64147357,"diff_hunk":"@@ -1,23 +1,53 @@\n Installation\n ============\n \n-**phpspec** is a php 5.3+ library that you'll have in your project\n-development environment. Before you begin, ensure that you have at least\n-PHP 5.3.3 installed.\n+**phpspec** is a php 5.6+ library that you'll have in your project\n+development environment. Before you begin, ensure that you have\n+PHP 5.6 or 7 installed.\n \n-Method #1 (Composer)\n---------------------\n+Installation process:\n+---------------------\n \n-The simplest way to install phpspec with all its dependencies is through\n-Composer.\n+You can install phpspec with all its dependencies through Composer. Follow\n+instructions on `the composer website <https://getcomposer.org/download/>`_ if\n+you don't have it installed yet.\n \n-First, create a ``composer.json`` file in your project's root directory:\n+N.b.: You will need to ensure that your Composer ``autoload`` settings are\n+correct. phpspec will not be able to detect classes, even ones it has created,\n+unless this is working. This is a common issue which causes confusion when\n+installing phpspec.\n+\n+The ``autoload`` section of your ``composer.json`` file may look something like\n+this:\n+\n+.. code-block:: json\n+\n+    \"autoload\": {\n+        \"psr-0\": {\n+            \"\": \"src/\"","path":"docs/manual/installation.rst","position":35,"original_position":35,"commit_id":"a672038c15c2a2d3926da988c8638a6099eaa5e1","original_commit_id":"a672038c15c2a2d3926da988c8638a6099eaa5e1","user":{"login":"ciaranmcnulty","id":237866,"avatar_url":"https://avatars.githubusercontent.com/u/237866?v=3","gravatar_id":"","url":"https://api.github.com/users/ciaranmcnulty","html_url":"https://github.com/ciaranmcnulty","followers_url":"https://api.github.com/users/ciaranmcnulty/followers","following_url":"https://api.github.com/users/ciaranmcnulty/following{/other_user}","gists_url":"https://api.github.com/users/ciaranmcnulty/gists{/gist_id}","starred_url":"https://api.github.com/users/ciaranmcnulty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ciaranmcnulty/subscriptions","organizations_url":"https://api.github.com/users/ciaranmcnulty/orgs","repos_url":"https://api.github.com/users/ciaranmcnulty/repos","events_url":"https://api.github.com/users/ciaranmcnulty/events{/privacy}","received_events_url":"https://api.github.com/users/ciaranmcnulty/received_events","type":"User","site_admin":false},"body":"What's the benefit of the trailing slash? it's inconsistent with the other method below","created_at":"2016-05-22T10:03:21Z","updated_at":"2016-05-22T10:03:21Z","html_url":"https://github.com/phpspec/phpspec/pull/919#discussion_r64147357","pull_request_url":"https://api.github.com/repos/phpspec/phpspec/pulls/919","_links":{"self":{"href":"https://api.github.com/repos/phpspec/phpspec/pulls/comments/64147357"},"html":{"href":"https://github.com/phpspec/phpspec/pull/919#discussion_r64147357"},"pull_request":{"href":"https://api.github.com/repos/phpspec/phpspec/pulls/919"}}},"pull_request":{"url":"https://api.github.com/repos/phpspec/phpspec/pulls/919","id":70332889,"html_url":"https://github.com/phpspec/phpspec/pull/919","diff_url":"https://github.com/phpspec/phpspec/pull/919.diff","patch_url":"https://github.com/phpspec/phpspec/pull/919.patch","issue_url":"https://api.github.com/repos/phpspec/phpspec/issues/919","number":919,"state":"open","locked":false,"title":"Docs improvements - installation","user":{"login":"Sam-Burns","id":6594039,"avatar_url":"https://avatars.githubusercontent.com/u/6594039?v=3","gravatar_id":"","url":"https://api.github.com/users/Sam-Burns","html_url":"https://github.com/Sam-Burns","followers_url":"https://api.github.com/users/Sam-Burns/followers","following_url":"https://api.github.com/users/Sam-Burns/following{/other_user}","gists_url":"https://api.github.com/users/Sam-Burns/gists{/gist_id}","starred_url":"https://api.github.com/users/Sam-Burns/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sam-Burns/subscriptions","organizations_url":"https://api.github.com/users/Sam-Burns/orgs","repos_url":"https://api.github.com/users/Sam-Burns/repos","events_url":"https://api.github.com/users/Sam-Burns/events{/privacy}","received_events_url":"https://api.github.com/users/Sam-Burns/received_events","type":"User","site_admin":false},"body":"Changes discussed in https://github.com/phpspec/phpspec/issues/907","created_at":"2016-05-17T10:24:36Z","updated_at":"2016-05-22T10:03:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":"25d6b829b2c2430acddcdd8e39d2ed0130745fef","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/phpspec/phpspec/pulls/919/commits","review_comments_url":"https://api.github.com/repos/phpspec/phpspec/pulls/919/comments","review_comment_url":"https://api.github.com/repos/phpspec/phpspec/pulls/comments{/number}","comments_url":"https://api.github.com/repos/phpspec/phpspec/issues/919/comments","statuses_url":"https://api.github.com/repos/phpspec/phpspec/statuses/a672038c15c2a2d3926da988c8638a6099eaa5e1","head":{"label":"Sam-Burns:installation-docs-update","ref":"installation-docs-update","sha":"a672038c15c2a2d3926da988c8638a6099eaa5e1","user":{"login":"Sam-Burns","id":6594039,"avatar_url":"https://avatars.githubusercontent.com/u/6594039?v=3","gravatar_id":"","url":"https://api.github.com/users/Sam-Burns","html_url":"https://github.com/Sam-Burns","followers_url":"https://api.github.com/users/Sam-Burns/followers","following_url":"https://api.github.com/users/Sam-Burns/following{/other_user}","gists_url":"https://api.github.com/users/Sam-Burns/gists{/gist_id}","starred_url":"https://api.github.com/users/Sam-Burns/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sam-Burns/subscriptions","organizations_url":"https://api.github.com/users/Sam-Burns/orgs","repos_url":"https://api.github.com/users/Sam-Burns/repos","events_url":"https://api.github.com/users/Sam-Burns/events{/privacy}","received_events_url":"https://api.github.com/users/Sam-Burns/received_events","type":"User","site_admin":false},"repo":{"id":58946605,"name":"phpspec","full_name":"Sam-Burns/phpspec","owner":{"login":"Sam-Burns","id":6594039,"avatar_url":"https://avatars.githubusercontent.com/u/6594039?v=3","gravatar_id":"","url":"https://api.github.com/users/Sam-Burns","html_url":"https://github.com/Sam-Burns","followers_url":"https://api.github.com/users/Sam-Burns/followers","following_url":"https://api.github.com/users/Sam-Burns/following{/other_user}","gists_url":"https://api.github.com/users/Sam-Burns/gists{/gist_id}","starred_url":"https://api.github.com/users/Sam-Burns/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sam-Burns/subscriptions","organizations_url":"https://api.github.com/users/Sam-Burns/orgs","repos_url":"https://api.github.com/users/Sam-Burns/repos","events_url":"https://api.github.com/users/Sam-Burns/events{/privacy}","received_events_url":"https://api.github.com/users/Sam-Burns/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Sam-Burns/phpspec","description":"SpecBDD Framework for PHP","fork":true,"url":"https://api.github.com/repos/Sam-Burns/phpspec","forks_url":"https://api.github.com/repos/Sam-Burns/phpspec/forks","keys_url":"https://api.github.com/repos/Sam-Burns/phpspec/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Sam-Burns/phpspec/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Sam-Burns/phpspec/teams","hooks_url":"https://api.github.com/repos/Sam-Burns/phpspec/hooks","issue_events_url":"https://api.github.com/repos/Sam-Burns/phpspec/issues/events{/number}","events_url":"https://api.github.com/repos/Sam-Burns/phpspec/events","assignees_url":"https://api.github.com/repos/Sam-Burns/phpspec/assignees{/user}","branches_url":"https://api.github.com/repos/Sam-Burns/phpspec/branches{/branch}","tags_url":"https://api.github.com/repos/Sam-Burns/phpspec/tags","blobs_url":"https://api.github.com/repos/Sam-Burns/phpspec/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Sam-Burns/phpspec/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Sam-Burns/phpspec/git/refs{/sha}","trees_url":"https://api.github.com/repos/Sam-Burns/phpspec/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Sam-Burns/phpspec/statuses/{sha}","languages_url":"https://api.github.com/repos/Sam-Burns/phpspec/languages","stargazers_url":"https://api.github.com/repos/Sam-Burns/phpspec/stargazers","contributors_url":"https://api.github.com/repos/Sam-Burns/phpspec/contributors","subscribers_url":"https://api.github.com/repos/Sam-Burns/phpspec/subscribers","subscription_url":"https://api.github.com/repos/Sam-Burns/phpspec/subscription","commits_url":"https://api.github.com/repos/Sam-Burns/phpspec/commits{/sha}","git_commits_url":"https://api.github.com/repos/Sam-Burns/phpspec/git/commits{/sha}","comments_url":"https://api.github.com/repos/Sam-Burns/phpspec/comments{/number}","issue_comment_url":"https://api.github.com/repos/Sam-Burns/phpspec/issues/comments{/number}","contents_url":"https://api.github.com/repos/Sam-Burns/phpspec/contents/{+path}","compare_url":"https://api.github.com/repos/Sam-Burns/phpspec/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Sam-Burns/phpspec/merges","archive_url":"https://api.github.com/repos/Sam-Burns/phpspec/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Sam-Burns/phpspec/downloads","issues_url":"https://api.github.com/repos/Sam-Burns/phpspec/issues{/number}","pulls_url":"https://api.github.com/repos/Sam-Burns/phpspec/pulls{/number}","milestones_url":"https://api.github.com/repos/Sam-Burns/phpspec/milestones{/number}","notifications_url":"https://api.github.com/repos/Sam-Burns/phpspec/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Sam-Burns/phpspec/labels{/name}","releases_url":"https://api.github.com/repos/Sam-Burns/phpspec/releases{/id}","deployments_url":"https://api.github.com/repos/Sam-Burns/phpspec/deployments","created_at":"2016-05-16T16:05:04Z","updated_at":"2016-05-16T16:05:06Z","pushed_at":"2016-05-20T00:08:18Z","git_url":"git://github.com/Sam-Burns/phpspec.git","ssh_url":"git@github.com:Sam-Burns/phpspec.git","clone_url":"https://github.com/Sam-Burns/phpspec.git","svn_url":"https://github.com/Sam-Burns/phpspec","homepage":"http://www.phpspec.net","size":3811,"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":"phpspec:master","ref":"master","sha":"91e07f8ae67dda4eebf45c99a67d9d92673badac","user":{"login":"phpspec","id":416702,"avatar_url":"https://avatars.githubusercontent.com/u/416702?v=3","gravatar_id":"","url":"https://api.github.com/users/phpspec","html_url":"https://github.com/phpspec","followers_url":"https://api.github.com/users/phpspec/followers","following_url":"https://api.github.com/users/phpspec/following{/other_user}","gists_url":"https://api.github.com/users/phpspec/gists{/gist_id}","starred_url":"https://api.github.com/users/phpspec/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phpspec/subscriptions","organizations_url":"https://api.github.com/users/phpspec/orgs","repos_url":"https://api.github.com/users/phpspec/repos","events_url":"https://api.github.com/users/phpspec/events{/privacy}","received_events_url":"https://api.github.com/users/phpspec/received_events","type":"Organization","site_admin":false},"repo":{"id":1582219,"name":"phpspec","full_name":"phpspec/phpspec","owner":{"login":"phpspec","id":416702,"avatar_url":"https://avatars.githubusercontent.com/u/416702?v=3","gravatar_id":"","url":"https://api.github.com/users/phpspec","html_url":"https://github.com/phpspec","followers_url":"https://api.github.com/users/phpspec/followers","following_url":"https://api.github.com/users/phpspec/following{/other_user}","gists_url":"https://api.github.com/users/phpspec/gists{/gist_id}","starred_url":"https://api.github.com/users/phpspec/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phpspec/subscriptions","organizations_url":"https://api.github.com/users/phpspec/orgs","repos_url":"https://api.github.com/users/phpspec/repos","events_url":"https://api.github.com/users/phpspec/events{/privacy}","received_events_url":"https://api.github.com/users/phpspec/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/phpspec/phpspec","description":"SpecBDD Framework for PHP","fork":false,"url":"https://api.github.com/repos/phpspec/phpspec","forks_url":"https://api.github.com/repos/phpspec/phpspec/forks","keys_url":"https://api.github.com/repos/phpspec/phpspec/keys{/key_id}","collaborators_url":"https://api.github.com/repos/phpspec/phpspec/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/phpspec/phpspec/teams","hooks_url":"https://api.github.com/repos/phpspec/phpspec/hooks","issue_events_url":"https://api.github.com/repos/phpspec/phpspec/issues/events{/number}","events_url":"https://api.github.com/repos/phpspec/phpspec/events","assignees_url":"https://api.github.com/repos/phpspec/phpspec/assignees{/user}","branches_url":"https://api.github.com/repos/phpspec/phpspec/branches{/branch}","tags_url":"https://api.github.com/repos/phpspec/phpspec/tags","blobs_url":"https://api.github.com/repos/phpspec/phpspec/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/phpspec/phpspec/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/phpspec/phpspec/git/refs{/sha}","trees_url":"https://api.github.com/repos/phpspec/phpspec/git/trees{/sha}","statuses_url":"https://api.github.com/repos/phpspec/phpspec/statuses/{sha}","languages_url":"https://api.github.com/repos/phpspec/phpspec/languages","stargazers_url":"https://api.github.com/repos/phpspec/phpspec/stargazers","contributors_url":"https://api.github.com/repos/phpspec/phpspec/contributors","subscribers_url":"https://api.github.com/repos/phpspec/phpspec/subscribers","subscription_url":"https://api.github.com/repos/phpspec/phpspec/subscription","commits_url":"https://api.github.com/repos/phpspec/phpspec/commits{/sha}","git_commits_url":"https://api.github.com/repos/phpspec/phpspec/git/commits{/sha}","comments_url":"https://api.github.com/repos/phpspec/phpspec/comments{/number}","issue_comment_url":"https://api.github.com/repos/phpspec/phpspec/issues/comments{/number}","contents_url":"https://api.github.com/repos/phpspec/phpspec/contents/{+path}","compare_url":"https://api.github.com/repos/phpspec/phpspec/compare/{base}...{head}","merges_url":"https://api.github.com/repos/phpspec/phpspec/merges","archive_url":"https://api.github.com/repos/phpspec/phpspec/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/phpspec/phpspec/downloads","issues_url":"https://api.github.com/repos/phpspec/phpspec/issues{/number}","pulls_url":"https://api.github.com/repos/phpspec/phpspec/pulls{/number}","milestones_url":"https://api.github.com/repos/phpspec/phpspec/milestones{/number}","notifications_url":"https://api.github.com/repos/phpspec/phpspec/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/phpspec/phpspec/labels{/name}","releases_url":"https://api.github.com/repos/phpspec/phpspec/releases{/id}","deployments_url":"https://api.github.com/repos/phpspec/phpspec/deployments","created_at":"2011-04-07T12:48:08Z","updated_at":"2016-05-19T09:36:01Z","pushed_at":"2016-05-22T10:00:41Z","git_url":"git://github.com/phpspec/phpspec.git","ssh_url":"git@github.com:phpspec/phpspec.git","clone_url":"https://github.com/phpspec/phpspec.git","svn_url":"https://github.com/phpspec/phpspec","homepage":"http://www.phpspec.net","size":5171,"stargazers_count":984,"watchers_count":984,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":199,"mirror_url":null,"open_issues_count":107,"forks":199,"open_issues":107,"watchers":984,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/phpspec/phpspec/pulls/919"},"html":{"href":"https://github.com/phpspec/phpspec/pull/919"},"issue":{"href":"https://api.github.com/repos/phpspec/phpspec/issues/919"},"comments":{"href":"https://api.github.com/repos/phpspec/phpspec/issues/919/comments"},"review_comments":{"href":"https://api.github.com/repos/phpspec/phpspec/pulls/919/comments"},"review_comment":{"href":"https://api.github.com/repos/phpspec/phpspec/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/phpspec/phpspec/pulls/919/commits"},"statuses":{"href":"https://api.github.com/repos/phpspec/phpspec/statuses/a672038c15c2a2d3926da988c8638a6099eaa5e1"}}}}
{"actor":{"display_login":"ciaranmcnulty"}}