1
0
mirror of https://github.com/dg/dibi.git synced 2025-08-08 07:06:52 +02:00

support for PHP 8.2

This commit is contained in:
David Grudl
2022-09-06 04:18:39 +02:00
parent 9d5d430d3d
commit b61737311e
4 changed files with 4 additions and 2 deletions

View File

@@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
strategy: strategy:
matrix: matrix:
php: ['7.2', '7.3', '7.4', '8.0', '8.1'] php: ['7.2', '7.3', '7.4', '8.0', '8.1', '8.2']
fail-fast: false fail-fast: false

View File

@@ -34,7 +34,7 @@ Install Dibi via Composer:
composer require dibi/dibi composer require dibi/dibi
``` ```
The Dibi 4.2 requires PHP version 7.2 and supports PHP up to 8.1. The Dibi 4.2 requires PHP version 7.2 and supports PHP up to 8.2.
Usage Usage

View File

@@ -14,6 +14,7 @@ namespace Dibi;
* Lazy cached storage. * Lazy cached storage.
* @internal * @internal
*/ */
#[\AllowDynamicProperties]
abstract class HashMapBase abstract class HashMapBase
{ {
/** @var callable */ /** @var callable */

View File

@@ -13,6 +13,7 @@ namespace Dibi;
/** /**
* Result set single row. * Result set single row.
*/ */
#[\AllowDynamicProperties]
class Row implements \ArrayAccess, \IteratorAggregate, \Countable class Row implements \ArrayAccess, \IteratorAggregate, \Countable
{ {
public function __construct(array $arr) public function __construct(array $arr)