Author Commit message Committed SHA  
by milo code coverage: fix compatibility with PHP 8.3 [Closes #446]

PHP 8.3 introduced new HTML output of highlight_string(). The main change is that output is wrapped by <pre>, so new lines are preserved (not converted to <br />) and spaces remains spaces (not converted to &nbsp;)

by dg test(): checks count of arguments
by dg Released version 2.5.2
by smuuf Implemented `console-lines` mode which prints each test on separate line. (#443)

This is handy for environments with non-standard (buffered) handling of
standard output, for example Github Actions (where a progress of tests
cannot be seen until until end-of-line appears, which in standard `console`
mode happens only when all tests finish) or Docker Compose logging output,
where in standard `console` mode each finished test's dot is printed
alone on separate line.

Or the console-lines mode can be handy just to see a more detailed
progress of tests in all environments, because it outputs something
like this:

· 1/85 Framework/Assert.contains.phpt OK in 0.14 s
· 2/85 CodeCoverage/PhpParser.parse.edge.phpt OK in 0.17 s
· 3/85 CodeCoverage/PhpParser.parse.lines-of-code.phpt SKIPPED in 0.18 s
· 4/85 CodeCoverage/PhpParser.parse.lines.phpt FAILED in 0.19 s

Also, "cider mode" now shows a lemon emoji for skipped tests.

Co-authored-by: David Grudl <>

by dg DomQuery: searches starting from current node
by dg Environment::setupFunctions() creates global functions testException()
by dg phpstan: raw format
by dg coding style
by dg uses PhpToken
by dg Released version 2.5.1
by dg support for PHP 8.3
by grogy fixed accessed property before initialization (#441) (#442)
by dg used get_debug_type()
by dg Released version 2.5.0
by dg Assert::equal() added flags $matchOrder & $matchIdentity
by dg TestCase: lists the running methods
by dg Environment::setupFunctions() creates global functions test(), setUp() & tearDown()
by dg added Environment::print(), in CLI outputs to STDOUT to bypass output buffering
by dg tests: test() with description
by dg bootstrap: removed date_default_timezone_set()
by dg Dumper & Assert: dumps true/false/null in lowercase
by dg constants are PascalCase (BC break)
by dg Runner::run() added parameter $async
by MartinMystikJonas Capture stderr of test via temp file and output it in test results [Closes #420] (#438)
by milo Temporary directory preparation moved to Helpers
by dg Assert: added PHP 8 typehints
by dg added PHP 8 typehints
by dg added property typehints
by dg used PHP 8 features
by dg updated .gitattributes
by dg updated github workflow
by dg coding style

Last synchronization: 2024-04-23 22:01:26