-
-
Notifications
You must be signed in to change notification settings - Fork 75
v0.18.19 not installed with BOX 4.7 #1202
Copy link
Copy link
Open
Labels
Description
Bug report
| Question | Answer |
|---|---|
| PHP-Scoper version | 0.18.19 |
| PHP version | 8.2.30 |
| Platform with version | Ubuntu/WSL2/Docker |
composer require humbug/box ^4.7BOX 4.7 is installed but not with the latest version available of PHP-Scoper (0.18.19)
After analyzing dependencencies, Scoper 0.18.19 used
Line 23 in 7a8d98e
| "jetbrains/phpstorm-stubs": "dev-master", |
Remember that Composer minimum-stability is stable and not dev.
This is the reason why, when you install BOX 4.7 source code you got PHP-Scoper 0.18.19, because
https://github.com/box-project/box/blob/4.7.0/composer.json#L69
But we still get previous version 0.18.18, when we try to install BOX 4.7 as a dependency of User project !
I recommend to update jetbrains/phpstorm-stubs to (perharps latest constraint) ^2025.1
As a workaround, I've updated my own project with llaville/box-manifest@8407e92
That gave me expected results
Current Output

Reactions are currently unavailable