Closed eleftrik closed 8 months ago
I can confirm that if I downgrade Pest to version 2.32.0
, this error disappears.
The error also disappears if I remove nunomaduro/mock-final-classes
and I remove final
from tested classes.
Fixed on Pest v2.33.2
.
Thank you very much, @nunomaduro!
What Happened
Laravel Zero, I got this error when running my test suite (or even some single test file):
I'm requiring
nunomaduro/mock-final-classes
which, as I can see, it requiresdg/bypass-finals
(where the error is happening):Any hints?
Thank you so much.
How to Reproduce
Run two or more tests (running a single test doesn't seem to produce this error)
Sample Repository
No response
Pest Version
2.33.0
PHP Version
8.2.15
Operation System
macOS
Notes
No response