Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

allow setting php version from config or composer.json #2715

Merged
merged 2 commits into from Jan 30, 2020

Commits on Jan 30, 2020

  1. 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 vimeo#2628
    pilif committed Jan 30, 2020
    Configuration menu
    Copy the full SHA
    3d634b6 View commit details
    Browse the repository at this point in the history
  2. document phpVersion setting

    pilif committed Jan 30, 2020
    Configuration menu
    Copy the full SHA
    2be6bbf View commit details
    Browse the repository at this point in the history