{"action":"created","issue":{"url":"https://api.github.com/repos/Dolibarr/dolibarr/issues/2820","labels_url":"https://api.github.com/repos/Dolibarr/dolibarr/issues/2820/labels{/name}","comments_url":"https://api.github.com/repos/Dolibarr/dolibarr/issues/2820/comments","events_url":"https://api.github.com/repos/Dolibarr/dolibarr/issues/2820/events","html_url":"https://github.com/Dolibarr/dolibarr/issues/2820","id":75688038,"number":2820,"title":"Class name of the resource module's CRUD is reserved","user":{"login":"rdoursenaud","id":1210367,"avatar_url":"https://avatars.githubusercontent.com/u/1210367?v=3","gravatar_id":"","url":"https://api.github.com/users/rdoursenaud","html_url":"https://github.com/rdoursenaud","followers_url":"https://api.github.com/users/rdoursenaud/followers","following_url":"https://api.github.com/users/rdoursenaud/following{/other_user}","gists_url":"https://api.github.com/users/rdoursenaud/gists{/gist_id}","starred_url":"https://api.github.com/users/rdoursenaud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rdoursenaud/subscriptions","organizations_url":"https://api.github.com/users/rdoursenaud/orgs","repos_url":"https://api.github.com/users/rdoursenaud/repos","events_url":"https://api.github.com/users/rdoursenaud/events{/privacy}","received_events_url":"https://api.github.com/users/rdoursenaud/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Dolibarr/dolibarr/labels/Bug","name":"Bug","color":"000000"},{"url":"https://api.github.com/repos/Dolibarr/dolibarr/labels/Low","name":"Low","color":"fef2c0"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-12T18:08:37Z","updated_at":"2015-05-12T18:53:07Z","closed_at":null,"body":"The classname ```Resource``` is reserved in PHP for [resources](https://php.net/manual/fr/resource.php) (file handlers, database handlers, sockets…).\r\nUsing it messes with type hinting in IDEs.\r\nI think it should be renamed to something like ```DolResource```.\r\nping @jfefe\r\n"},"comment":{"url":"https://api.github.com/repos/Dolibarr/dolibarr/issues/comments/101386150","html_url":"https://github.com/Dolibarr/dolibarr/issues/2820#issuecomment-101386150","issue_url":"https://api.github.com/repos/Dolibarr/dolibarr/issues/2820","id":101386150,"user":{"login":"jfefe","id":883503,"avatar_url":"https://avatars.githubusercontent.com/u/883503?v=3","gravatar_id":"","url":"https://api.github.com/users/jfefe","html_url":"https://github.com/jfefe","followers_url":"https://api.github.com/users/jfefe/followers","following_url":"https://api.github.com/users/jfefe/following{/other_user}","gists_url":"https://api.github.com/users/jfefe/gists{/gist_id}","starred_url":"https://api.github.com/users/jfefe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jfefe/subscriptions","organizations_url":"https://api.github.com/users/jfefe/orgs","repos_url":"https://api.github.com/users/jfefe/repos","events_url":"https://api.github.com/users/jfefe/events{/privacy}","received_events_url":"https://api.github.com/users/jfefe/received_events","type":"User","site_admin":false},"created_at":"2015-05-12T18:53:07Z","updated_at":"2015-05-12T18:53:07Z","body":":(\r\n\r\nOk I'll do this asap."}}