Migrate staabm/side-effects-detector to TypeScript

D Converted · version 1.0.5

staabm/side-effects-detector 1.0.5 is a PHP package released under the MIT license and requires PHP ^7.4 || ^8.0. Pext migrates it to TypeScript; on Node.js, 22 of 57 PHPUnit tests pass (38.5%), with 35 failures and no errors. It has no tracked dependencies, and 1 tracked package depends on it.

A static analysis tool to detect side effects in PHP code

ConvertsYes
Runs on Node.jsYes
Runs on BunNot yet measured
TypeScript typesNot emitted

PHPUnit results on Node.js

38.5% of 57 tests passing (22 passed, 35 failed, 0 errors, 0 skipped). Verified 2026-10-26.

Where tests fail

The test class with the most failing tests on Node.js:

Test classFailing tests
SideEffectsDetectorTest35

What “Converted” means

Converts cleanly to TypeScript. Test verification is pending or still climbing.

Requirements

PHP
^7.4 || ^8.0
Extensions
tokenizer

As declared in the package's Composer metadata. Pext provides PHP extensions through its runtime modules.

Dependencies

No tracked dependencies.

Used by

Upstream

Version
1.0.5
License
MIT
Keywords
static analysis

Migrating a codebase that uses staabm/side-effects-detector?

See how Pext migrates a real PHP application, its Composer dependencies and its test suite to TypeScript.