Skip to content

Commit 9e72025

Browse files
authored
Merge pull request clue#44 from clue-labs/php8.2
Improve PHP 8.2+ compatibility by avoiding leftover dynamic properties
2 parents 4d3ca78 + 99028d8 commit 9e72025

4 files changed

Lines changed: 7 additions & 2 deletions

File tree

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
],
1313
"require": {
1414
"php": ">=5.3",
15-
"clue/socks-react": "^1.4",
15+
"clue/socks-react": "^1.5",
1616
"react/child-process": "^0.6",
1717
"react/event-loop": "^1.2",
1818
"react/promise": "^3 || ^2.1 || ^1.2.1",

phpunit.xml.dist

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,7 @@
1717
<directory>./src/</directory>
1818
</include>
1919
</coverage>
20+
<php>
21+
<ini name="error_reporting" value="-1" />
22+
</php>
2023
</phpunit>

phpunit.xml.legacy

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,7 @@
1515
<directory>./src/</directory>
1616
</whitelist>
1717
</filter>
18+
<php>
19+
<ini name="error_reporting" value="-1" />
20+
</php>
1821
</phpunit>

src/Io/CompositeConnection.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,6 @@ public function close()
7373
return;
7474
}
7575

76-
$this->remote = null;
7776
$this->closed = true;
7877
$this->read->close();
7978
$this->write->close();

0 commit comments

Comments
 (0)