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:
Nuno Maduro
2024-01-25 14:54:58 +00:00
committed by GitHub

View File

@ -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;
}