1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-26 20:34:47 +01:00
psalm/tests/Config
Philip Hofstetter f6983fd883 allow setting php version from config or composer.json
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
2020-01-30 08:48:53 -05:00
..
Plugin Index issues by file to reduce some lookups 2020-01-21 21:07:44 -05:00
ConfigFileTest.php Apply PHPCS fixes 2019-07-05 16:27:53 -04:00
ConfigTest.php allow setting php version from config or composer.json 2020-01-30 08:48:53 -05:00
CreatorTest.php Work in progress - resolve directories from config file location (#1904) 2019-07-06 12:21:39 -04:00
PluginListTest.php Remove redundant @psalm-suppress in Psalm’s codebsae 2019-08-18 16:10:12 -04:00
PluginTest.php Move Union::getTypes to Union::getAtomicTypes 2020-01-04 12:20:26 -05:00