diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml index c9a5ea0..ef2d403 100644 --- a/.github/workflows/php.yml +++ b/.github/workflows/php.yml @@ -12,11 +12,6 @@ jobs: strategy: fail-fast: false matrix: - php: - - '7.4' - - '8.0' - - '8.1' - - '8.2' - '8.3' - '8.4' - '8.5' @@ -47,18 +42,18 @@ jobs: run: composer test - name: Setup PHP for coverage - if: matrix.php == '7.4' + if: matrix.php == '8.3' uses: shivammathur/setup-php@v2 with: php-version: ${{ matrix.php }} coverage: xdebug - name: Generate coverage - if: matrix.php == '7.4' + if: matrix.php == '8.3' run: vendor/bin/phpunit --coverage-clover coverage.clover - name: Upload Scrutinizer coverage - if: matrix.php == '7.4' + if: matrix.php == '8.3' uses: sudo-bot/action-scrutinizer@latest with: cli-args: "--format=php-clover coverage.clover" diff --git a/composer.json b/composer.json index dca78bb..c3fcdd5 100644 --- a/composer.json +++ b/composer.json @@ -23,13 +23,13 @@ "irc": "irc://irc.freenode.net/wikidata" }, "require": { - "php": ">=7.4", + "php": ">=8.3", "data-values/data-values": "~3.0|~2.0|~1.0|~0.1", "serialization/serialization": "~4.0|~3.0" }, "require-dev": { - "mediawiki/mediawiki-codesniffer": "45.0.0", - "phpunit/phpunit": "~8.5" + "mediawiki/mediawiki-codesniffer": "^52", + "phpunit/phpunit": "~9.6" }, "autoload": { "psr-4": { diff --git a/phpunit.xml.dist b/phpunit.xml.dist index 2eaf91d..48834be 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -1,24 +1,13 @@ - - - - tests - - - - - src - - + + + + + src + + + + + tests + +