{"action":"created","issue":{"url":"https://api.github.com/repos/atoum/atoum/issues/507","labels_url":"https://api.github.com/repos/atoum/atoum/issues/507/labels{/name}","comments_url":"https://api.github.com/repos/atoum/atoum/issues/507/comments","events_url":"https://api.github.com/repos/atoum/atoum/issues/507/events","html_url":"https://github.com/atoum/atoum/pull/507","id":109244775,"number":507,"title":"POC #506","user":{"login":"GuillaumeDievart","id":953262,"avatar_url":"https://avatars.githubusercontent.com/u/953262?v=3","gravatar_id":"","url":"https://api.github.com/users/GuillaumeDievart","html_url":"https://github.com/GuillaumeDievart","followers_url":"https://api.github.com/users/GuillaumeDievart/followers","following_url":"https://api.github.com/users/GuillaumeDievart/following{/other_user}","gists_url":"https://api.github.com/users/GuillaumeDievart/gists{/gist_id}","starred_url":"https://api.github.com/users/GuillaumeDievart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GuillaumeDievart/subscriptions","organizations_url":"https://api.github.com/users/GuillaumeDievart/orgs","repos_url":"https://api.github.com/users/GuillaumeDievart/repos","events_url":"https://api.github.com/users/GuillaumeDievart/events{/privacy}","received_events_url":"https://api.github.com/users/GuillaumeDievart/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/atoum/atoum/labels/bug","name":"bug","color":"e10c02"},{"url":"https://api.github.com/repos/atoum/atoum/labels/in%20progress","name":"in progress","color":"ededed"}],"state":"open","locked":false,"assignee":{"login":"jubianchi","id":327237,"avatar_url":"https://avatars.githubusercontent.com/u/327237?v=3","gravatar_id":"","url":"https://api.github.com/users/jubianchi","html_url":"https://github.com/jubianchi","followers_url":"https://api.github.com/users/jubianchi/followers","following_url":"https://api.github.com/users/jubianchi/following{/other_user}","gists_url":"https://api.github.com/users/jubianchi/gists{/gist_id}","starred_url":"https://api.github.com/users/jubianchi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jubianchi/subscriptions","organizations_url":"https://api.github.com/users/jubianchi/orgs","repos_url":"https://api.github.com/users/jubianchi/repos","events_url":"https://api.github.com/users/jubianchi/events{/privacy}","received_events_url":"https://api.github.com/users/jubianchi/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/atoum/atoum/milestones/3","html_url":"https://github.com/atoum/atoum/milestones/2.3.0","labels_url":"https://api.github.com/repos/atoum/atoum/milestones/3/labels","id":1235465,"number":3,"title":"2.3.0","description":"","creator":{"login":"jubianchi","id":327237,"avatar_url":"https://avatars.githubusercontent.com/u/327237?v=3","gravatar_id":"","url":"https://api.github.com/users/jubianchi","html_url":"https://github.com/jubianchi","followers_url":"https://api.github.com/users/jubianchi/followers","following_url":"https://api.github.com/users/jubianchi/following{/other_user}","gists_url":"https://api.github.com/users/jubianchi/gists{/gist_id}","starred_url":"https://api.github.com/users/jubianchi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jubianchi/subscriptions","organizations_url":"https://api.github.com/users/jubianchi/orgs","repos_url":"https://api.github.com/users/jubianchi/repos","events_url":"https://api.github.com/users/jubianchi/events{/privacy}","received_events_url":"https://api.github.com/users/jubianchi/received_events","type":"User","site_admin":false},"open_issues":8,"closed_issues":7,"state":"open","created_at":"2015-07-31T17:21:03Z","updated_at":"2015-10-01T07:30:58Z","due_on":null,"closed_at":null},"comments":8,"created_at":"2015-10-01T07:30:00Z","updated_at":"2015-10-01T08:51:03Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/atoum/atoum/pulls/507","html_url":"https://github.com/atoum/atoum/pull/507","diff_url":"https://github.com/atoum/atoum/pull/507.diff","patch_url":"https://github.com/atoum/atoum/pull/507.patch"},"body":""},"comment":{"url":"https://api.github.com/repos/atoum/atoum/issues/comments/144658864","html_url":"https://github.com/atoum/atoum/pull/507#issuecomment-144658864","issue_url":"https://api.github.com/repos/atoum/atoum/issues/507","id":144658864,"user":{"login":"jubianchi","id":327237,"avatar_url":"https://avatars.githubusercontent.com/u/327237?v=3","gravatar_id":"","url":"https://api.github.com/users/jubianchi","html_url":"https://github.com/jubianchi","followers_url":"https://api.github.com/users/jubianchi/followers","following_url":"https://api.github.com/users/jubianchi/following{/other_user}","gists_url":"https://api.github.com/users/jubianchi/gists{/gist_id}","starred_url":"https://api.github.com/users/jubianchi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jubianchi/subscriptions","organizations_url":"https://api.github.com/users/jubianchi/orgs","repos_url":"https://api.github.com/users/jubianchi/repos","events_url":"https://api.github.com/users/jubianchi/events{/privacy}","received_events_url":"https://api.github.com/users/jubianchi/received_events","type":"User","site_admin":false},"created_at":"2015-10-01T08:51:03Z","updated_at":"2015-10-01T08:51:03Z","body":"@mikaelrandy you can already bypass the sugar-syntax to access nested arrays:\r\n\r\n```php\r\n$this\r\n    ->array($array)\r\n        ->hasSize(4)\r\n        ->hasKeys(['string', 'integer', 'object', 'array'])\r\n        ->string['string']\r\n            ->isEqualTo($string)\r\n        ->integer['integer']\r\n            ->isEqualTo($integer)\r\n        ->object['object']\r\n            ->isIdenticalTo($object)\r\n        ->array($array['array'])\r\n            ->hasSize(2)\r\n            ->hasKeys(['key1', 'key2'])\r\n            ->contains($arrayVal1)\r\n            ->contains($arrayVal2)\r\n;\r\n```"}}