Remove trailing comma in function call to restore < PHP 7.3 compatibility#276
Conversation
|
Thank you for your pull request. Before we can look at it, you'll need to sign a Contributor License Agreement (CLA). Please follow instructions at https://icinga.com/company/contributor-agreement to sign the CLA. After that, please reply here with a comment and we'll verify. Contributors that have not signed yet: @frdmn Details
|
|
Signed |
|
@cla-bot check |
|
Thanks for reporting and fixing this! I checked all the other files, that's the only occurrence of this issue. |
When running PHP 7.0.33 (which should be supported by this module) and upgrading this module to 1.2.0 the database daemon doesn't start properly anymore:
The line before line number 45 contains a single trailing comma which was introduced in PHP 7.3: https://wiki.php.net/rfc/trailing-comma-function-calls
To restore compatibility with PHP 5.6 - 7.2, I removed that trailing comma with this PR.