Skip to content

PHP 8.0: required parameters are no longer allowed after optional parameters#656

Merged
mblaney merged 1 commit intosimplepie:masterfrom
jrfnl:feature/php-8.0-optional-before-required-param
Aug 12, 2020
Merged

PHP 8.0: required parameters are no longer allowed after optional parameters#656
mblaney merged 1 commit intosimplepie:masterfrom
jrfnl:feature/php-8.0-optional-before-required-param

Conversation

@jrfnl
Copy link
Copy Markdown
Contributor

@jrfnl jrfnl commented Aug 11, 2020

By giving the &$working parameter a default value, this issue is circumvented without breaking backward-compatibility.

…ameters

By giving the `&$working` parameter a default value, this issue is circumvented.
@mblaney mblaney merged commit d18f05c into simplepie:master Aug 12, 2020
@jrfnl jrfnl deleted the feature/php-8.0-optional-before-required-param branch August 12, 2020 01:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants