Skip to content

Commit

Permalink
chore: Compatibility with PHP 8.2
Browse files Browse the repository at this point in the history
  • Loading branch information
vincent4vx committed Jan 5, 2023
1 parent 051b889 commit fe928c9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/php.yml
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
php-versions: ['7.4', '8.0', '8.1']
php-versions: ['7.4', '8.0', '8.1', '8.2']
name: PHP ${{ matrix.php-versions }}

steps:
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Expand Up @@ -10,7 +10,7 @@
},
"minimum-stability": "dev",
"require": {
"php": "~7.4 | ~8.0.0 | ~8.1.0",
"php": "~7.4 | ~8.0.0 | ~8.1.0 | ~8.2.0",
"ext-mongodb": "*",
"b2pweb/bdf-serializer": "~1.2",
"b2pweb/bdf-prime": "~2.0",
Expand Down
1 change: 1 addition & 0 deletions tests/MongoDB/Driver/ResultSet/CursorResultSetTest.php
Expand Up @@ -261,6 +261,7 @@ public function __construct(array $data = [])
$this->import($data);
}

#[\ReturnTypeWillChange]
public function bsonUnserialize(array $data)
{
$this->_id = $data['_id'];
Expand Down

0 comments on commit fe928c9

Please sign in to comment.