1
0
mirror of https://github.com/danog/psalm.git synced 2024-12-15 19:07:00 +01:00
psalm/tests/fixtures
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
..
ComposerPhpVersion allow setting php version from config or composer.json 2020-01-30 08:48:53 -05:00
config_discovery/files_in_lib Fix #1551 - do better at inferring class constant types 2019-09-14 14:26:31 -04:00
DummyProject Fix #2228 - load functions defined on traits included in a class 2019-10-15 12:09:08 -04:00
DummyProjectWithErrors Apply PHPCS fixes 2019-07-05 16:27:53 -04:00
ModularConfig Modular config files (#2635) 2020-01-16 15:57:52 -05:00
performance Apply PHPCS fixes 2019-07-05 16:27:53 -04:00
stubs #2579 TooManyArguments was triggered if the variadic function declared at the autoloader file. Fixed. (#2580) 2020-01-12 11:33:38 -05:00
SuicidalAutoloader Added SuicidalAutoloader test (#2399) 2019-11-30 00:09:07 -05:00
symlinktest Remove ignored symlink 2019-05-23 22:31:54 -04:00