Skip to content

Commit

Permalink
Require PHP 8 and bump dependencies (#30)
Browse files Browse the repository at this point in the history
* update php compatibility version

* Require PHP 8 and bump dependencies
  • Loading branch information
SteelWagstaff authored Nov 18, 2022
1 parent 8b7d77d commit 6b31340
Show file tree
Hide file tree
Showing 6 changed files with 257 additions and 431 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: CI workflow
name: Run standards & tests
on:
push:
branches: [ dev, master ]
Expand All @@ -13,14 +13,14 @@ jobs:
strategy:
fail-fast: false
matrix:
php: [ 7.4, 8.0 ]
php: [ 8.0, 8.1 ]
os: [ ubuntu-20.04 ]
wordpress: [ 6.0.3, latest ]
wordpress: [ 6.1.1, latest ]
include:
- experimental: true
- experimental: false
php: 8.0
wordpress: 6.0.3
wordpress: 6.1.1

name: Test - PHP ${{ matrix.php }} - WP ${{ matrix.wordpress }}

Expand Down
11 changes: 8 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,16 @@ To cache stats for a network, run (with [wp-cli](https://wp-cli.org)): `wp eval-

## Changelog

### 1.7.0
### 1.8.0

* See: https://github.com/pressbooks/pressbooks-stats/releases/tag/1.7.0
* See: https://github.com/pressbooks/pressbooks-stats/releases/tag/1.8.0
* Full release history available at: https://github.com/pressbooks/pressbooks-stats/releases

## Upgrade Notice
## Upgrade Notices
### 1.8.0
* Pressbooks Stats requires PHP >= 8.0
* Pressbooks Stats requires WordPress >= 6.1.1.
* Pressbooks Stats requires Pressbooks >= 6.4.0

### 1.6.5
* Pressbooks Stats requires Pressbooks >= 5.34.1
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
}
},
"require": {
"php": "^7.4|8.0.*",
"php": "^8.0",
"composer/installers": "^2",
"phpcompatibility/php-compatibility": "^9.3"
},
Expand Down
Loading

0 comments on commit 6b31340

Please sign in to comment.