{"action":"created","comment":{"url":"https://api.github.com/repos/facile-it/mongodb-bundle/pulls/comments/157006277","pull_request_review_id":83578336,"id":157006277,"diff_hunk":"@@ -63,11 +67,10 @@ public static function prepareItemData($item)\n             return $item->bsonSerialize();\n         }\n \n-        if (is_array($item) || is_object($item)) {\n+        if (\\is_array($item) || \\is_object($item)) {","path":"src/DataCollector/MongoQuerySerializer.php","position":16,"original_position":16,"commit_id":"39f35bf8d0f5cefb4a70b7a6bd385b5773218e60","original_commit_id":"39f35bf8d0f5cefb4a70b7a6bd385b5773218e60","user":{"login":"Jean85","id":6729988,"avatar_url":"https://avatars3.githubusercontent.com/u/6729988?v=4","gravatar_id":"","url":"https://api.github.com/users/Jean85","html_url":"https://github.com/Jean85","followers_url":"https://api.github.com/users/Jean85/followers","following_url":"https://api.github.com/users/Jean85/following{/other_user}","gists_url":"https://api.github.com/users/Jean85/gists{/gist_id}","starred_url":"https://api.github.com/users/Jean85/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jean85/subscriptions","organizations_url":"https://api.github.com/users/Jean85/orgs","repos_url":"https://api.github.com/users/Jean85/repos","events_url":"https://api.github.com/users/Jean85/events{/privacy}","received_events_url":"https://api.github.com/users/Jean85/received_events","type":"User","site_admin":false},"body":"Reverting :+1: ","created_at":"2017-12-14T17:13:51Z","updated_at":"2017-12-14T17:13:51Z","html_url":"https://github.com/facile-it/mongodb-bundle/pull/43#discussion_r157006277","pull_request_url":"https://api.github.com/repos/facile-it/mongodb-bundle/pulls/43","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/facile-it/mongodb-bundle/pulls/comments/157006277"},"html":{"href":"https://github.com/facile-it/mongodb-bundle/pull/43#discussion_r157006277"},"pull_request":{"href":"https://api.github.com/repos/facile-it/mongodb-bundle/pulls/43"}},"in_reply_to_id":156884014},"pull_request":{"url":"https://api.github.com/repos/facile-it/mongodb-bundle/pulls/43","id":158112857,"html_url":"https://github.com/facile-it/mongodb-bundle/pull/43","diff_url":"https://github.com/facile-it/mongodb-bundle/pull/43.diff","patch_url":"https://github.com/facile-it/mongodb-bundle/pull/43.patch","issue_url":"https://api.github.com/repos/facile-it/mongodb-bundle/issues/43","number":43,"state":"open","locked":false,"title":"Add an other edge case to be handled by the query serializer","user":{"login":"Jean85","id":6729988,"avatar_url":"https://avatars3.githubusercontent.com/u/6729988?v=4","gravatar_id":"","url":"https://api.github.com/users/Jean85","html_url":"https://github.com/Jean85","followers_url":"https://api.github.com/users/Jean85/followers","following_url":"https://api.github.com/users/Jean85/following{/other_user}","gists_url":"https://api.github.com/users/Jean85/gists{/gist_id}","starred_url":"https://api.github.com/users/Jean85/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jean85/subscriptions","organizations_url":"https://api.github.com/users/Jean85/orgs","repos_url":"https://api.github.com/users/Jean85/repos","events_url":"https://api.github.com/users/Jean85/events{/privacy}","received_events_url":"https://api.github.com/users/Jean85/received_events","type":"User","site_admin":false},"body":"As in title... If the to-be-serialized data is a string which is the FQCN of a class that has the `__toString()` method, the behavior of this line makes the serializer go on fatal error:\r\n\r\nhttps://github.com/facile-it/mongodb-bundle/blob/39f35bf8d0f5cefb4a70b7a6bd385b5773218e60/src/DataCollector/MongoQuerySerializer.php#L62-L64","created_at":"2017-12-13T14:47:49Z","updated_at":"2017-12-14T17:13:51Z","closed_at":null,"merged_at":null,"merge_commit_sha":"41864a1c77a2252d32fe93a909910e147da5ce50","assignee":{"login":"Jean85","id":6729988,"avatar_url":"https://avatars3.githubusercontent.com/u/6729988?v=4","gravatar_id":"","url":"https://api.github.com/users/Jean85","html_url":"https://github.com/Jean85","followers_url":"https://api.github.com/users/Jean85/followers","following_url":"https://api.github.com/users/Jean85/following{/other_user}","gists_url":"https://api.github.com/users/Jean85/gists{/gist_id}","starred_url":"https://api.github.com/users/Jean85/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jean85/subscriptions","organizations_url":"https://api.github.com/users/Jean85/orgs","repos_url":"https://api.github.com/users/Jean85/repos","events_url":"https://api.github.com/users/Jean85/events{/privacy}","received_events_url":"https://api.github.com/users/Jean85/received_events","type":"User","site_admin":false},"assignees":[{"login":"Jean85","id":6729988,"avatar_url":"https://avatars3.githubusercontent.com/u/6729988?v=4","gravatar_id":"","url":"https://api.github.com/users/Jean85","html_url":"https://github.com/Jean85","followers_url":"https://api.github.com/users/Jean85/followers","following_url":"https://api.github.com/users/Jean85/following{/other_user}","gists_url":"https://api.github.com/users/Jean85/gists{/gist_id}","starred_url":"https://api.github.com/users/Jean85/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jean85/subscriptions","organizations_url":"https://api.github.com/users/Jean85/orgs","repos_url":"https://api.github.com/users/Jean85/repos","events_url":"https://api.github.com/users/Jean85/events{/privacy}","received_events_url":"https://api.github.com/users/Jean85/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/facile-it/mongodb-bundle/pulls/43/commits","review_comments_url":"https://api.github.com/repos/facile-it/mongodb-bundle/pulls/43/comments","review_comment_url":"https://api.github.com/repos/facile-it/mongodb-bundle/pulls/comments{/number}","comments_url":"https://api.github.com/repos/facile-it/mongodb-bundle/issues/43/comments","statuses_url":"https://api.github.com/repos/facile-it/mongodb-bundle/statuses/39f35bf8d0f5cefb4a70b7a6bd385b5773218e60","head":{"label":"facile-it:fix-profiler-bis","ref":"fix-profiler-bis","sha":"39f35bf8d0f5cefb4a70b7a6bd385b5773218e60","user":{"login":"facile-it","id":8501934,"avatar_url":"https://avatars1.githubusercontent.com/u/8501934?v=4","gravatar_id":"","url":"https://api.github.com/users/facile-it","html_url":"https://github.com/facile-it","followers_url":"https://api.github.com/users/facile-it/followers","following_url":"https://api.github.com/users/facile-it/following{/other_user}","gists_url":"https://api.github.com/users/facile-it/gists{/gist_id}","starred_url":"https://api.github.com/users/facile-it/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/facile-it/subscriptions","organizations_url":"https://api.github.com/users/facile-it/orgs","repos_url":"https://api.github.com/users/facile-it/repos","events_url":"https://api.github.com/users/facile-it/events{/privacy}","received_events_url":"https://api.github.com/users/facile-it/received_events","type":"Organization","site_admin":false},"repo":{"id":61825783,"name":"mongodb-bundle","full_name":"facile-it/mongodb-bundle","owner":{"login":"facile-it","id":8501934,"avatar_url":"https://avatars1.githubusercontent.com/u/8501934?v=4","gravatar_id":"","url":"https://api.github.com/users/facile-it","html_url":"https://github.com/facile-it","followers_url":"https://api.github.com/users/facile-it/followers","following_url":"https://api.github.com/users/facile-it/following{/other_user}","gists_url":"https://api.github.com/users/facile-it/gists{/gist_id}","starred_url":"https://api.github.com/users/facile-it/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/facile-it/subscriptions","organizations_url":"https://api.github.com/users/facile-it/orgs","repos_url":"https://api.github.com/users/facile-it/repos","events_url":"https://api.github.com/users/facile-it/events{/privacy}","received_events_url":"https://api.github.com/users/facile-it/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/facile-it/mongodb-bundle","description":"Bundle service integration of official mongodb/mongo-php-library","fork":false,"url":"https://api.github.com/repos/facile-it/mongodb-bundle","forks_url":"https://api.github.com/repos/facile-it/mongodb-bundle/forks","keys_url":"https://api.github.com/repos/facile-it/mongodb-bundle/keys{/key_id}","collaborators_url":"https://api.github.com/repos/facile-it/mongodb-bundle/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/facile-it/mongodb-bundle/teams","hooks_url":"https://api.github.com/repos/facile-it/mongodb-bundle/hooks","issue_events_url":"https://api.github.com/repos/facile-it/mongodb-bundle/issues/events{/number}","events_url":"https://api.github.com/repos/facile-it/mongodb-bundle/events","assignees_url":"https://api.github.com/repos/facile-it/mongodb-bundle/assignees{/user}","branches_url":"https://api.github.com/repos/facile-it/mongodb-bundle/branches{/branch}","tags_url":"https://api.github.com/repos/facile-it/mongodb-bundle/tags","blobs_url":"https://api.github.com/repos/facile-it/mongodb-bundle/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/facile-it/mongodb-bundle/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/facile-it/mongodb-bundle/git/refs{/sha}","trees_url":"https://api.github.com/repos/facile-it/mongodb-bundle/git/trees{/sha}","statuses_url":"https://api.github.com/repos/facile-it/mongodb-bundle/statuses/{sha}","languages_url":"https://api.github.com/repos/facile-it/mongodb-bundle/languages","stargazers_url":"https://api.github.com/repos/facile-it/mongodb-bundle/stargazers","contributors_url":"https://api.github.com/repos/facile-it/mongodb-bundle/contributors","subscribers_url":"https://api.github.com/repos/facile-it/mongodb-bundle/subscribers","subscription_url":"https://api.github.com/repos/facile-it/mongodb-bundle/subscription","commits_url":"https://api.github.com/repos/facile-it/mongodb-bundle/commits{/sha}","git_commits_url":"https://api.github.com/repos/facile-it/mongodb-bundle/git/commits{/sha}","comments_url":"https://api.github.com/repos/facile-it/mongodb-bundle/comments{/number}","issue_comment_url":"https://api.github.com/repos/facile-it/mongodb-bundle/issues/comments{/number}","contents_url":"https://api.github.com/repos/facile-it/mongodb-bundle/contents/{+path}","compare_url":"https://api.github.com/repos/facile-it/mongodb-bundle/compare/{base}...{head}","merges_url":"https://api.github.com/repos/facile-it/mongodb-bundle/merges","archive_url":"https://api.github.com/repos/facile-it/mongodb-bundle/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/facile-it/mongodb-bundle/downloads","issues_url":"https://api.github.com/repos/facile-it/mongodb-bundle/issues{/number}","pulls_url":"https://api.github.com/repos/facile-it/mongodb-bundle/pulls{/number}","milestones_url":"https://api.github.com/repos/facile-it/mongodb-bundle/milestones{/number}","notifications_url":"https://api.github.com/repos/facile-it/mongodb-bundle/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/facile-it/mongodb-bundle/labels{/name}","releases_url":"https://api.github.com/repos/facile-it/mongodb-bundle/releases{/id}","deployments_url":"https://api.github.com/repos/facile-it/mongodb-bundle/deployments","created_at":"2016-06-23T17:58:23Z","updated_at":"2017-11-09T11:54:26Z","pushed_at":"2017-12-14T17:03:59Z","git_url":"git://github.com/facile-it/mongodb-bundle.git","ssh_url":"git@github.com:facile-it/mongodb-bundle.git","clone_url":"https://github.com/facile-it/mongodb-bundle.git","svn_url":"https://github.com/facile-it/mongodb-bundle","homepage":"","size":429,"stargazers_count":9,"watchers_count":9,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"archived":false,"open_issues_count":5,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":5,"open_issues":5,"watchers":9,"default_branch":"master"}},"base":{"label":"facile-it:master","ref":"master","sha":"727c2b0a6aa061cd303a00d1c172b7efd793a6fb","user":{"login":"facile-it","id":8501934,"avatar_url":"https://avatars1.githubusercontent.com/u/8501934?v=4","gravatar_id":"","url":"https://api.github.com/users/facile-it","html_url":"https://github.com/facile-it","followers_url":"https://api.github.com/users/facile-it/followers","following_url":"https://api.github.com/users/facile-it/following{/other_user}","gists_url":"https://api.github.com/users/facile-it/gists{/gist_id}","starred_url":"https://api.github.com/users/facile-it/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/facile-it/subscriptions","organizations_url":"https://api.github.com/users/facile-it/orgs","repos_url":"https://api.github.com/users/facile-it/repos","events_url":"https://api.github.com/users/facile-it/events{/privacy}","received_events_url":"https://api.github.com/users/facile-it/received_events","type":"Organization","site_admin":false},"repo":{"id":61825783,"name":"mongodb-bundle","full_name":"facile-it/mongodb-bundle","owner":{"login":"facile-it","id":8501934,"avatar_url":"https://avatars1.githubusercontent.com/u/8501934?v=4","gravatar_id":"","url":"https://api.github.com/users/facile-it","html_url":"https://github.com/facile-it","followers_url":"https://api.github.com/users/facile-it/followers","following_url":"https://api.github.com/users/facile-it/following{/other_user}","gists_url":"https://api.github.com/users/facile-it/gists{/gist_id}","starred_url":"https://api.github.com/users/facile-it/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/facile-it/subscriptions","organizations_url":"https://api.github.com/users/facile-it/orgs","repos_url":"https://api.github.com/users/facile-it/repos","events_url":"https://api.github.com/users/facile-it/events{/privacy}","received_events_url":"https://api.github.com/users/facile-it/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/facile-it/mongodb-bundle","description":"Bundle service integration of official mongodb/mongo-php-library","fork":false,"url":"https://api.github.com/repos/facile-it/mongodb-bundle","forks_url":"https://api.github.com/repos/facile-it/mongodb-bundle/forks","keys_url":"https://api.github.com/repos/facile-it/mongodb-bundle/keys{/key_id}","collaborators_url":"https://api.github.com/repos/facile-it/mongodb-bundle/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/facile-it/mongodb-bundle/teams","hooks_url":"https://api.github.com/repos/facile-it/mongodb-bundle/hooks","issue_events_url":"https://api.github.com/repos/facile-it/mongodb-bundle/issues/events{/number}","events_url":"https://api.github.com/repos/facile-it/mongodb-bundle/events","assignees_url":"https://api.github.com/repos/facile-it/mongodb-bundle/assignees{/user}","branches_url":"https://api.github.com/repos/facile-it/mongodb-bundle/branches{/branch}","tags_url":"https://api.github.com/repos/facile-it/mongodb-bundle/tags","blobs_url":"https://api.github.com/repos/facile-it/mongodb-bundle/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/facile-it/mongodb-bundle/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/facile-it/mongodb-bundle/git/refs{/sha}","trees_url":"https://api.github.com/repos/facile-it/mongodb-bundle/git/trees{/sha}","statuses_url":"https://api.github.com/repos/facile-it/mongodb-bundle/statuses/{sha}","languages_url":"https://api.github.com/repos/facile-it/mongodb-bundle/languages","stargazers_url":"https://api.github.com/repos/facile-it/mongodb-bundle/stargazers","contributors_url":"https://api.github.com/repos/facile-it/mongodb-bundle/contributors","subscribers_url":"https://api.github.com/repos/facile-it/mongodb-bundle/subscribers","subscription_url":"https://api.github.com/repos/facile-it/mongodb-bundle/subscription","commits_url":"https://api.github.com/repos/facile-it/mongodb-bundle/commits{/sha}","git_commits_url":"https://api.github.com/repos/facile-it/mongodb-bundle/git/commits{/sha}","comments_url":"https://api.github.com/repos/facile-it/mongodb-bundle/comments{/number}","issue_comment_url":"https://api.github.com/repos/facile-it/mongodb-bundle/issues/comments{/number}","contents_url":"https://api.github.com/repos/facile-it/mongodb-bundle/contents/{+path}","compare_url":"https://api.github.com/repos/facile-it/mongodb-bundle/compare/{base}...{head}","merges_url":"https://api.github.com/repos/facile-it/mongodb-bundle/merges","archive_url":"https://api.github.com/repos/facile-it/mongodb-bundle/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/facile-it/mongodb-bundle/downloads","issues_url":"https://api.github.com/repos/facile-it/mongodb-bundle/issues{/number}","pulls_url":"https://api.github.com/repos/facile-it/mongodb-bundle/pulls{/number}","milestones_url":"https://api.github.com/repos/facile-it/mongodb-bundle/milestones{/number}","notifications_url":"https://api.github.com/repos/facile-it/mongodb-bundle/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/facile-it/mongodb-bundle/labels{/name}","releases_url":"https://api.github.com/repos/facile-it/mongodb-bundle/releases{/id}","deployments_url":"https://api.github.com/repos/facile-it/mongodb-bundle/deployments","created_at":"2016-06-23T17:58:23Z","updated_at":"2017-11-09T11:54:26Z","pushed_at":"2017-12-14T17:03:59Z","git_url":"git://github.com/facile-it/mongodb-bundle.git","ssh_url":"git@github.com:facile-it/mongodb-bundle.git","clone_url":"https://github.com/facile-it/mongodb-bundle.git","svn_url":"https://github.com/facile-it/mongodb-bundle","homepage":"","size":429,"stargazers_count":9,"watchers_count":9,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"archived":false,"open_issues_count":5,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":5,"open_issues":5,"watchers":9,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/facile-it/mongodb-bundle/pulls/43"},"html":{"href":"https://github.com/facile-it/mongodb-bundle/pull/43"},"issue":{"href":"https://api.github.com/repos/facile-it/mongodb-bundle/issues/43"},"comments":{"href":"https://api.github.com/repos/facile-it/mongodb-bundle/issues/43/comments"},"review_comments":{"href":"https://api.github.com/repos/facile-it/mongodb-bundle/pulls/43/comments"},"review_comment":{"href":"https://api.github.com/repos/facile-it/mongodb-bundle/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/facile-it/mongodb-bundle/pulls/43/commits"},"statuses":{"href":"https://api.github.com/repos/facile-it/mongodb-bundle/statuses/39f35bf8d0f5cefb4a70b7a6bd385b5773218e60"}},"author_association":"OWNER"}}
{"actor":{"display_login":"Jean85"}}