diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml index 8249447..56505cd 100644 --- a/.github/workflows/php.yml +++ b/.github/workflows/php.yml @@ -46,7 +46,7 @@ jobs: uses: shivammathur/setup-php@v2 with: # Should be the higest supported version, so we can use the newest tools - php-version: '8.2' + php-version: '8.3' tools: composer, composer-require-checker, composer-unused, phpcs, psalm # optional performance gain for psalm: opcache extensions: ctype, date, dom, opcache, pcre, spl, xml @@ -111,7 +111,7 @@ jobs: uses: shivammathur/setup-php@v2 with: # Should be the lowest supported version - php-version: '8.0' + php-version: '8.1' extensions: ctype, date, dom, pcre, spl, xml tools: composer coverage: none @@ -151,7 +151,7 @@ jobs: fail-fast: false matrix: operating-system: [ubuntu-latest] - php-versions: ['8.0', '8.1', '8.2'] + php-versions: ['8.1', '8.2', '8.3'] steps: - name: Setup PHP, with composer and extensions @@ -191,15 +191,15 @@ jobs: run: composer install --no-progress --prefer-dist --optimize-autoloader - name: Run unit tests with coverage - if: ${{ matrix.php-versions == '8.2' }} + if: ${{ matrix.php-versions == '8.3' }} run: vendor/bin/phpunit - name: Run unit tests (no coverage) - if: ${{ matrix.php-versions != '8.2' }} + if: ${{ matrix.php-versions != '8.3' }} run: vendor/bin/phpunit --no-coverage - name: Save coverage data - if: ${{ matrix.php-versions == '8.2' }} + if: ${{ matrix.php-versions == '8.3' }} uses: actions/upload-artifact@v3 with: name: coverage-data @@ -213,7 +213,7 @@ jobs: fail-fast: true matrix: operating-system: [windows-latest] - php-versions: ['8.0', '8.1', '8.2'] + php-versions: ['8.1', '8.2', '8.3'] steps: - name: Setup PHP, with composer and extensions diff --git a/composer.json b/composer.json index d8e07fd..b27850d 100644 --- a/composer.json +++ b/composer.json @@ -9,14 +9,14 @@ } ], "require": { - "php": "^8.0", + "php": "^8.1", "ext-dom": "*", - "simplesamlphp/assert": "^1.0.4", - "simplesamlphp/xml-common": "^1.12.0" + "simplesamlphp/assert": "^1.0", + "simplesamlphp/xml-common": "^1.12" }, "require-dev": { - "simplesamlphp/simplesamlphp-test-framework": "^1.5.5" + "simplesamlphp/simplesamlphp-test-framework": "^1.5" }, "autoload": { "psr-4": {