Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ jobs:
strategy:
matrix:
php-version:
- '7.2'
- '7.4'
- '8.0'
- '8.1'
- '8.2'
- '8.3'
Expand All @@ -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 }}
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down