diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml index 02aa7be7a..a3e4f0016 100644 --- a/.github/workflows/php.yml +++ b/.github/workflows/php.yml @@ -15,6 +15,7 @@ jobs: matrix: php-version: - "8.0" + - "8.1" services: mysql: @@ -75,7 +76,7 @@ jobs: strategy: matrix: php-version: - - "8.0" + - "8.1" name: PHP-CS-Fixer runs-on: ubuntu-latest @@ -111,6 +112,7 @@ jobs: matrix: php-version: - "8.0" + - "8.1" services: mysql: diff --git a/phpstan-dba-bootstrap.php b/phpstan-dba-bootstrap.php index 770e49485..dc18d2bc0 100644 --- a/phpstan-dba-bootstrap.php +++ b/phpstan-dba-bootstrap.php @@ -15,7 +15,7 @@ $config = new RuntimeConfiguration(); $config->debugMode(true); -$config->stringifyTypes(true); // TODO remove when upgrading to PHP 8.1 +$config->stringifyTypes(PHP_VERSION_ID <= 80100); // TODO remove when upgrading to PHP 8.1 $dsn = parse_url($_SERVER['DATABASE_URL']);