-
-
Notifications
You must be signed in to change notification settings - Fork 934
Closed
Description
Summary of a problem
I just ran a composer update.
Some packages were updated. Namely:
Package operations: 0 installs, 5 updates, 0 removals
- Updating phpunit/phpunit (7.5.7 => 7.5.8): Loading from cache
- Updating nette/utils (v2.5.3 => v3.0.1): Loading from cache
- Updating nette/robot-loader (v3.1.1 => v3.2.0): Checking out 0712a0e39a
- Updating nette/di (v2.4.15 => v3.0.0-RC2): Loading from cache
- Updating nette/bootstrap (v2.4.6 => v3.0.0): Loading from cache
After these upgrades, PHPStan stops running:
> php -d memory_limit=3G vendor/bin/phpstan analyse src -c phpstan.neon --level=7 --no-progress -vvv
In Expect.php line 378:
[Nette\DI\InvalidConfigurationException]
Unexpected option 'services › relativePathHelper › factory'.
It seems the upgrade of package "nette/bootstrap" is causing the issue.
Both PHPStan 0.10 and 0.11 are affected.
The problem can be temporarily fixed by adding a stronger version constraint in composer.json:
{
"require-dev" : {
"nette/bootstrap": "^2.4.6"
},
}SerafimArts, GhostSt, TheLevti, AJenbo, dyp2000 and 2 morebuffcode, possi, TheLevti, holtkamp and dyp2000
Metadata
Metadata
Assignees
Labels
No labels