nunomaduro / collision

💥 Collision is a beautiful error reporting tool for command-line applications
https://nunomaduro.com
MIT License
4.51k stars 159 forks source link

PhpUnit 10.3 introduced some breaking changes #281

Closed alexey-m-ukolov closed 1 year ago

alexey-m-ukolov commented 1 year ago

Sebastian Bergmann implemented some breaking changes in the PHPUnit\TestRunner\TestResult\TestResult (which marked as internal). Notably, some public methods that Collision relied on where removed (TestResult::numberOfTests() for example). See https://github.com/sebastianbergmann/phpunit/issues/5460 for additional context.

regnerisch commented 1 year ago

Confirmed, I'm getting Call to undefined method PHPUnit\TestRunner\TestResult\TestResult::numberOfTests() on php artisan test tests/Feature/UserTest.php

nunomaduro commented 1 year ago

Fixed v7.8.0.