Open idistack opened 1 month ago
Accidently i received this error:
i tried to access $this in beforeAll(), not object context, in Pest.php
No response
2.35.0
8.3.8
Linux
In Pest, beforeAll() is called before the test class is instantiated. Usage of $this can't be used there. This error may also happen if the test function is defined as static, which also isn't supported.
beforeAll()
$this
static
What Happened
Accidently i received this error:
How to Reproduce
i tried to access $this in beforeAll(), not object context, in Pest.php
Sample Repository
No response
Pest Version
2.35.0
PHP Version
8.3.8
Operation System
Linux
Notes
No response