diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml index f067b81..dadc491 100644 --- a/.github/workflows/php.yml +++ b/.github/workflows/php.yml @@ -18,7 +18,7 @@ jobs: fail-fast: false matrix: operating-system: [ubuntu-latest, windows-latest] - php-versions: ['7.4', '8.0', '8.1', '8.2'] + php-versions: ['8.0', '8.1', '8.2'] steps: - name: Setup PHP, with composer and extensions @@ -68,7 +68,7 @@ jobs: run: bash vendor/bin/check-syntax-php.sh - name: Decide whether to run code coverage or not - if: ${{ matrix.php-versions != '7.4' || matrix.operating-system != 'ubuntu-latest' }} + if: ${{ matrix.php-versions != '8.0' || matrix.operating-system != 'ubuntu-latest' }} run: | echo "NO_COVERAGE=--no-coverage" >> $GITHUB_ENV @@ -78,7 +78,7 @@ jobs: ./vendor/bin/phpunit $NO_COVERAGE - name: Save coverage data - if: ${{ matrix.php-versions == '7.4' && matrix.operating-system == 'ubuntu-latest' }} + if: ${{ matrix.php-versions == '8.0' && matrix.operating-system == 'ubuntu-latest' }} uses: actions/upload-artifact@v3 with: name: build-data @@ -91,7 +91,7 @@ jobs: - name: Setup PHP, with composer and extensions uses: shivammathur/setup-php@v2 #https://github.com/shivammathur/setup-php with: - php-version: '7.4' + php-version: '8.0' extensions: mbstring, xml tools: composer:v2 coverage: none @@ -128,7 +128,7 @@ jobs: - name: Setup PHP, with composer and extensions uses: shivammathur/setup-php@v2 #https://github.com/shivammathur/setup-php with: - php-version: '7.4' + php-version: '8.0' extensions: mbstring, xml tools: composer:v2 coverage: none @@ -164,7 +164,7 @@ jobs: id: setup-php uses: shivammathur/setup-php@v2 #https://github.com/shivammathur/setup-php with: - php-version: '7.4' + php-version: '8.0' tools: composer:v2 extensions: mbstring, xml diff --git a/composer.json b/composer.json index c038551..2ace578 100644 --- a/composer.json +++ b/composer.json @@ -38,7 +38,7 @@ "simplesamlphp/composer-module-installer": "^1.3.2" }, "require-dev": { - "simplesamlphp/simplesamlphp-test-framework": "~1.5.4" + "simplesamlphp/simplesamlphp-test-framework": "~1.3.4 <1.4" }, "support": { "issues": "https://github.com/simplesamlphp/simplesamlphp-module-discopower/issues",