Skip to content

Commit

Permalink
Fix PHP 8.2 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
thekid committed Jan 24, 2022
1 parent cf326d9 commit c873470
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ XML streams to objects

## 5.1.1 / 2022-01-24

* Fixed PHP 8.2 compatiblity - @thekid
* Made compatible with XP reflection 2.0.0 - @thekid

## 5.1.0 / 2021-11-21
Expand Down
1 change: 1 addition & 0 deletions src/test/php/util/address/unittest/ObjectOfTest.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ public function can_use_public_methods_from_this() {
#[Test]
public function does_not_invoke_constructor() {
$class= ClassLoader::defineClass('BookWithThrowingConstructor', Book::class, [], [
'name' => '',
'__construct' => function() {
throw new IllegalStateException('Constructor');
}
Expand Down

0 comments on commit c873470

Please sign in to comment.