diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 17176ef..d8bc5e2 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -14,6 +14,9 @@ jobs: strategy: matrix: php-version: + - '7.2' + - '7.4' + - '8.0' - '8.1' - '8.2' - '8.3' @@ -30,13 +33,10 @@ jobs: - name: Install dependencies run: composer install --prefer-dist --no-progress - - name: Install specific PHPUnit version - run: composer require "phpunit/phpunit:^9.6" --dev - - name: Run tests run: composer test - name: Upload coverage reports to Codecov uses: codecov/codecov-action@v3 env: - CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} \ No newline at end of file + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} diff --git a/README.md b/README.md index c7b8211..3689763 100644 --- a/README.md +++ b/README.md @@ -19,12 +19,10 @@ To set up a custom WordPress build package to use this as a custom installer, ad ```json "type": "wordpress-core", "require": { - "roots/wordpress-core-installer": "^2.0" + "roots/wordpress-core-installer": "^3.0" } ``` -If you need to maintain support for PHP versions lower than 8.1 (not recommended!), use `^1.0` as your version constraint in the above. - By default, this package will install a `wordpress-core` type package in the `wordpress` directory. To change this you can add the following to either your custom WordPress core type package or the root composer package: ```json diff --git a/composer.json b/composer.json index 11d3619..538e812 100644 --- a/composer.json +++ b/composer.json @@ -33,17 +33,17 @@ }, "require": { "composer-plugin-api": "^1.0 || ^2.0", - "php": ">=8.1" + "php": ">=7.2.24" }, "require-dev": { "composer/composer": "^1.0 || ^2.0", - "phpunit/phpunit": "^9.6" + "phpunit/phpunit": "^8.5" }, "conflict": { "composer/installers": "<1.0.6" }, "replace": { - "johnpbloch/wordpress-core-installer":"*" + "johnpbloch/wordpress-core-installer": "*" }, "scripts": { "test:phpunit": "phpunit",