Skip to content

Commit

Permalink
Run tests against PHP 8.2
Browse files Browse the repository at this point in the history
  • Loading branch information
harai committed May 1, 2024
1 parent 996c98a commit 155ec29
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build/envs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ USER_ID="$(id -u)"
GROUP_ID="$(id -g)"
export USER_ID
export GROUP_ID
export PHP_VERSION="${PHP_VERSION:-8.0}"
export PHP_VERSION="${PHP_VERSION:-8.2}"
export WP_VERSION="${WP_VERSION:-6.2.5}"
export WP_MULTISITE="${WP_MULTISITE:-0}"
export CAVALCADE_VERSION="${CAVALCADE_VERSION:-18}"
2 changes: 1 addition & 1 deletion inc/class-pdotester.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ class PDOTester extends PDO
private static $next_error = null;
private static $repeating_error = null;

public function prepare($query, $options = [])
public function prepare(string $query, array $options = []): \PDOStatement | false
{
if (self::$next_error !== null) {
$msg = self::$next_error;
Expand Down

0 comments on commit 155ec29

Please sign in to comment.