diff vendor/psy/psysh/src/Command/TraceCommand.php @ 16:c2387f117808

Routine composer update
author Chris Cannam
date Tue, 10 Jul 2018 15:07:59 +0100
parents 5fb285c0d0e3
children 129ea1e6d783
line wrap: on
line diff
--- a/vendor/psy/psysh/src/Command/TraceCommand.php	Thu Apr 26 11:26:54 2018 +0100
+++ b/vendor/psy/psysh/src/Command/TraceCommand.php	Tue Jul 10 15:07:59 2018 +0100
@@ -126,7 +126,7 @@
             $line     = isset($trace[$i]['line']) ? $trace[$i]['line'] : 'n/a';
 
             // Leave execution loop out of the `eval()'d code` lines
-            if (preg_match("#/src/ExecutionClosure.php\(\d+\) : eval\(\)'d code$#", str_replace('\\', '/', $file))) {
+            if (preg_match("#/src/Execution(?:Loop)?Closure.php\(\d+\) : eval\(\)'d code$#", str_replace('\\', '/', $file))) {
                 $file = "eval()'d code";
             }