mirror of
https://github.com/danog/psalm.git
synced 2024-12-15 19:07:00 +01:00
f6983fd883
if a composer.json is present and a PHP version requirement is configured, we set the php version to the minimal PHP version that satisfies the composer requirement. Additionally, this adds a `phpVersion` attribute to the <psalm> tag. If that's set, it takes precedence over what has been detected in composer.json. And finally, the --php-version command line flag continues to work and takes precedence over the setting in the <psalm> tag this fixes #2628 |
||
---|---|---|
.. | ||
ComposerPhpVersion | ||
config_discovery/files_in_lib | ||
DummyProject | ||
DummyProjectWithErrors | ||
ModularConfig | ||
performance | ||
stubs | ||
SuicidalAutoloader | ||
symlinktest |