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

Support for composer 2.3.0 #46

Merged
merged 18 commits into from Mar 22, 2022
Merged

Commits on Mar 16, 2022

  1. qa: raise minimum composer requirement to for unit tests to 2.3.0-rc1+

    This also re-enables tests for composer v1 which were dropped when migrating to PHP 8.1
    
    Signed-off-by: Maximilian Bösing <2189546+boesing@users.noreply.github.com>
    boesing committed Mar 16, 2022
    Copy the full SHA
    9e956bd View commit details
    Browse the repository at this point in the history
  2. feature: add support for composer v2.3.0+

    Signed-off-by: Maximilian Bösing <2189546+boesing@users.noreply.github.com>
    boesing committed Mar 16, 2022
    Copy the full SHA
    5009490 View commit details
    Browse the repository at this point in the history
  3. qa: optimize composer v1 testing

    Signed-off-by: Maximilian Bösing <2189546+boesing@users.noreply.github.com>
    boesing committed Mar 16, 2022
    Copy the full SHA
    af3ad87 View commit details
    Browse the repository at this point in the history
  4. qa:apply coding standard

    Signed-off-by: Maximilian Bösing <2189546+boesing@users.noreply.github.com>
    boesing committed Mar 16, 2022
    Copy the full SHA
    1740e9b View commit details
    Browse the repository at this point in the history
  5. qa: bump vimeo/psalm

    Signed-off-by: Maximilian Bösing <2189546+boesing@users.noreply.github.com>
    boesing committed Mar 16, 2022
    Copy the full SHA
    30ec193 View commit details
    Browse the repository at this point in the history
  6. qa: ensure that we properly detect composer-1 commands

    Signed-off-by: Maximilian Bösing <2189546+boesing@users.noreply.github.com>
    boesing committed Mar 16, 2022
    Copy the full SHA
    1bf1fd0 View commit details
    Browse the repository at this point in the history
  7. qa: remove pre-run.sh which fetches composer v1

    We do not need composer v1 to run tests on composer v1. We can install composer v1 as `require-dev` using composer v2. Afterwards, unit tests are able to detect composer v1 by applying the appropriate checks.
    
    Signed-off-by: Maximilian Bösing <2189546+boesing@users.noreply.github.com>
    boesing committed Mar 16, 2022
    Copy the full SHA
    0eb1427 View commit details
    Browse the repository at this point in the history
  8. qa: simplify .laminas-ci.json for composer v1 tests

    Signed-off-by: Maximilian Bösing <2189546+boesing@users.noreply.github.com>
    boesing committed Mar 16, 2022
    Copy the full SHA
    1a6a210 View commit details
    Browse the repository at this point in the history
  9. bugfix: remove vendor directory before actually running `composer req…

    …uire`
    
    Signed-off-by: Maximilian Bösing <2189546+boesing@users.noreply.github.com>
    boesing committed Mar 16, 2022
    Copy the full SHA
    666e011 View commit details
    Browse the repository at this point in the history
  10. bugfix: add empty ignore_php_platform_requirements to `.laminas-ci.…

    …json`
    
    By adding an empty object to the config, we ensure that the default behavior of ignoring platform requirements for PHP 8 is disabled.
    
    Signed-off-by: Maximilian Bösing <2189546+boesing@users.noreply.github.com>
    boesing committed Mar 16, 2022
    Copy the full SHA
    397955c View commit details
    Browse the repository at this point in the history
  11. qa: add false for PHP 8.0 as it is enabled by default due to previo…

    …us implementation
    
    Signed-off-by: Maximilian Bösing <2189546+boesing@users.noreply.github.com>
    boesing committed Mar 16, 2022
    Copy the full SHA
    c44d480 View commit details
    Browse the repository at this point in the history

Commits on Mar 22, 2022

  1. qa: require latest release candidate from composer/composer

    This also restores tests on older composer v2 versions
    
    Signed-off-by: Maximilian Bösing <2189546+boesing@users.noreply.github.com>
    boesing committed Mar 22, 2022
    Copy the full SHA
    3874898 View commit details
    Browse the repository at this point in the history
  2. qa: optimize CI for composer v1

    Signed-off-by: Maximilian Bösing <2189546+boesing@users.noreply.github.com>
    boesing committed Mar 22, 2022
    Copy the full SHA
    22b7c67 View commit details
    Browse the repository at this point in the history
  3. qa: rename pre run script

    Signed-off-by: Maximilian Bösing <2189546+boesing@users.noreply.github.com>
    boesing committed Mar 22, 2022
    Copy the full SHA
    2efbd2c View commit details
    Browse the repository at this point in the history
  4. bugfix: mock RootPackage#getReplaces and RootPackage#getProvides

    This resolves type incompatibilities with latest mocking changes.
    
    Signed-off-by: Maximilian Bösing <2189546+boesing@users.noreply.github.com>
    boesing committed Mar 22, 2022
    Copy the full SHA
    cf2b67d View commit details
    Browse the repository at this point in the history
  5. qa: throw RuntimeException in case IOInterface#ask does not retur…

    …n a string
    
    Signed-off-by: Maximilian Bösing <2189546+boesing@users.noreply.github.com>
    boesing committed Mar 22, 2022
    Copy the full SHA
    9bf0bf6 View commit details
    Browse the repository at this point in the history
  6. qa: allow release candidates for composer/composer

    Signed-off-by: Maximilian Bösing <2189546+boesing@users.noreply.github.com>
    boesing committed Mar 22, 2022
    Copy the full SHA
    3cd1c00 View commit details
    Browse the repository at this point in the history
  7. qa: fix line-length issue

    Signed-off-by: Maximilian Bösing <2189546+boesing@users.noreply.github.com>
    boesing committed Mar 22, 2022
    Copy the full SHA
    04bb6b2 View commit details
    Browse the repository at this point in the history