Skip to content

Commit aac99af

Browse files
committed
Merge branch 'add-getcwd' of github.com:kasperg/safe into getcwd
2 parents 580dbf3 + fa9d680 commit aac99af

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

generator/src/DocPage.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@ public function detectFalsyFunction(): bool
3131
if (preg_match('/&false;\s+on\s+error/m', $file)) {
3232
return true;
3333
}
34+
if (preg_match('/&false;\s+on\s+failure/m', $file)) {
35+
return true;
36+
}
3437
if (preg_match('/&false;\s+if\s+an\s+error\s+occurred/m', $file)) {
3538
return true;
3639
}

0 commit comments

Comments
 (0)