Add PHP-ALIAS-01 rule: prohibit field aliasing in serialization 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
8 lines
174 B
JavaScript
8 lines
174 B
JavaScript
if (typeof EventTarget !== "function") {
|
|
throw new Error(
|
|
"Environment doesn't support lazy compilation (requires EventTarget)"
|
|
);
|
|
}
|
|
|
|
module.exports = new EventTarget();
|