mirror of
https://github.com/pestphp/pest.git
synced 2026-03-06 07:47:22 +01:00
Merge pull request #972 from Carnicero90/bugfix-backtrace-naming-conflicts
[2.x] Fixing Backtrace not found error if project dirname endswith pest
This commit is contained in:
@ -115,7 +115,7 @@ final class Backtrace
|
||||
continue;
|
||||
}
|
||||
|
||||
if (str_contains($trace['file'], 'pest'.DIRECTORY_SEPARATOR.'src')) {
|
||||
if (str_contains($trace['file'], DIRECTORY_SEPARATOR.'pestphp'.DIRECTORY_SEPARATOR.'pest'.DIRECTORY_SEPARATOR.'src')) {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user