Skip to content

Update/php 8.0 and phpunit 9.5#3

Merged
jclaveau merged 5 commits intomasterfrom
update/php-8.0-and-phpunit-9.5
Mar 4, 2026
Merged

Update/php 8.0 and phpunit 9.5#3
jclaveau merged 5 commits intomasterfrom
update/php-8.0-and-phpunit-9.5

Conversation

@jclaveau
Copy link
Owner

@jclaveau jclaveau commented Mar 4, 2026

No description provided.

jclaveau added 3 commits March 4, 2026 18:07
- Update PHPUnit class names to use namespaced versions (PHPUnit\Framework\TestCase, etc.)
- Add return types to Constraint::evaluate() and toString() methods
- Fix StopwatchListener to use memory_get_usage() directly instead of Stopwatch lap
- Replace deprecated assertRegExp() with assertMatchesRegularExpression()
- Replace assertEquals() with assertEqualsWithDelta() for float/int comparisons
- Update phpunit.xml.dist to PHPUnit 9 schema format
- Rename workflow to tests.yml
@jclaveau jclaveau force-pushed the update/php-8.0-and-phpunit-9.5 branch from 51e83fe to 54de80f Compare March 4, 2026 18:16
@jclaveau jclaveau force-pushed the update/php-8.0-and-phpunit-9.5 branch from 8449dc3 to 6a33e77 Compare March 4, 2026 19:23
@jclaveau jclaveau merged commit 817c9f9 into master Mar 4, 2026
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant