{"action":"created","issue":{"url":"https://api.github.com/repos/scrutinizer-ci/php-analyzer/issues/626","labels_url":"https://api.github.com/repos/scrutinizer-ci/php-analyzer/issues/626/labels{/name}","comments_url":"https://api.github.com/repos/scrutinizer-ci/php-analyzer/issues/626/comments","events_url":"https://api.github.com/repos/scrutinizer-ci/php-analyzer/issues/626/events","html_url":"https://github.com/scrutinizer-ci/php-analyzer/issues/626","id":69305209,"number":626,"title":"Allowing properties on interfaces (like @property-read f.e.)","user":{"login":"MorrisJobke","id":245432,"avatar_url":"https://avatars.githubusercontent.com/u/245432?v=3","gravatar_id":"","url":"https://api.github.com/users/MorrisJobke","html_url":"https://github.com/MorrisJobke","followers_url":"https://api.github.com/users/MorrisJobke/followers","following_url":"https://api.github.com/users/MorrisJobke/following{/other_user}","gists_url":"https://api.github.com/users/MorrisJobke/gists{/gist_id}","starred_url":"https://api.github.com/users/MorrisJobke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MorrisJobke/subscriptions","organizations_url":"https://api.github.com/users/MorrisJobke/orgs","repos_url":"https://api.github.com/users/MorrisJobke/repos","events_url":"https://api.github.com/users/MorrisJobke/events{/privacy}","received_events_url":"https://api.github.com/users/MorrisJobke/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-04-18T12:27:27Z","updated_at":"2015-06-19T11:16:00Z","closed_at":null,"body":"It seems that the `@property-read` value isn't respected.\r\n\r\nsee https://scrutinizer-ci.com/g/owncloud/core/inspections/f02b060a-db45-4454-ad61-cc0c1ab621f4/issues/files/lib/public/appframework/apicontroller.php?status=all&selectedLabels%5B0%5D=9&orderField=path&order=asc#&issueId=d4e16dbb-d965-4782-bc43-cd80dcb513ea\r\n\r\nTalking about this code: https://github.com/owncloud/core/blob/8cb0d97b1099561d7f9a059f3ba8105a2c719aab/lib/public/appframework/apicontroller.php#L80-80 where `$this->request` is an object of the interface `\\OCP\\IRequest`.\r\n\r\nWe specified `@property-read` in the interface: https://github.com/owncloud/core/blob/8cb0d97b1099561d7f9a059f3ba8105a2c719aab/lib/public/irequest.php#L59-59"},"comment":{"url":"https://api.github.com/repos/scrutinizer-ci/php-analyzer/issues/comments/113479685","html_url":"https://github.com/scrutinizer-ci/php-analyzer/issues/626#issuecomment-113479685","issue_url":"https://api.github.com/repos/scrutinizer-ci/php-analyzer/issues/626","id":113479685,"user":{"login":"nyamsprod","id":51073,"avatar_url":"https://avatars.githubusercontent.com/u/51073?v=3","gravatar_id":"","url":"https://api.github.com/users/nyamsprod","html_url":"https://github.com/nyamsprod","followers_url":"https://api.github.com/users/nyamsprod/followers","following_url":"https://api.github.com/users/nyamsprod/following{/other_user}","gists_url":"https://api.github.com/users/nyamsprod/gists{/gist_id}","starred_url":"https://api.github.com/users/nyamsprod/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nyamsprod/subscriptions","organizations_url":"https://api.github.com/users/nyamsprod/orgs","repos_url":"https://api.github.com/users/nyamsprod/repos","events_url":"https://api.github.com/users/nyamsprod/events{/privacy}","received_events_url":"https://api.github.com/users/nyamsprod/received_events","type":"User","site_admin":false},"created_at":"2015-06-19T11:16:00Z","updated_at":"2015-06-19T11:16:00Z","body":"Any update on this issue as it seems that [phpDocumentor](http://www.phpdoc.org/docs/latest/references/phpdoc/tags/property-read.html) allow the use of property-read for instance on classes **and** interfaces to better take into account the use of `__get` in concrete classes ."}}