Skip to content

Commit

Permalink
support for PHP 8.2
Browse files Browse the repository at this point in the history
  • Loading branch information
dg committed Sep 12, 2022
1 parent 86c4ccb commit 9073c8a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
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

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
}
],
"require": {
"php": ">=7.2 <8.2",
"php": ">=7.2 <8.3",
"nette/utils": "^3.1.2"
},
"require-dev": {
Expand Down
2 changes: 1 addition & 1 deletion tests/PhpGenerator/ClassType.from.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ $res[] = ClassType::from(Abc\Interface4::class);
$res[] = ClassType::from(Abc\Class1::class);
$res[] = ClassType::from(new Abc\Class2);
$obj = new Abc\Class3;
$obj->prop2 = 1;
@$obj->prop2 = 1; // dynamic property
$res[] = (new Factory)->fromClassReflection(new ReflectionObject($obj));
$res[] = ClassType::from(Abc\Class4::class);
$res[] = ClassType::from(Abc\Class5::class);
Expand Down

0 comments on commit 9073c8a

Please sign in to comment.