Skip to content

Commit 72964fc

Browse files
authored
Test against 8.4 (#419)
1 parent c77b0b5 commit 72964fc

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.github/workflows/all-pr-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
# Define a matrix of PHP/WordPress versions to test against
1818
strategy:
1919
matrix:
20-
php: [8.2, 8.3]
20+
php: [8.2, 8.3, 8.4]
2121
wordpress: ["latest"]
2222
runs-on: ubuntu-latest
2323
# Cancel any existing runs of this workflow

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@
1515
}
1616
],
1717
"require": {
18-
"php": "^8.1",
18+
"php": "^8.2",
1919
"alleyinteractive/composer-wordpress-autoloader": "^1.0",
2020
"alleyinteractive/wp-type-extensions": "^2.1"
2121
},
2222
"require-dev": {
2323
"alleyinteractive/alley-coding-standards": "^2.0",
24-
"mantle-framework/testkit": "^1.0",
24+
"mantle-framework/testkit": "^1.4",
2525
"szepeviktor/phpstan-wordpress": "^2.0"
2626
},
2727
"config": {

configure.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ function confirm( string $question, bool $default = false ): bool {
8787
return in_array( strtolower( trim( $answer ) ), [ 'y', 'yes', 'true', '1' ], true );
8888
}
8989

90-
function run( string $command, string $dir = null ): string {
90+
function run( string $command, ?string $dir = null ): string {
9191
$command = $dir ? "cd {$dir} && {$command}" : $command;
9292

9393
return trim( (string) shell_exec( $command ) );

0 commit comments

Comments
 (0)