{"action":"created","issue":{"url":"https://api.github.com/repos/php-kitchen/yii2-domain/issues/20","repository_url":"https://api.github.com/repos/php-kitchen/yii2-domain","labels_url":"https://api.github.com/repos/php-kitchen/yii2-domain/issues/20/labels{/name}","comments_url":"https://api.github.com/repos/php-kitchen/yii2-domain/issues/20/comments","events_url":"https://api.github.com/repos/php-kitchen/yii2-domain/issues/20/events","html_url":"https://github.com/php-kitchen/yii2-domain/pull/20","id":296287059,"number":20,"title":"fix checking property on null in ActiveRecord","user":{"login":"StalkAlex","id":2943154,"avatar_url":"https://avatars0.githubusercontent.com/u/2943154?v=4","gravatar_id":"","url":"https://api.github.com/users/StalkAlex","html_url":"https://github.com/StalkAlex","followers_url":"https://api.github.com/users/StalkAlex/followers","following_url":"https://api.github.com/users/StalkAlex/following{/other_user}","gists_url":"https://api.github.com/users/StalkAlex/gists{/gist_id}","starred_url":"https://api.github.com/users/StalkAlex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/StalkAlex/subscriptions","organizations_url":"https://api.github.com/users/StalkAlex/orgs","repos_url":"https://api.github.com/users/StalkAlex/repos","events_url":"https://api.github.com/users/StalkAlex/events{/privacy}","received_events_url":"https://api.github.com/users/StalkAlex/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-02-12T07:37:12Z","updated_at":"2018-02-12T15:16:00Z","closed_at":"2018-02-12T14:20:30Z","author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/php-kitchen/yii2-domain/pulls/20","html_url":"https://github.com/php-kitchen/yii2-domain/pull/20","diff_url":"https://github.com/php-kitchen/yii2-domain/pull/20.diff","patch_url":"https://github.com/php-kitchen/yii2-domain/pull/20.patch"},"body":"Here's the check `empty($user->phoneNumber)`.  User is entity, this check will return true, but it's not correct, because user table contains this column and has value.\r\n\r\n`$this-canGetProperty($name)` will return false as it's not class's or behavior's attribute(this is what canGetProperty will check on), but it's attribute of ActiveRecord. Second check will return true, but whole expression gets false as the first argument of `&&` gets false.\r\n"},"comment":{"url":"https://api.github.com/repos/php-kitchen/yii2-domain/issues/comments/364952762","html_url":"https://github.com/php-kitchen/yii2-domain/pull/20#issuecomment-364952762","issue_url":"https://api.github.com/repos/php-kitchen/yii2-domain/issues/20","id":364952762,"user":{"login":"prowwid","id":3070281,"avatar_url":"https://avatars3.githubusercontent.com/u/3070281?v=4","gravatar_id":"","url":"https://api.github.com/users/prowwid","html_url":"https://github.com/prowwid","followers_url":"https://api.github.com/users/prowwid/followers","following_url":"https://api.github.com/users/prowwid/following{/other_user}","gists_url":"https://api.github.com/users/prowwid/gists{/gist_id}","starred_url":"https://api.github.com/users/prowwid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prowwid/subscriptions","organizations_url":"https://api.github.com/users/prowwid/orgs","repos_url":"https://api.github.com/users/prowwid/repos","events_url":"https://api.github.com/users/prowwid/events{/privacy}","received_events_url":"https://api.github.com/users/prowwid/received_events","type":"User","site_admin":false},"created_at":"2018-02-12T15:16:00Z","updated_at":"2018-02-12T15:16:00Z","author_association":"CONTRIBUTOR","body":"Hello @StalkAlex \r\n\r\nreleased in 0.0.21 with few additional changes and covered by spec"}}
{"actor":{"display_login":"prowwid"}}