diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index b428c78..7706cdd 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -7,7 +7,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - php: ['7.4', '8.0'] + php: ['8.0'] laravel: [7.*, 8.*] dependency-version: [prefer-stable] include: diff --git a/composer.json b/composer.json index 337910d..71834dd 100644 --- a/composer.json +++ b/composer.json @@ -20,9 +20,9 @@ } ], "require": { - "php": "^7.4 || ^8.0", + "php": "^8.0", "ext-json": "*", - "statamic/cms": "^3.0.48" + "statamic/cms": "^3.1" }, "require-dev": { "orchestra/testbench": "^6.15.0", @@ -54,6 +54,9 @@ } }, "scripts": { + "pre-update-cmd": [ + "Statamic\\Console\\Composer\\Scripts::preUpdateCmd" + ], "test": "./vendor/bin/phpunit --debug --testdox", "test-clover-coverage": "./vendor/bin/phpunit --coverage-clover clover.xml", "test-coverage": "./vendor/bin/phpunit --coverage-html coverage" diff --git a/phpunit.xml.dist b/phpunit.xml.dist index 2cf64fb..5ff395e 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -1,32 +1,35 @@ - - - - tests - - - - - src/ - - - - - - - - - - - + stopOnFailure="true" +> + + + src/ + + + + + tests + + + + + + + + + + +