Migrate laminas/laminas-diagnostics to TypeScript

B Production-ready · version 1.30.2

laminas/laminas-diagnostics 1.30.2 is a PHP package released under the BSD-3-Clause license and requires PHP ~8.2.0 || ~8.3.0 || ~8.4.0 || ~8.5.0. Pext migrates it to TypeScript; on Node.js, 809 of 854 PHPUnit tests pass (94.7%), with 18 failures, 27 errors and 19 skipped. It has no tracked dependencies, and no tracked package depends on it.

A set of components for performing diagnostic tests in PHP applications

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

PHPUnit results on Node.js

94.7% of 854 tests passing (809 passed, 18 failed, 27 errors, 19 skipped). Verified 2026-10-21.

Where tests fail

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

Test classFailing tests
RunnerTest14
DiskFreeTest12
BasicConsoleReporterTest8
ChecksTest4
GuzzleHttpServiceTest4

The remaining 3 failing tests are spread across other classes.

What “Production-ready” means

Passes at least 80% of its original tests and behaves like the PHP original on the paths that matter. Remaining gaps are tracked.

Requirements

PHP
~8.2.0 || ~8.3.0 || ~8.4.0 || ~8.5.0
Extensions
None declared

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

Dependencies

No tracked dependencies.

Used by

No tracked package depends on laminas/laminas-diagnostics.

More from laminas

Upstream

Version
1.30.2
License
BSD-3-Clause
Repository
https://github.com/laminas/laminas-diagnostics
Homepage
https://laminas.dev
Keywords
laminas, php, diagnostics, test

Migrating a codebase that uses laminas/laminas-diagnostics?

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