From ca297a751f18e0012c55b4366f8213fbf4f3848e Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Thu, 7 Mar 2024 22:08:58 +0100 Subject: [PATCH] Clean internal pahn warnings --- dev/tools/apstats.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dev/tools/apstats.php b/dev/tools/apstats.php index 164713fa3bf..400cefa5558 100755 --- a/dev/tools/apstats.php +++ b/dev/tools/apstats.php @@ -685,6 +685,9 @@ if (count($output_phan_json) != 0) { foreach ($phan_notices as $notice) { if (!empty($notice['location'])) { $path = $notice['location']['path']; + if ($path == 'internal') { + continue; + } $line_start = $notice['location']['lines']['begin']; $line_end = $notice['location']['lines']['end']; if ($line_start == $line_end) {