Skip to content

Commit

Permalink
Merge pull request #6 from alleyinteractive/feature/php-8-2
Browse files Browse the repository at this point in the history
Add Support for PHP 8.2
  • Loading branch information
kevinfodness authored Oct 18, 2023
2 parents dcaccd5 + 6a27bc8 commit ec88bbb
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 13 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/coding-standards.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
name: Coding Standards

on:
push:
branches:
- main
pull_request:
branches:
- develop
types: [opened, synchronize, reopened, ready_for_review]
schedule:
- cron: '0 0 * * *'
- cron: '0 6 * * 0' # Run once per week at 6am UTC on Sundays.

jobs:
coding-standards:
if: github.event.pull_request.draft == false
uses: alleyinteractive/.github/.github/workflows/php-coding-standards.yml@main
18 changes: 13 additions & 5 deletions .github/workflows/unit-test.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,21 @@
name: Testing Suite

on:
push:
branches:
- main
pull_request:
branches:
- develop
types: [opened, synchronize, reopened, ready_for_review]
schedule:
- cron: '0 0 * * *'
- cron: '0 6 * * 0' # Run once per week at 6am UTC on Sundays.

jobs:
unit-tests:
php-tests:
if: github.event.pull_request.draft == false
strategy:
matrix:
php: [8.0, 8.1, 8.2]
wordpress: ["latest"]
uses: alleyinteractive/.github/.github/workflows/php-tests.yml@main
with:
php: ${{ matrix.php }}
wordpress: ${{ matrix.wordpress }}
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@
}
],
"require": {
"php": "^8.0",
"php": "^8.0|^8.1|^8.2",
"alleyinteractive/composer-wordpress-autoloader": "^1.0"
},
"require-dev": {
"alleyinteractive/alley-coding-standards": "^1.0",
"mantle-framework/testkit": "^0.9",
"nunomaduro/collision": "^5.0"
"alleyinteractive/alley-coding-standards": "^2.0",
"mantle-framework/testkit": "^0.12",
"nunomaduro/collision": "^6.0"
},
"config": {
"allow-plugins": {
Expand Down

0 comments on commit ec88bbb

Please sign in to comment.