Skip to content

Commit

Permalink
Test against 8.4 (#419)
Browse files Browse the repository at this point in the history
  • Loading branch information
srtfisher authored Jan 28, 2025
1 parent c77b0b5 commit 72964fc
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/all-pr-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
# Define a matrix of PHP/WordPress versions to test against
strategy:
matrix:
php: [8.2, 8.3]
php: [8.2, 8.3, 8.4]
wordpress: ["latest"]
runs-on: ubuntu-latest
# Cancel any existing runs of this workflow
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@
}
],
"require": {
"php": "^8.1",
"php": "^8.2",
"alleyinteractive/composer-wordpress-autoloader": "^1.0",
"alleyinteractive/wp-type-extensions": "^2.1"
},
"require-dev": {
"alleyinteractive/alley-coding-standards": "^2.0",
"mantle-framework/testkit": "^1.0",
"mantle-framework/testkit": "^1.4",
"szepeviktor/phpstan-wordpress": "^2.0"
},
"config": {
Expand Down
2 changes: 1 addition & 1 deletion configure.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ function confirm( string $question, bool $default = false ): bool {
return in_array( strtolower( trim( $answer ) ), [ 'y', 'yes', 'true', '1' ], true );
}

function run( string $command, string $dir = null ): string {
function run( string $command, ?string $dir = null ): string {
$command = $dir ? "cd {$dir} && {$command}" : $command;

return trim( (string) shell_exec( $command ) );
Expand Down

0 comments on commit 72964fc

Please sign in to comment.