{"action":"closed","issue":{"url":"https://api.github.com/repos/glpi-project/glpi/issues/669","repository_url":"https://api.github.com/repos/glpi-project/glpi","labels_url":"https://api.github.com/repos/glpi-project/glpi/issues/669/labels{/name}","comments_url":"https://api.github.com/repos/glpi-project/glpi/issues/669/comments","events_url":"https://api.github.com/repos/glpi-project/glpi/issues/669/events","html_url":"https://github.com/glpi-project/glpi/issues/669","id":156219572,"number":669,"title":"Error with PHP 5.4","user":{"login":"ddurieux","id":239744,"avatar_url":"https://avatars.githubusercontent.com/u/239744?v=3","gravatar_id":"","url":"https://api.github.com/users/ddurieux","html_url":"https://github.com/ddurieux","followers_url":"https://api.github.com/users/ddurieux/followers","following_url":"https://api.github.com/users/ddurieux/following{/other_user}","gists_url":"https://api.github.com/users/ddurieux/gists{/gist_id}","starred_url":"https://api.github.com/users/ddurieux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ddurieux/subscriptions","organizations_url":"https://api.github.com/users/ddurieux/orgs","repos_url":"https://api.github.com/users/ddurieux/repos","events_url":"https://api.github.com/users/ddurieux/events{/privacy}","received_events_url":"https://api.github.com/users/ddurieux/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/glpi-project/glpi/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-05-23T07:52:27Z","updated_at":"2016-05-23T13:31:46Z","closed_at":"2016-05-23T13:31:46Z","body":"GLPI 0.90 (and master branch) is currently not compatible with PHP 5.4, we have this error:\r\n\r\n```\r\nPHPUnit_Framework_Exception: PHP Fatal error:  Can't use method return value in write context in glpi/inc/commondbtm.class.php on line 2298\r\n```\r\n\r\nIt's because in \r\n\r\n```\r\n         if ($_SESSION['glpiis_ids_visible'] || empty($this->getTypeName(1))) {\r\n```\r\nwe can't do empty() on a return of function\r\n\r\n**Problem found with unit test of plugin FusionInventory**"}}
{"actor":{"display_login":"orthagh"}}