{"action":"created","issue":{"url":"https://api.github.com/repos/Icinga/icingaweb2/issues/3634","repository_url":"https://api.github.com/repos/Icinga/icingaweb2","labels_url":"https://api.github.com/repos/Icinga/icingaweb2/issues/3634/labels{/name}","comments_url":"https://api.github.com/repos/Icinga/icingaweb2/issues/3634/comments","events_url":"https://api.github.com/repos/Icinga/icingaweb2/issues/3634/events","html_url":"https://github.com/Icinga/icingaweb2/pull/3634","id":383894885,"node_id":"MDExOlB1bGxSZXF1ZXN0MjMzMjU1ODEz","number":3634,"title":"Use continue <N> in case statements to fix ErrorException with PHP 7.3.","user":{"login":"sebastic","id":4605306,"node_id":"MDQ6VXNlcjQ2MDUzMDY=","avatar_url":"https://avatars3.githubusercontent.com/u/4605306?v=4","gravatar_id":"","url":"https://api.github.com/users/sebastic","html_url":"https://github.com/sebastic","followers_url":"https://api.github.com/users/sebastic/followers","following_url":"https://api.github.com/users/sebastic/following{/other_user}","gists_url":"https://api.github.com/users/sebastic/gists{/gist_id}","starred_url":"https://api.github.com/users/sebastic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sebastic/subscriptions","organizations_url":"https://api.github.com/users/sebastic/orgs","repos_url":"https://api.github.com/users/sebastic/repos","events_url":"https://api.github.com/users/sebastic/events{/privacy}","received_events_url":"https://api.github.com/users/sebastic/received_events","type":"User","site_admin":false},"labels":[{"id":62697838,"node_id":"MDU6TGFiZWw2MjY5NzgzOA==","url":"https://api.github.com/repos/Icinga/icingaweb2/labels/bug","name":"bug","color":"fc2929","default":true}],"state":"open","locked":false,"assignee":{"login":"lippserd","id":1894563,"node_id":"MDQ6VXNlcjE4OTQ1NjM=","avatar_url":"https://avatars0.githubusercontent.com/u/1894563?v=4","gravatar_id":"","url":"https://api.github.com/users/lippserd","html_url":"https://github.com/lippserd","followers_url":"https://api.github.com/users/lippserd/followers","following_url":"https://api.github.com/users/lippserd/following{/other_user}","gists_url":"https://api.github.com/users/lippserd/gists{/gist_id}","starred_url":"https://api.github.com/users/lippserd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lippserd/subscriptions","organizations_url":"https://api.github.com/users/lippserd/orgs","repos_url":"https://api.github.com/users/lippserd/repos","events_url":"https://api.github.com/users/lippserd/events{/privacy}","received_events_url":"https://api.github.com/users/lippserd/received_events","type":"User","site_admin":false},"assignees":[{"login":"lippserd","id":1894563,"node_id":"MDQ6VXNlcjE4OTQ1NjM=","avatar_url":"https://avatars0.githubusercontent.com/u/1894563?v=4","gravatar_id":"","url":"https://api.github.com/users/lippserd","html_url":"https://github.com/lippserd","followers_url":"https://api.github.com/users/lippserd/followers","following_url":"https://api.github.com/users/lippserd/following{/other_user}","gists_url":"https://api.github.com/users/lippserd/gists{/gist_id}","starred_url":"https://api.github.com/users/lippserd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lippserd/subscriptions","organizations_url":"https://api.github.com/users/lippserd/orgs","repos_url":"https://api.github.com/users/lippserd/repos","events_url":"https://api.github.com/users/lippserd/events{/privacy}","received_events_url":"https://api.github.com/users/lippserd/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/Icinga/icingaweb2/milestones/52","html_url":"https://github.com/Icinga/icingaweb2/milestone/52","labels_url":"https://api.github.com/repos/Icinga/icingaweb2/milestones/52/labels","id":3651986,"node_id":"MDk6TWlsZXN0b25lMzY1MTk4Ng==","number":52,"title":"2.7.0","description":"","creator":{"login":"lazyfrosch","id":121874,"node_id":"MDQ6VXNlcjEyMTg3NA==","avatar_url":"https://avatars2.githubusercontent.com/u/121874?v=4","gravatar_id":"","url":"https://api.github.com/users/lazyfrosch","html_url":"https://github.com/lazyfrosch","followers_url":"https://api.github.com/users/lazyfrosch/followers","following_url":"https://api.github.com/users/lazyfrosch/following{/other_user}","gists_url":"https://api.github.com/users/lazyfrosch/gists{/gist_id}","starred_url":"https://api.github.com/users/lazyfrosch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lazyfrosch/subscriptions","organizations_url":"https://api.github.com/users/lazyfrosch/orgs","repos_url":"https://api.github.com/users/lazyfrosch/repos","events_url":"https://api.github.com/users/lazyfrosch/events{/privacy}","received_events_url":"https://api.github.com/users/lazyfrosch/received_events","type":"User","site_admin":false},"open_issues":15,"closed_issues":0,"state":"open","created_at":"2018-09-13T15:10:52Z","updated_at":"2018-11-27T10:26:49Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2018-11-23T17:31:47Z","updated_at":"2018-11-27T10:51:16Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/Icinga/icingaweb2/pulls/3634","html_url":"https://github.com/Icinga/icingaweb2/pull/3634","diff_url":"https://github.com/Icinga/icingaweb2/pull/3634.diff","patch_url":"https://github.com/Icinga/icingaweb2/pull/3634.patch"},"body":"As reported by Max in [Debian Bug #914457 - icingacli: any command issued to icingacli rise an exception](https://bugs.debian.org/914457):\r\n> an example:\r\n> ```\r\n> icingacli --help\r\n>\r\n> Fatal error: Uncaught ErrorException: \"continue\" targeting switch is equivalent to \"break\". Did you mean to use \"continue 2\"? in /usr/share/php/Icinga/File/Ini/IniParser.php:67\r\n> Stack trace:\r\n> #0 /usr/share/php/Icinga/Application/ClassLoader.php(303): Icinga\\Application\\ApplicationBootstrap->Icinga\\Application\\{closure}(2, '\"continue\" targ...', '/usr/share/php/...', 67, Array)\r\n> #1 /usr/share/php/Icinga/Application/ClassLoader.php(303): require()\r\n> #2 [internal function]: Icinga\\Application\\ClassLoader->loadClass('Icinga\\\\File\\\\Ini...')\r\n> #3 /usr/share/php/Icinga/Application/Config.php(326): spl_autoload_call('Icinga\\\\File\\\\Ini...')\r\n> #4 /usr/share/php/Icinga/Application/Config.php(397): Icinga\\Application\\Config::fromIni('/etc/icingaweb2...')\r\n> #5 /usr/share/php/Icinga/Application/ApplicationBootstrap.php(522): Icinga\\Application\\Config::app()\r\n> #6 /usr/share/php/Icinga/Application/Cli.php(39): Icinga\\Application\\ApplicationBootstrap->loadConfig()\r\n> #7 /usr/share/php/Icinga/Application/ApplicationBootstrap.php(369): Icinga\\Application\\Cl in /usr/share/php/Icinga/File/Ini/IniParser.php on line 67\r\n> ```\r\n\r\nThis is caused by changes in PHP 7.3 (see: [PHP Bug #76753 | 'Warning: \"continue\" targeting switch' uncatchable](https://bugs.php.net/bug.php?id=76753)).\r\n\r\nI've replaced `continue` with `continue <N>` in `case` statements to continue the enclosing loop as was most likely the intention. If this is not the case, `break` should be used instead.\r\n\r\nNote that a few occurrences of this issue are also present in the `vendor` directory, which I haven't touched."},"comment":{"url":"https://api.github.com/repos/Icinga/icingaweb2/issues/comments/442014685","html_url":"https://github.com/Icinga/icingaweb2/pull/3634#issuecomment-442014685","issue_url":"https://api.github.com/repos/Icinga/icingaweb2/issues/3634","id":442014685,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MjAxNDY4NQ==","user":{"login":"lazyfrosch","id":121874,"node_id":"MDQ6VXNlcjEyMTg3NA==","avatar_url":"https://avatars2.githubusercontent.com/u/121874?v=4","gravatar_id":"","url":"https://api.github.com/users/lazyfrosch","html_url":"https://github.com/lazyfrosch","followers_url":"https://api.github.com/users/lazyfrosch/followers","following_url":"https://api.github.com/users/lazyfrosch/following{/other_user}","gists_url":"https://api.github.com/users/lazyfrosch/gists{/gist_id}","starred_url":"https://api.github.com/users/lazyfrosch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lazyfrosch/subscriptions","organizations_url":"https://api.github.com/users/lazyfrosch/orgs","repos_url":"https://api.github.com/users/lazyfrosch/repos","events_url":"https://api.github.com/users/lazyfrosch/events{/privacy}","received_events_url":"https://api.github.com/users/lazyfrosch/received_events","type":"User","site_admin":false},"created_at":"2018-11-27T10:51:16Z","updated_at":"2018-11-27T10:51:16Z","author_association":"MEMBER","body":"Also see: https://github.com/Icinga/icingaweb2-vendor-zf1/pull/2"}}
{"actor":{"display_login":"lazyfrosch"}}