Skip to content

Allow upgrade to legaue/container 5#1180

Closed
jissereitsma wants to merge 1 commit intoconsolidation:5.xfrom
jissereitsma:patch-1
Closed

Allow upgrade to legaue/container 5#1180
jissereitsma wants to merge 1 commit intoconsolidation:5.xfrom
jissereitsma:patch-1

Conversation

@jissereitsma
Copy link

The package consolidation/robo has a dependency on league/container up to v4. Under PHP 8.4 this causes (in my case) a PHP error:

League\Container\Inflector\Inflector::__construct(): Implicitly marking parameter $callback as nullable is deprecated, the explicit nullable type must be used instead 

This was fixed in version 5.x of league/container: thephpleague/container#262 The major 5 version is mainly to drop compatibility for PHP 8.0 and older. I've tested this and it seems to upgrade to league/container 5 as a dependency.

@greg-1-anderson
Copy link
Member

Did not investigate, but I'm not seeing any problem with league/container ^4 and PHP 8.5. Perhaps some of these compatibility fixes were backported.

@jissereitsma
Copy link
Author

I think it is solved by now :)

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.

2 participants