Skip to content

Commit

Permalink
CI: enable PHP 8.1
Browse files Browse the repository at this point in the history
  • Loading branch information
glaubinix committed Jun 24, 2022
1 parent 94f76a3 commit bd1c2f9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ jobs:
matrix:
php-version:
- "8.0"
- "8.1"

services:
mysql:
Expand Down Expand Up @@ -75,7 +76,7 @@ jobs:
strategy:
matrix:
php-version:
- "8.0"
- "8.1"

name: PHP-CS-Fixer
runs-on: ubuntu-latest
Expand Down Expand Up @@ -111,6 +112,7 @@ jobs:
matrix:
php-version:
- "8.0"
- "8.1"

services:
mysql:
Expand Down
2 changes: 1 addition & 1 deletion phpstan-dba-bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 <= 80000); // TODO remove when upgrading to PHP 8.1

$dsn = parse_url($_SERVER['DATABASE_URL']);

Expand Down

0 comments on commit bd1c2f9

Please sign in to comment.