From 35583fbc50e8f3de7ef9b0b10caaaf839b8bf502 Mon Sep 17 00:00:00 2001 From: Lars Strojny Date: Tue, 28 May 2024 11:39:55 +0200 Subject: [PATCH] Bump veewee/xml requirement, extend build matrix --- .github/workflows/tests.yaml | 5 +++-- composer.json | 8 +++++--- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 7970d91..5ca67f3 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -8,8 +8,9 @@ jobs: matrix: operating-system: [ubuntu-latest] php-versions: ['8.1', '8.2', '8.3'] + dependency-preference: ['current', 'lowest', 'stable'] fail-fast: false - name: PHP ${{ matrix.php-versions }} @ ${{ matrix.operating-system }} + name: PHP ${{ matrix.php-versions }} ${{ matrix.dependency-preference }} deps @ ${{ matrix.operating-system }} steps: - name: Checkout uses: actions/checkout@master @@ -20,6 +21,6 @@ jobs: tools: 'composer:v2' extensions: pcov, mbstring, posix, dom, soap - name: Install dependencies - run: composer update --prefer-dist --no-progress --no-suggest + run: composer update --prefer-dist --no-progress --no-suggest ${{ matrix.dependency-preference == 'lowest' && '--prefer-lowest' || '' }} ${{ matrix.dependency-preference == 'stable' && '--prefer-stable' || '' }} - name: Run the tests run: ./vendor/bin/phpunit diff --git a/composer.json b/composer.json index 7774f2a..82d0c93 100644 --- a/composer.json +++ b/composer.json @@ -19,16 +19,18 @@ "php-soap/engine": "^2.8", "php-soap/wsdl": "^1.4", "php-soap/xml": "^1.6.0", - "veewee/xml": "^2.6 || ^3.0", + "veewee/xml": "^3.0", "azjezz/psl": "^2.4", - "symfony/console": "^5.4 || ^6.0 || ^7.0" + "symfony/console": "^5.4 || ^6.0 || ^7.0", + "webmozart/assert": "^1.11" }, "require-dev": { "symfony/var-dumper": "^6.1", "php-soap/engine-integration-tests": "^1.5.0", "psalm/plugin-symfony": "^5.0", "php-standard-library/psalm-plugin": "^2.2", - "vimeo/psalm": "^5.6" + "vimeo/psalm": "^5.6", + "phpunit/phpunit": "^10.1" }, "license": "MIT", "authors": [