Skip to content

Commit f5bb1f9

Browse files
committed
support for PHP 8.5
1 parent 2bcad19 commit f5bb1f9

5 files changed

Lines changed: 3 additions & 5 deletions

File tree

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
runs-on: ubuntu-22.04
1212
strategy:
1313
matrix:
14-
php: ['8.1', '8.2', '8.3', '8.4']
14+
php: ['8.1', '8.2', '8.3', '8.4', '8.5']
1515

1616
fail-fast: false
1717

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
}
1616
],
1717
"require": {
18-
"php": "8.1 - 8.4",
18+
"php": "8.1 - 8.5",
1919
"ext-pdo": "*",
2020
"nette/caching": "^3.2",
2121
"nette/utils": "^4.0"

readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ The recommended way to install is via Composer:
4040
composer require nette/database
4141
```
4242

43-
It requires PHP version 8.1 and supports PHP up to 8.4.
43+
It requires PHP version 8.1 and supports PHP up to 8.5.
4444

4545

4646
Usage

tests/Database/Explorer/Explorer.cache.phpt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,6 @@ test('shared accessed columns in related instances', function () use ($explorer)
120120

121121
foreach ($relatedStack as $related) {
122122
$property = (new ReflectionClass($related))->getProperty('accessedColumns');
123-
$property->setAccessible(true);
124123
// checks if instances have shared data of accessed columns
125124
Assert::same(['id', 'author_id'], array_keys((array) $property->getValue($related)));
126125
}

tests/Database/Explorer/SqlBuilder.tryDelimite().phpt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ $explorer = connectToDB();
1515

1616
$sqlBuilder = new Nette\Database\Table\SqlBuilder('book', $explorer);
1717
$tryDelimite = (new ReflectionClass($sqlBuilder))->getMethod('tryDelimite');
18-
$tryDelimite->setAccessible(true);
1918

2019
Assert::same(reformat('[hello]'), $tryDelimite->invoke($sqlBuilder, 'hello'));
2120
Assert::same(reformat(' [hello] '), $tryDelimite->invoke($sqlBuilder, ' hello '));

0 commit comments

Comments
 (0)