Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Since version
2.2.0
(c15d225) this package requires at least PHP 8.0. If you install this extension in - for example - Contao 4.13 with PHP 7.4, the follwing error will occur:Now, this PR does not fix that. Even after merging this PR and releasing as
2.2.1
, this error will still occur when trying to install this package in Contao 4.13 under PHP 7.4, as version2.2.0
will still continue to exist with the missing PHP version requirement.To properly fix it you would actually have to go back to using Annotations instead of PHP Attributes instead. Or you could delete the
2.2.0
version tag (which is not ideal).On the other hand it's probably not worth properly fixing it anyway. Anyone still running PHP 7.4 just has to put version
2.2.0
as a conflict in their project's composer.json.