Skip to content

Commit 3191cbb

Browse files
committed
Remove check for IDisposable, this was added to core all the way back in 9.4.0
1 parent a1677a7 commit 3191cbb

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/main/php/module.xp

-4
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,5 @@ module xp-framework/compiler {
88
/** @return void */
99
public function initialize() {
1010
ClassLoader::registerLoader(CompilingClassloader::instanceFor('php:'.PHP_MAJOR_VERSION.'.'.PHP_MINOR_VERSION.'.'.PHP_RELEASE_VERSION));
11-
12-
if (!interface_exists(\IDisposable::class, false)) {
13-
eval('interface IDisposable { public function __dispose(); }');
14-
}
1511
}
1612
}

0 commit comments

Comments
 (0)