{"action":"created","comment":{"url":"https://api.github.com/repos/aws/aws-sdk-php/pulls/comments/28623813","id":28623813,"diff_hunk":"@@ -54,7 +54,7 @@\n }\n \n // Instantiate the service builder\n-$aws = Aws\\Common\\Aws::factory(isset($_SERVER['CONFIG']) ? $_SERVER['CONFIG'] : 'test_services.dist.json');\n+$aws = Aws\\Common\\Aws::factory(isset($_SERVER['CONFIG']) ? $_SERVER['CONFIG'] : (__DIR__) . '/../test_services.dist.json');","path":"tests/bootstrap.php","position":5,"original_position":5,"commit_id":"ed8398ab593d810b186072580a57593aca808313","original_commit_id":"ed8398ab593d810b186072580a57593aca808313","user":{"login":"GrahamCampbell","id":2829600,"avatar_url":"https://avatars.githubusercontent.com/u/2829600?v=3","gravatar_id":"","url":"https://api.github.com/users/GrahamCampbell","html_url":"https://github.com/GrahamCampbell","followers_url":"https://api.github.com/users/GrahamCampbell/followers","following_url":"https://api.github.com/users/GrahamCampbell/following{/other_user}","gists_url":"https://api.github.com/users/GrahamCampbell/gists{/gist_id}","starred_url":"https://api.github.com/users/GrahamCampbell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GrahamCampbell/subscriptions","organizations_url":"https://api.github.com/users/GrahamCampbell/orgs","repos_url":"https://api.github.com/users/GrahamCampbell/repos","events_url":"https://api.github.com/users/GrahamCampbell/events{/privacy}","received_events_url":"https://api.github.com/users/GrahamCampbell/received_events","type":"User","site_admin":false},"body":"you don't need brackets around `__DIR__`","created_at":"2015-04-17T19:39:10Z","updated_at":"2015-04-17T19:39:10Z","html_url":"https://github.com/aws/aws-sdk-php/pull/535#discussion_r28623813","pull_request_url":"https://api.github.com/repos/aws/aws-sdk-php/pulls/535","_links":{"self":{"href":"https://api.github.com/repos/aws/aws-sdk-php/pulls/comments/28623813"},"html":{"href":"https://github.com/aws/aws-sdk-php/pull/535#discussion_r28623813"},"pull_request":{"href":"https://api.github.com/repos/aws/aws-sdk-php/pulls/535"}}},"pull_request":{"url":"https://api.github.com/repos/aws/aws-sdk-php/pulls/535","id":33544895,"html_url":"https://github.com/aws/aws-sdk-php/pull/535","diff_url":"https://github.com/aws/aws-sdk-php/pull/535.diff","patch_url":"https://github.com/aws/aws-sdk-php/pull/535.patch","issue_url":"https://api.github.com/repos/aws/aws-sdk-php/issues/535","number":535,"state":"open","locked":false,"title":"Fix assuming tests are run from the project root.","user":{"login":"deviantintegral","id":255023,"avatar_url":"https://avatars.githubusercontent.com/u/255023?v=3","gravatar_id":"","url":"https://api.github.com/users/deviantintegral","html_url":"https://github.com/deviantintegral","followers_url":"https://api.github.com/users/deviantintegral/followers","following_url":"https://api.github.com/users/deviantintegral/following{/other_user}","gists_url":"https://api.github.com/users/deviantintegral/gists{/gist_id}","starred_url":"https://api.github.com/users/deviantintegral/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deviantintegral/subscriptions","organizations_url":"https://api.github.com/users/deviantintegral/orgs","repos_url":"https://api.github.com/users/deviantintegral/repos","events_url":"https://api.github.com/users/deviantintegral/events{/privacy}","received_events_url":"https://api.github.com/users/deviantintegral/received_events","type":"User","site_admin":false},"body":"When running individual tests in PHPStorm, the cwd is set to the path of the file you are testing. This fixes not being able to resolve `test_services.dist.json`.","created_at":"2015-04-17T13:40:55Z","updated_at":"2015-04-17T19:39:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8f517bad7eeff8e7418f01fafc51c67d8473118e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/aws/aws-sdk-php/pulls/535/commits","review_comments_url":"https://api.github.com/repos/aws/aws-sdk-php/pulls/535/comments","review_comment_url":"https://api.github.com/repos/aws/aws-sdk-php/pulls/comments{/number}","comments_url":"https://api.github.com/repos/aws/aws-sdk-php/issues/535/comments","statuses_url":"https://api.github.com/repos/aws/aws-sdk-php/statuses/ed8398ab593d810b186072580a57593aca808313","head":{"label":"deviantintegral:test-services-path","ref":"test-services-path","sha":"ed8398ab593d810b186072580a57593aca808313","user":{"login":"deviantintegral","id":255023,"avatar_url":"https://avatars.githubusercontent.com/u/255023?v=3","gravatar_id":"","url":"https://api.github.com/users/deviantintegral","html_url":"https://github.com/deviantintegral","followers_url":"https://api.github.com/users/deviantintegral/followers","following_url":"https://api.github.com/users/deviantintegral/following{/other_user}","gists_url":"https://api.github.com/users/deviantintegral/gists{/gist_id}","starred_url":"https://api.github.com/users/deviantintegral/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deviantintegral/subscriptions","organizations_url":"https://api.github.com/users/deviantintegral/orgs","repos_url":"https://api.github.com/users/deviantintegral/repos","events_url":"https://api.github.com/users/deviantintegral/events{/privacy}","received_events_url":"https://api.github.com/users/deviantintegral/received_events","type":"User","site_admin":false},"repo":{"id":34118707,"name":"aws-sdk-php","full_name":"deviantintegral/aws-sdk-php","owner":{"login":"deviantintegral","id":255023,"avatar_url":"https://avatars.githubusercontent.com/u/255023?v=3","gravatar_id":"","url":"https://api.github.com/users/deviantintegral","html_url":"https://github.com/deviantintegral","followers_url":"https://api.github.com/users/deviantintegral/followers","following_url":"https://api.github.com/users/deviantintegral/following{/other_user}","gists_url":"https://api.github.com/users/deviantintegral/gists{/gist_id}","starred_url":"https://api.github.com/users/deviantintegral/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deviantintegral/subscriptions","organizations_url":"https://api.github.com/users/deviantintegral/orgs","repos_url":"https://api.github.com/users/deviantintegral/repos","events_url":"https://api.github.com/users/deviantintegral/events{/privacy}","received_events_url":"https://api.github.com/users/deviantintegral/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/deviantintegral/aws-sdk-php","description":"Official repository of the AWS SDK for PHP (@awsforphp)","fork":true,"url":"https://api.github.com/repos/deviantintegral/aws-sdk-php","forks_url":"https://api.github.com/repos/deviantintegral/aws-sdk-php/forks","keys_url":"https://api.github.com/repos/deviantintegral/aws-sdk-php/keys{/key_id}","collaborators_url":"https://api.github.com/repos/deviantintegral/aws-sdk-php/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/deviantintegral/aws-sdk-php/teams","hooks_url":"https://api.github.com/repos/deviantintegral/aws-sdk-php/hooks","issue_events_url":"https://api.github.com/repos/deviantintegral/aws-sdk-php/issues/events{/number}","events_url":"https://api.github.com/repos/deviantintegral/aws-sdk-php/events","assignees_url":"https://api.github.com/repos/deviantintegral/aws-sdk-php/assignees{/user}","branches_url":"https://api.github.com/repos/deviantintegral/aws-sdk-php/branches{/branch}","tags_url":"https://api.github.com/repos/deviantintegral/aws-sdk-php/tags","blobs_url":"https://api.github.com/repos/deviantintegral/aws-sdk-php/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/deviantintegral/aws-sdk-php/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/deviantintegral/aws-sdk-php/git/refs{/sha}","trees_url":"https://api.github.com/repos/deviantintegral/aws-sdk-php/git/trees{/sha}","statuses_url":"https://api.github.com/repos/deviantintegral/aws-sdk-php/statuses/{sha}","languages_url":"https://api.github.com/repos/deviantintegral/aws-sdk-php/languages","stargazers_url":"https://api.github.com/repos/deviantintegral/aws-sdk-php/stargazers","contributors_url":"https://api.github.com/repos/deviantintegral/aws-sdk-php/contributors","subscribers_url":"https://api.github.com/repos/deviantintegral/aws-sdk-php/subscribers","subscription_url":"https://api.github.com/repos/deviantintegral/aws-sdk-php/subscription","commits_url":"https://api.github.com/repos/deviantintegral/aws-sdk-php/commits{/sha}","git_commits_url":"https://api.github.com/repos/deviantintegral/aws-sdk-php/git/commits{/sha}","comments_url":"https://api.github.com/repos/deviantintegral/aws-sdk-php/comments{/number}","issue_comment_url":"https://api.github.com/repos/deviantintegral/aws-sdk-php/issues/comments{/number}","contents_url":"https://api.github.com/repos/deviantintegral/aws-sdk-php/contents/{+path}","compare_url":"https://api.github.com/repos/deviantintegral/aws-sdk-php/compare/{base}...{head}","merges_url":"https://api.github.com/repos/deviantintegral/aws-sdk-php/merges","archive_url":"https://api.github.com/repos/deviantintegral/aws-sdk-php/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/deviantintegral/aws-sdk-php/downloads","issues_url":"https://api.github.com/repos/deviantintegral/aws-sdk-php/issues{/number}","pulls_url":"https://api.github.com/repos/deviantintegral/aws-sdk-php/pulls{/number}","milestones_url":"https://api.github.com/repos/deviantintegral/aws-sdk-php/milestones{/number}","notifications_url":"https://api.github.com/repos/deviantintegral/aws-sdk-php/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/deviantintegral/aws-sdk-php/labels{/name}","releases_url":"https://api.github.com/repos/deviantintegral/aws-sdk-php/releases{/id}","created_at":"2015-04-17T13:39:12Z","updated_at":"2015-04-17T13:39:17Z","pushed_at":"2015-04-17T19:31:09Z","git_url":"git://github.com/deviantintegral/aws-sdk-php.git","ssh_url":"git@github.com:deviantintegral/aws-sdk-php.git","clone_url":"https://github.com/deviantintegral/aws-sdk-php.git","svn_url":"https://github.com/deviantintegral/aws-sdk-php","homepage":"http://aws.amazon.com/sdkforphp","size":26117,"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":"aws:master","ref":"master","sha":"9715c747724a10c0ba0e3bae741b165730cd1953","user":{"login":"aws","id":2232217,"avatar_url":"https://avatars.githubusercontent.com/u/2232217?v=3","gravatar_id":"","url":"https://api.github.com/users/aws","html_url":"https://github.com/aws","followers_url":"https://api.github.com/users/aws/followers","following_url":"https://api.github.com/users/aws/following{/other_user}","gists_url":"https://api.github.com/users/aws/gists{/gist_id}","starred_url":"https://api.github.com/users/aws/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aws/subscriptions","organizations_url":"https://api.github.com/users/aws/orgs","repos_url":"https://api.github.com/users/aws/repos","events_url":"https://api.github.com/users/aws/events{/privacy}","received_events_url":"https://api.github.com/users/aws/received_events","type":"Organization","site_admin":false},"repo":{"id":6269013,"name":"aws-sdk-php","full_name":"aws/aws-sdk-php","owner":{"login":"aws","id":2232217,"avatar_url":"https://avatars.githubusercontent.com/u/2232217?v=3","gravatar_id":"","url":"https://api.github.com/users/aws","html_url":"https://github.com/aws","followers_url":"https://api.github.com/users/aws/followers","following_url":"https://api.github.com/users/aws/following{/other_user}","gists_url":"https://api.github.com/users/aws/gists{/gist_id}","starred_url":"https://api.github.com/users/aws/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aws/subscriptions","organizations_url":"https://api.github.com/users/aws/orgs","repos_url":"https://api.github.com/users/aws/repos","events_url":"https://api.github.com/users/aws/events{/privacy}","received_events_url":"https://api.github.com/users/aws/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/aws/aws-sdk-php","description":"Official repository of the AWS SDK for PHP (@awsforphp)","fork":false,"url":"https://api.github.com/repos/aws/aws-sdk-php","forks_url":"https://api.github.com/repos/aws/aws-sdk-php/forks","keys_url":"https://api.github.com/repos/aws/aws-sdk-php/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aws/aws-sdk-php/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aws/aws-sdk-php/teams","hooks_url":"https://api.github.com/repos/aws/aws-sdk-php/hooks","issue_events_url":"https://api.github.com/repos/aws/aws-sdk-php/issues/events{/number}","events_url":"https://api.github.com/repos/aws/aws-sdk-php/events","assignees_url":"https://api.github.com/repos/aws/aws-sdk-php/assignees{/user}","branches_url":"https://api.github.com/repos/aws/aws-sdk-php/branches{/branch}","tags_url":"https://api.github.com/repos/aws/aws-sdk-php/tags","blobs_url":"https://api.github.com/repos/aws/aws-sdk-php/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aws/aws-sdk-php/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aws/aws-sdk-php/git/refs{/sha}","trees_url":"https://api.github.com/repos/aws/aws-sdk-php/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aws/aws-sdk-php/statuses/{sha}","languages_url":"https://api.github.com/repos/aws/aws-sdk-php/languages","stargazers_url":"https://api.github.com/repos/aws/aws-sdk-php/stargazers","contributors_url":"https://api.github.com/repos/aws/aws-sdk-php/contributors","subscribers_url":"https://api.github.com/repos/aws/aws-sdk-php/subscribers","subscription_url":"https://api.github.com/repos/aws/aws-sdk-php/subscription","commits_url":"https://api.github.com/repos/aws/aws-sdk-php/commits{/sha}","git_commits_url":"https://api.github.com/repos/aws/aws-sdk-php/git/commits{/sha}","comments_url":"https://api.github.com/repos/aws/aws-sdk-php/comments{/number}","issue_comment_url":"https://api.github.com/repos/aws/aws-sdk-php/issues/comments{/number}","contents_url":"https://api.github.com/repos/aws/aws-sdk-php/contents/{+path}","compare_url":"https://api.github.com/repos/aws/aws-sdk-php/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aws/aws-sdk-php/merges","archive_url":"https://api.github.com/repos/aws/aws-sdk-php/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aws/aws-sdk-php/downloads","issues_url":"https://api.github.com/repos/aws/aws-sdk-php/issues{/number}","pulls_url":"https://api.github.com/repos/aws/aws-sdk-php/pulls{/number}","milestones_url":"https://api.github.com/repos/aws/aws-sdk-php/milestones{/number}","notifications_url":"https://api.github.com/repos/aws/aws-sdk-php/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aws/aws-sdk-php/labels{/name}","releases_url":"https://api.github.com/repos/aws/aws-sdk-php/releases{/id}","created_at":"2012-10-17T21:28:32Z","updated_at":"2015-04-16T22:26:00Z","pushed_at":"2015-04-17T19:16:15Z","git_url":"git://github.com/aws/aws-sdk-php.git","ssh_url":"git@github.com:aws/aws-sdk-php.git","clone_url":"https://github.com/aws/aws-sdk-php.git","svn_url":"https://github.com/aws/aws-sdk-php","homepage":"http://aws.amazon.com/sdkforphp","size":26117,"stargazers_count":1515,"watchers_count":1515,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":380,"mirror_url":null,"open_issues_count":12,"forks":380,"open_issues":12,"watchers":1515,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/aws/aws-sdk-php/pulls/535"},"html":{"href":"https://github.com/aws/aws-sdk-php/pull/535"},"issue":{"href":"https://api.github.com/repos/aws/aws-sdk-php/issues/535"},"comments":{"href":"https://api.github.com/repos/aws/aws-sdk-php/issues/535/comments"},"review_comments":{"href":"https://api.github.com/repos/aws/aws-sdk-php/pulls/535/comments"},"review_comment":{"href":"https://api.github.com/repos/aws/aws-sdk-php/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/aws/aws-sdk-php/pulls/535/commits"},"statuses":{"href":"https://api.github.com/repos/aws/aws-sdk-php/statuses/ed8398ab593d810b186072580a57593aca808313"}}}}