Skip to content

Patch league/fractal:0.19.2 for PHP 8.1 compatibility - #25

Merged
mlocati merged 1 commit into
concretecms:masterfrom
mlocati-forks:league-fractal-php81
Aug 21, 2026
Merged

Patch league/fractal:0.19.2 for PHP 8.1 compatibility#25
mlocati merged 1 commit into
concretecms:masterfrom
mlocati-forks:league-fractal-php81

Conversation

@mlocati

@mlocati mlocati commented Aug 21, 2026

Copy link
Copy Markdown
Collaborator

This fixes the following deprecation notice:

PHP Deprecated: Return type of League\Fractal\Scope::jsonSerialize() should either be compatible with
JsonSerializable::jsonSerialize(): mixed
or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
in vendor/league/fractal/src/Scope.php on line 298

Newer versions of league/fractal aren't affected, but they require a PHP version greater than the minimum one supported by Concrete.

@mlocati
mlocati merged commit ae90b10 into concretecms:master Aug 21, 2026
1 check passed
@mlocati
mlocati deleted the league-fractal-php81 branch August 21, 2026 07:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant